AOSSIE-Org / AOSSIE-Org/Agora-Blockchain

[UX] Missing loading state on Create Election button

Abierto
#208 3 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
97
Forks
199
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.