-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make add and edit year a modal #419
Conversation
Updating name, year, and quarters works; but quarter state is not loaded properly yet
Matches the Figma design
Fixes #252 |
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.
Noted a few things. will take a closer look this weekend
Update branch
Merge 'master' into 'year-modal'
Alright, addressed the remaining comments. Let me know if there's anything else you'd like me to change. |
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.
LGTM! I left a small suggestion on refactoring/renaming variables in the quarterValues function. I will go ahead and give you the approval and leave that up to you if you want to implement (I think the suggested variable names make it a little clearer).
edit: breaking issue with usage of 'summer 1'/'summer 2' instead of 'summer I'/'summer II'
Co-authored-by: Jacob Sommer <[email protected]>
Deployed staging instance to https://staging-419.peterportal.org |
Testing locally, this still seems to work with editing quarters. @js0mmer I think it'd be good if you verify on staging real quick then if it does go ahead and merge it for me. |
LGTM! |
Description
When you click the "add year" or "edit year" buttons, there will now be a modal window to add/edit details instead of a floating popover. it also combines "add quarter" and "edit year" functionalities into the same menu and allows you to add or remove several years at once a bit faster.
Because this makes changes to the edit year menu, I have also made that use an OverlayTrigger like the add year was previously.
Screenshots
BEFORE:
AFTER:
Steps to verify/test this change:
Final Checks:
Issues
Closes #398