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

#668 - Add simple label #687

Merged
merged 10 commits into from
Jan 14, 2023
Merged

Conversation

Klotske
Copy link
Contributor

@Klotske Klotske commented Jan 13, 2023

Closes #668.

Added new LabelRadioGroup component which reuses some logic from LabelSliderGroup.
Thought it would be better if component supported multiple labels if we want to simplify UX.
LabelRadioItem contains states prop to configure (specify the text, value or color) presented buttons.
Here's a demo:
image
image

Blocked by #686.

@andreaskoepf
Copy link
Collaborator

Just a first-impression usability opinion: YES -> red, No -> green feels strange .. even though it may make sense for a "Spam?" question. Maybe we can ask a slightly different question for which Yes becomes the positive answer that could be shown on a green button?

@Klotske Klotske marked this pull request as draft January 13, 2023 18:17
@Klotske Klotske marked this pull request as ready for review January 13, 2023 23:53
@fozziethebeat fozziethebeat merged commit af8f17a into LAION-AI:main Jan 14, 2023
@Klotske Klotske deleted the add-simple-label branch January 14, 2023 12:42
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.

Simplify labeling task when there's only one label (spam)
3 participants