Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Type-Category-Based Dialog Interfaces #716

Open Zandario opened 10 months ago

Zandario commented 10 months ago

Is your feature request related to a problem? Please describe.

Currently most Fields and Values are set by using strings. Due to this majority of our editing will be with a keyboard, which doesn't always make sense, or worse, even cumbersome.

Describe the solution you'd like

More Input-Focused Dialogs like the ColorDialogInterface.

As making a dedicated dialog for every Type would be INSANE, instead they would be relegated to overarching groups.

Number

The majority of our standard Data-Types, which don't use majority of the keyboard. I will say this would be one of the harder ones to pull off currently.

Enums

One of the most annoying types to edit, if it's has a lot of states.

DateTime

Unless you know what you are doing, this one looks like black magic.

TimeSpan

Ditto of TimeSpan

floatQ

It's currently fine, but custom dialog could allow for a more verbose rotation editing. We could make inputs for both Euler and Quaternion, maybe even add a 3D rotation visual.

Describe alternatives you've considered

Maaaaaany more additional verbose custom type WorkerInspector UIs, at which point would fall to #563

Additional Context

Just an idea I've had in my head for the last week.

Frooxius commented 10 months ago

This would be done either as part of after the inspector rework: https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/563

It's probably something that will be implemented over time - we'll add better customized UI's for some commonly used data types. It's something that we wanted to do, but not before the inspectors themselves are overhauled.

Zandario commented 10 months ago

Sounds good to me chief

Banane9 commented 10 months ago

For reference: An enum value picker is also available as a mod

https://github.com/badhaloninja/EnumDropdown