Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLATFORM: Add loading state on button click #712

Open
poswalsameer opened this issue Feb 8, 2025 · 9 comments
Open

PLATFORM: Add loading state on button click #712

poswalsameer opened this issue Feb 8, 2025 · 9 comments
Labels
difficulty: 2 FOSSHack2025 FOSS Hack is scheduled from Feb 22 to Feb 23. FOSS-accepted issues would have this tag priority: high scope: platform Everything related to the keyshade platform package type: enhancement New feature or request

Comments

@poswalsameer
Copy link
Contributor

poswalsameer commented Feb 8, 2025

Describe the bug
Right now, various part of our application consists of button clicks for CRUD operations. We don't have a loading state on button click which allows the user to make multiple requests even when one request is ongoing.

Tasks to perform

  • Add loading state.
  • Handle everything gracefully with toast messages ( toast.dismiss(), toast.loading(), toast.success(), toast.error() )
  • Disable the button and input fields when the request is going on.

Expected behavior
On clicking once, the user should be able to perform the following operation and the request should go single time only.

Screenshots
Image

@rajdip-b rajdip-b added type: enhancement New feature or request scope: platform Everything related to the keyshade platform package priority: high difficulty: 2 labels Feb 8, 2025
@poswalsameer poswalsameer added the FOSSHack2025 FOSS Hack is scheduled from Feb 22 to Feb 23. FOSS-accepted issues would have this tag label Feb 8, 2025
@rajdip-b
Copy link
Member

rajdip-b commented Feb 8, 2025

I think you missed out the issues on environment management @poswalsameer

@chetan102
Copy link

/attempt

Copy link

Assigned the issue to @chetan102!

@umapa018
Copy link

/attempt

Copy link

Assigned the issue to @umapa018!

@chetan102
Copy link

sorry @umapa018 its already assigned to me and i m working on it, u can pick any other issue

Copy link

@chetan102, please open a draft PR linking this issue!

Copy link

@chetan102, please open a draft PR linking this issue; otherwise you will be unassigned from this issue after Mon Feb 24 2025 18:02:32 GMT+0000 (Coordinated Universal Time)!

Copy link

Unassigned the issue from @chetan102 due to inactivity!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: 2 FOSSHack2025 FOSS Hack is scheduled from Feb 22 to Feb 23. FOSS-accepted issues would have this tag priority: high scope: platform Everything related to the keyshade platform package type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants