gray-mueller / gray-mueller/food-ordering-app-using-python
Conflicting Success and Error Messages When Updating Bank Details on Bank Management Page
- Lingua principale
- JavaScript
- Stelle
- 4
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Describe the bug
On the Bank Management page, when a user updates their bank information, two messages are shown:
An error message indicating the update was unsuccessful.
A success message indicating the bank details were updated successfully.
This creates confusion about whether the update actually went through.
To Reproduce
Steps to reproduce the behavior:
Open the Bank Management page in the app.
Edit and update the bank account information.
Tap the Update button.
Observe that both a success and an error message are displayed simultaneously or in quick succession.
Expected behavior
Only one appropriate message should appear based on the actual outcome. If the update is successful, only the success message should display. If it fails, only the error message should be shown.
Smartphone (please complete the following information):
Device: Samsung A15
Additional context
This may be due to duplicate response handling in the frontend logic or inconsistent API feedback. It should be resolved to prevent confusion and ensure clear user communication.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dal pulsante Update della pagina Bank Management e traccia il modo in cui il frontend gestisce la risposta all’aggiornamento dei dati bancari. Riproduci il problema nello scenario Samsung A15 segnalato, quindi verifica che un aggiornamento riuscito mostri solo un messaggio di successo e che un aggiornamento non riuscito mostri solo un messaggio di errore.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100