-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy & Paste Activity Directives #1565
Copy & Paste Activity Directives #1565
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great, so nice to be able to copy paste! Left a bunch of comments but nothing huge.
@ivydeliz gave a walkthrough this morning and it's looking good! A few issues/changes we discussed (some of these are duplicates of comments above):
We also had a question about how to handle the case where some of the pasted activities fall outside of the plan bounds entirely. We currently allow this to happen - which is probably correct - but would be good to get input from @mattdailis or @Mythicaeda . We also noted a UI inconsistency - it seems that activity directives which fall before the plan bounds are shown with a "outside plan bounds" icon/warning in the directives table, but directives which are after the plan bounds don't show this - not clear if this is intentional or something we should fix in a follow-up |
I can shed some light on this, @dandelany. This inconsistency is because while we know for a fact whether or not an activity falls before the plan start time, we may not know if an activity falls after the plan end time due to anchors. Quick Case breakdown:
In Case 1, we know statically that Activity A is outside the plan bounds. In Case 2, we don't know until the user simulates if Activity B will be within the plan bounds. We felt it would be more confusing (and possibly misleading) to the user to mark Case 1 and not Case 2 than it would be to not mark either case. Changing this would require a DB change, as that's what runs the validation logic for activity start times. |
My take is:
I feel the strongest about the first bullet. |
b7cc98a
to
c045689
Compare
c045689
to
d46bd1c
Compare
d46bd1c
to
fece7d7
Compare
fece7d7
to
2b27699
Compare
2b27699
to
943f915
Compare
I removed the keyboard shortcuts for Copy & Paste because I tried a few times, there were still open question and we didn't like the options, I'll try on a separate branch off of this one to see if i can make it work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small comment but otherwise LGTM!
943f915
to
53f70c2
Compare
79f06e2
to
00193a6
Compare
Feature #1544
I removed the keyboard shortcuts for Copy & Paste because I tried a few times, there were still open question and we didn't like the options, I'll try on a separate branch off of this one to see if i can make it work.