-
Notifications
You must be signed in to change notification settings - Fork 881
fix: redesign schedule bumper to handle multiple hours of change at once #4535
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
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
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.
This is dope! I tried it out and it works great and the code looks good too.
I tried out the keyboard and noticed we could add highlight styles when tabbing through the -/+ and possibly auto-focus the hours input but def not big deals.
I'm gonna merge because I'm working on something higher priority now, but I like those ideas! |
Fixes #3566
Previously, if you clicked the + or - icon on the workspace page multiple times in a row, it would only change the stop time by one hour. Now, clicking + enters addition mode and clicking - enters subtraction mode. Either mode displays an hours input with stepper controls and a Set button. You can type the number of hours you want to add/subtract, or click the stepper or arrow up/down. Then click Set. One hour is the default. Setting a change of 0 hours sends no event, it's like canceling. This way, users can adjust their auto-stop time without opening the Schedule Page and relative to their planned auto-stop time rather than (as on the Schedule Page) relative to their start time.
Kapture.2022-10-12.at.10.18.46.mp4
Mobile layout:
