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

Combine fieldset property adding with the add property combobox #365

Open
johno opened this issue Jun 10, 2022 · 0 comments
Open

Combine fieldset property adding with the add property combobox #365

johno opened this issue Jun 10, 2022 · 0 comments
Labels
Design Feature New feature or request Inputs Primitive inputs like number scrubber, select, etc

Comments

@johno
Copy link
Contributor

johno commented Jun 10, 2022

It's a bit clunky to have two different comboboxes. Currently we have them for:

  1. Adding a top-level property to a node
  2. Adding a fieldset (pseudo element or class)

Ideally, we can combine the fieldset entry with the property box with a flow similar to:

Initial state

image

Typing a pseudo name (with or without preceding :)

image

Selecting a pseudo from the filtered dropdown

image

Displaying that selection (and making it dismissible with DEL)

image

ENTER is hit

This would add to PSEUDO_NAME.PROPERTY_NAME in the style object and clear the input back to the initial state

image

@johno johno added Feature New feature or request Inputs Primitive inputs like number scrubber, select, etc Design labels Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design Feature New feature or request Inputs Primitive inputs like number scrubber, select, etc
Projects
None yet
Development

No branches or pull requests

1 participant