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

Drop-downs for Simulation Variables #112

Open
Andywmm9 opened this issue Dec 26, 2020 · 5 comments
Open

Drop-downs for Simulation Variables #112

Andywmm9 opened this issue Dec 26, 2020 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@Andywmm9
Copy link

For new users, I believe it would be nice to have some sort of picker to select a simulation variable instead of free text. This could be done via reflection to look at all of the structs. An auto-complete text box could accomplish this, with validation preventing the user from putting in a variable name that doesn't exist.

Even more helpful would be to have a description of all of the variables.

If you would consider this, I would be interesting in creating a fork.

@rmroc451
Copy link
Collaborator

There is already an old branch created by Pieter who started on it. I was looking at it a bit, but got sidetracked with something else.

We can revisit it.

@nguyenquyhy nguyenquyhy added the enhancement New feature or request label Dec 28, 2020
@Andywmm9
Copy link
Author

Awesome. Thanks for the great project. BTW, your code is very clean and organized. Let me know if you need any help!

@pieterwasalreadytaken
Copy link
Collaborator

There is already an old branch created by Pieter who started on it.
The main problem was that a drop-down of all variables (even categorized) was VERY cluttered and slow. I didn't like the end result, so I paused it in search for something better.

I think some kind of auto-complete text box would be better, but we would have to custom build that control.

Or indeed a separate pop-up window with search function and description for each possible variable.

@Andywmm9
Copy link
Author

Andywmm9 commented Jan 3, 2021

HTML5 has the new data list capability and you bind a text box to this and it behaves as an autocomplete. I don't see a reason why streamdeck wouldn't support this since all browsers today do.

@Andywmm9
Copy link
Author

I played around with datalist in the properties editor. Even though the input field shows a drop down icon, clicking on it does nothing. Also, it looks like autocomplete didn't work setting that either. I do see where data lists are supported from the documentation, but not with just a plane text field.

It looks like the only option is to create another window for selecting a sim var.

@nguyenquyhy nguyenquyhy modified the milestones: 0.32, 0.33 Mar 29, 2021
@nguyenquyhy nguyenquyhy modified the milestones: 0.33, 0.34 Apr 20, 2021
@nguyenquyhy nguyenquyhy modified the milestones: 0.34, 0.35 May 7, 2021
@nguyenquyhy nguyenquyhy modified the milestones: 0.35, 0.36 Jun 8, 2021
@nguyenquyhy nguyenquyhy modified the milestones: 0.36, 0.37 Jun 28, 2021
@nguyenquyhy nguyenquyhy modified the milestones: 0.37, 0.38 Aug 1, 2021
@nguyenquyhy nguyenquyhy modified the milestones: 0.38, 0.39 Sep 27, 2021
@nguyenquyhy nguyenquyhy modified the milestones: 0.39, 0.40 Nov 15, 2021
@nguyenquyhy nguyenquyhy modified the milestones: 0.40, 0.44 May 2, 2022
@nguyenquyhy nguyenquyhy modified the milestones: 0.45, 0.46 Oct 10, 2022
@nguyenquyhy nguyenquyhy modified the milestones: 0.47, 0.48 Dec 12, 2022
@nguyenquyhy nguyenquyhy added this to the 0.49 milestone Dec 19, 2022
@nguyenquyhy nguyenquyhy modified the milestones: 0.49, 0.50 Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants