AOSSIE-Org / AOSSIE-Org/Agora-Blockchain

[UX] Missing loading state on Create Election button

Offen
#208 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
97
Forks
199
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.