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

Add warning when submitting unchanged ranking #345

Merged
merged 2 commits into from
Jan 5, 2023

Conversation

stephancill
Copy link
Contributor

Fix for #272.

When the list is unchanged and the user tries to submit, they are presented with this modal:
Screenshot 2023-01-04 at 01 19 43

Something that may be an issue is that once the modal is presented, if the user presses Cancel, and they click submit again, it won't be presented again. More information on L27 of website/src/components/Survey/TaskControlsOverridable.tsx. Not sure how important this is but will required additional refactoring to fix.

@stephancill stephancill changed the title Add warning when submitting unchanged ranking (#272) Add warning when submitting unchanged ranking Jan 3, 2023
Copy link
Collaborator

@fozziethebeat fozziethebeat left a comment

Choose a reason for hiding this comment

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

Looks good with one small change needed. Will approve after that and after verifying another PR didn't cause a merge conflict.

@andreaskoepf
Copy link
Collaborator

(I removed the backend label since the proposed change is in the website code.)

@fozziethebeat fozziethebeat merged commit ea83c83 into LAION-AI:main Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI/UX All website Components website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants