VRMS
VRMS copied to clipboard
Create loading state for save buttons on forms related to projects
Dependency
This issue should be delayed until https://github.com/hackforla/VRMS/issues/1576 is solved due to potential merge conflicts
Overview
Set save button to spinning loading icon while waiting for database to reply
Action Items
- [x] Edit
ProjectForm
component save button to be disabled and show a loading icon to the user.- [x] Model this state off of the
ReadyEvents
file - [x] Update
submitNewProject
andsubmitEditProject
to initialized loading state when called and end loading state when returned or caught error.
- [x] Model this state off of the
- [ ] QA
- [ ] When complete, go to #1598 and mark the checkbox referencing this issue as complete.
This issue should be delayed until #1576 is solved due to potential merge conflicts
- Progress: It's in progress
- Blockers: I'm having trouble figuring out the logic to communicate to the backend
- Availability: I'll have 3 hours to work on this
- ETA: Hopefully soon
Unassigning for now, moving back to prioritized backlog.