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

List Dialog Controller setting #14084

Open
Swiftb0y opened this issue Dec 30, 2024 · 4 comments
Open

List Dialog Controller setting #14084

Swiftb0y opened this issue Dec 30, 2024 · 4 comments

Comments

@Swiftb0y
Copy link
Member

Feature Description

It would be very nice to have a dialog that lets the user construct a list out of a given set of options. That dialog would let the user choose between a number of options and rearrange them in their preferred order. I'm sure there is a name for this type of widget, I just don't know it. I would imagine it to be similar to the Preferences > Effects > Visible Effects widget.
image

CC @acolombier wdyt?

@Swiftb0y
Copy link
Member Author

The primary usecase for this is to model cases where a combobox would not make sense due to combinatorial explosion. For example letting the user create a bunch of rate_ranges or their preferred setup for the parameter (EQ) buttons.

@acolombier
Copy link
Member

I think that makes sense. As such, this could be an extension of the existing settings types, so each type could allow a multiple selection, similar to the multiple attributes of the select HTML input field. I guess we could also add an orderable attribute, which could make the rate_ranges usecase more user friendly as well, does that make sense?

As such, the widget design could look similar to GH label selection (in this case, it is quite similar to enum behaviour, but the input field could obviously be a number, colour or file as well)
image

Cannot remember the name of this type of widget UX either tho

@Swiftb0y
Copy link
Member Author

yeah that could also work, though I'm not sure about good the ordering UX is on that type of widget. In either case, it would be cool if it could be generic over the actual enclosed widget. So you could stuff whatever widget you'd like in there.

@Swiftb0y
Copy link
Member Author

In addition to an orderable (which is not a word, so I'd prefer something like ordered) attribute, a element_count_min and element_count_max would be nice too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants