AOSSIE-Org / AOSSIE-Org/Agora-Blockchain
[UX] Missing loading state on Create Election button
- 主要语言
- JavaScript
- 星标
- 97
- 派生
- 199
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。