Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine
[Maintenance] - Availability Save Disable on Loading
Open
Beginner friendly
Nobody has claimed this yet.
maintenance
- Dominant language
- TypeScript
- Stars
- 36
- Forks
- 9
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 11
Description
Description
Save button on availability modal does not disable on click so users can spam it
Acceptance Criteria
If a user spams the save button, it does not spam messages to slack
Proposed Solution
- Duplicate the bug
- Track whether the save button is loading in AvailabilityEditModal.tsx, and disable save button if so
Mocks
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the repeated-save behavior in the availability modal, then inspect AvailabilityEditModal.tsx and trace the save button's loading state. Done means the save button is disabled while saving and repeated clicks do not send repeated messages to Slack.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 82/100