AOSSIE-Org / AOSSIE-Org/Agora-Blockchain

[UX] Missing loading state on Create Election button

Ouverte
#208 3 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
97
Forks
199
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.