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

Handle Latency Issues for UI Controls #513

Open
5 tasks done
JoelWiebe opened this issue Mar 23, 2023 · 0 comments · May be fixed by #526
Open
5 tasks done

Handle Latency Issues for UI Controls #513

JoelWiebe opened this issue Mar 23, 2023 · 0 comments · May be fixed by #526
Assignees
Labels
enhancement New feature or request medium priority medium priority task

Comments

@JoelWiebe
Copy link
Contributor

JoelWiebe commented Mar 23, 2023

Description

It was noticed that network latency can create various issues across CK Board, for instance, by allowing users to repeatedly press a button until the expected effect occurs

Details
We began by addressing this issue for the Add Post button whereby repeatedly pressing that button can end up generating many posts (#511). We implemented a means of disabling the button after it is clicked once, then closing the modal after 5 seconds and producing a snackbar error message. We can apply this standard across other contexts, most importantly any settings modal.

NOTE: Latency/network issues can be tested using Custom network profiles or turned offline from your browser Network tab

Tasks

  • Add disable-spinner-error pattern to Update Configuration button in Board configuration modal (from canvas and project dashboard views) with error message: "Unable to update board configurations. Please refresh and try again!

Screenshot 2023-03-23 at 6 08 01 PM

  • Add disable-spinner-error pattern to Update Configuration button in Project Configuration modal (from canvas and project dashboard views) with error message: "Unable to update board configurations. Please refresh and try again!

  • Add disable-spinner-error pattern to Add Tag button in the Add Post modal with error message "Unable to add tag. Please refresh and try again!"

Screenshot 2023-03-23 at 5 37 36 PM

  • Add disable-spinner-error pattern to Add Tag button in the view post modal with error message "Unable to add tag. Please refresh and try again!"

  • Add disable-spinner-error pattern to Update button in the edit post modal with error message "Unable to update post. Please refresh and try again!"

@JoelWiebe JoelWiebe added enhancement New feature or request medium priority medium priority task labels Mar 23, 2023
@DCH25 DCH25 linked a pull request Apr 12, 2023 that will close this issue
@JoelWiebe JoelWiebe moved this from Todo to Backlog in SCORE Meta-view Jun 20, 2024
@JoelWiebe JoelWiebe moved this from Backlog to Todo in SCORE Meta-view Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium priority medium priority task
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants