lambertf917 / lambertf917/cafe-ordering-system-using-react-js

Update" Button Text Disappears When Changing Vehicle Type – Loader Should Appear Instead

Open
#15 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When the user changes the Vehicle Type in the app, the text on the "Update" button disappears during the update process. This may confuse users, as there is no indication that the update is in progress.

To Reproduce
Steps to reproduce the behavior:

Open the app and navigate to the Vehicle Type section.
Select a different vehicle type.
Tap the "Update" button.
Observe that the button text disappears instead of showing a loader.
Expected behavior
A loading indicator (spinner or progress animation) should appear on the "Update" button to provide visual feedback that the update is in progress.

Smartphone (please complete the following information):

Device: Samsung A15

Additional context
Replacing the disappearing text with a loader improves user experience by confirming that their action is being processed, preventing repeated taps or confusion.

Contributor guide

Open the contributing guide

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

No file or test is named. Start by locating the Vehicle Type screen and the Update button handler, then reproduce the behavior on a Samsung A15 or equivalent device. Done means the button shows a loading indicator while the vehicle type update is in progress and no longer loses its feedback during the request.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.