VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

Create loading state for save buttons on forms related to projects

Open trillium opened this issue 1 year ago • 4 comments

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 and submitEditProject to initialized loading state when called and end loading state when returned or caught error.
  • [ ] QA
  • [ ] When complete, go to #1598 and mark the checkbox referencing this issue as complete.

trillium avatar Feb 04 '24 23:02 trillium

This issue should be delayed until #1576 is solved due to potential merge conflicts

trillium avatar Feb 14 '24 03:02 trillium

  1. Progress: It's in progress
  2. Blockers: I'm having trouble figuring out the logic to communicate to the backend
  3. Availability: I'll have 3 hours to work on this
  4. ETA: Hopefully soon

josiehandeveloper avatar May 07 '24 01:05 josiehandeveloper

Unassigning for now, moving back to prioritized backlog.

JackHaeg avatar May 07 '24 02:05 JackHaeg