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

website: Enable label when clicking on disabled slider #680

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

othrayte
Copy link
Collaborator

This solves #565 (Enable category when using sliders in message reporting popup)

The original idea was that if the user clicked on the slider before checking the item it would be checked in addition to setting the slider, however that was only possible if the sliders were already enabled, which made it unclear that the items were disabled and what the checkbox did.

This solution just enables the label if the user clicks on the disabled slider and then they see it is enabled and can move it.

The amount of refactoring of this component was required for the original idea, but I hope it's considered an improvement so I've left it in.

enable label on click disabled slider

@fozziethebeat fozziethebeat merged commit ce8c9e1 into LAION-AI:main Jan 13, 2023
@othrayte othrayte deleted the auto-check-categorisations branch January 14, 2023 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants