Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

[Maintenance] - Availability Save Disable on Loading

Open Beginner friendly
#4,293 0 comments 0 reactions 0 assignees View on GitHub

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

Image
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.