Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tasks completed
Cancel and Finish Day combined into a single Save and Exit button
Matched catalog delete event modal to design
Fixed logo not showing up properly
We found out it wasn't showing up because images used for deployed version needed to be in the public folder. To test this, we edited HTML in deployed version to use the vite image currently in public and that image works.
Additional bug fixes
Bugs found
Flow logic of creating a new day is flawed where you're able to create a day with no events. On the modal that shows up in published schedule when you press the plus button, pressing Add to Schedule will create that day in the database and then take you to the planner modal. However, if you close the modal by closing the tab, it will allow that day to have no events. And then you can't edit/delete that day because days with no events do not show up on the published schedule page.
Upon pressing plus button and adding a day, the planner modal will display the day before, but the edit day details will show the right day.
Planner modal does not implement logic of preventing overlapping events or match design of showing the warning toast.
Upon creating a new day that also creates another season, it does not rerender the published schedule page. The new season does not show up in the dropdown unless you refresh the page.
When adding event to day planner and immediately go to remove it, it behaves weirdly until you go and add another event.
Closes #73