gray-mueller / gray-mueller/foodpanda-clone-using-react-native
Update" Button Text Disappears When Changing Vehicle Type – Loader Should Appear Instead
- 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
Research direction
Start in the Vehicle Type section and trace the Update button's update process. Reproduce the issue on a mobile device, then verify that the button shows a loading indicator while the update is in progress and restores its text afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100