-
Notifications
You must be signed in to change notification settings - Fork 272
temp-schedules: shift list transitions #982
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
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.
I'm seeing some odd behavior with the section headers in the shifts list when there are multiple days displayed.
Steps to reproduce:
- create a new temp schedule for this week
- add 4 users; 2 today, 2 tomorrow
- delete one user from today and notice that the section header for tomorrow is duplicated for a brief moment
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.
Have you played around with reversing the transition effect (sliding in from the right)? If so how did that experience feel?
Yea originally they slid in from the right, but since the fields that populate it are on the left it feels a bit better sliding from the left. |
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.
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.
I think we should be explicit about data-cy
being an allowed prop. Otherwise the implicit type of ...rest
is {}
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.
looks great!
make check
to catch common errors. Fixed any that came up.Description:
Added in/out transitions to the shift list for temp schedules.