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

New inline label design for number, text, and dropdown inputs #2502

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

RunDevelopment
Copy link
Member

image

What we talked about on discord.

I replaced the hide_label: bool option many inputs had with a label_style: "default" | "inline" | "hidden". This allows us to select how we want to display the label in the UI. The defaults for text and dropdown inputs are just as before. Number input will use "inline" when the label is short enough and "default" otherwise.

I also changed a few nodes to take advantage of the new design.

DO NOT MERGE until after the next patch release. I'm sure that we'll find some bugs, so I would like to avoid having users find them.

@joeyballentine joeyballentine merged commit b104280 into chaiNNer-org:main Jan 25, 2024
17 checks passed
@RunDevelopment RunDevelopment deleted the inline-label branch January 25, 2024 17:25
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.

None yet

2 participants