AOSSIE-Org / AOSSIE-Org/Agora-Blockchain

[UX] Missing loading state on Create Election button

Đang mở
#208 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
97
Fork
199
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.