una-xiv / umbra

Umbra XIV - Adds quality of life improvements to the game and consolidates common UI elements and actions into a single uniform interface.
GNU Affero General Public License v3.0
51 stars 18 forks source link

[Feature Request] Refactor (reorganize) the settings window #47

Closed haroldiedema closed 2 months ago

haroldiedema commented 2 months ago

The settings window is currently dynamically populated with controls based on defined config variables throughout the plugin. Each config variable contains a translated name, an optional description and a category. When at least the name and category are specified and present in the localization files, they are shown in the settings window.

The amount of different options is ever increasing and just having categories isn't enough anymore. Especially with the upcoming rework of the clock, the ability to sort widgets and modifying the fade distance of each different world marker, it is time to introduce optional sub-categories.

A config variable with just a name and category is listed at the top of the frame, while variables with defined sub-categories should be grouped together and shown below the ones without one.

A sub-category must define a title and may optionally define a description. Having a description for an entire category allows for more room to have variables without longer descriptions.