[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.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript
Domain
frontend

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.

Description

maintenance
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

Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 11h
Merged PRs (30d)
14

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.

More from Northeastern-Electric-Racing/FinishLine

All issues in Northeastern-Electric-Racing/FinishLine

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.