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

create a directive to show busy states on buttons #5

Open
samrichardsontylertech opened this issue May 24, 2022 · 0 comments
Open

create a directive to show busy states on buttons #5

samrichardsontylertech opened this issue May 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@samrichardsontylertech
Copy link
Contributor

Describe the feature:
A directive should be created to disable and show a progress indicator on a button when the associated action is in progress.

Describe any alternatives you've considered:

  1. The associated action can be throttled via code. This works for quick actions run locally, but for longer ones like HTTP requests there isn't enough feedback for the user.
  2. The button can just be disabled. Good for communicating that the action is unavailable, but it's ambiguous to the user why.
  3. A progress indicator can be manually applied to the button. Feasible, but doing it correctly can be verbose, complicated, and prone to inconsistency and bugs. There are considerations like accessibility and maintaining a fixed size that might be overlooked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant