AOSSIE-Org / AOSSIE-Org/Agora-Blockchain

[UX] Missing loading state on Create Election button

Aperta
#208 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
97
Fork
199
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Description :
Currently, when a user clicks the "Create Election" button the request goes out but

https://github.com/user-attachments/assets/601e957d-34aa-46c0-8365-a8af5e43425e

, there is no visual feedback (spinner/loader) while the request is processing. The button remains static, which confuses the user and giving the feeling of a broken button

Expected Behavior
The button should show a spinner state and be disabled until the transaction either confirms or fails.

Current Behavior
The button shows no change during the proccessing delay.

Note
I have already identified the fix and implemented a `isLoading` state locally. I will open a PR for this shortly.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.