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

disable completion buttons #2542

Merged
merged 3 commits into from
Feb 12, 2025
Merged

disable completion buttons #2542

merged 3 commits into from
Feb 12, 2025

Conversation

CollinBeczak
Copy link
Collaborator

@CollinBeczak CollinBeczak commented Feb 11, 2025

This pr resolves: #2538
partially resolves: #2546

What has changed:
Before, users could click on the completion buttons multiple times if they had slow network speed, and in the issue described above, there are some states in the completion process where the user is able to see the completed task version of the completion widget and interact with it, leading to a lot of confusion.

Now, when a user submits a task, the buttons will be greyed out and unclickable, and the completion flow is now async, so the task wont be marked as completed in the ui until the completion endpoint returns and the next task is found.

Copy link
Contributor

@jake-low jake-low left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CollinBeczak CollinBeczak merged commit d3eca55 into main Feb 12, 2025
2 of 4 checks passed
@CollinBeczak CollinBeczak deleted the disable-completion-buttons branch February 12, 2025 04:08
@CollinBeczak CollinBeczak mentioned this pull request Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple-by-default User Experience UX: completing a task requires two more confirmations than before
2 participants