feat: Menu Status Indicator - #4663
Conversation
This reverts commit 151916a.
|
I'm not sure this is going in the right direction. as these symbols are not very intuitive. |
|
@svartkanin Thanks for the feedback. I am completely open to swapping out the symbols for something more intuitive, or just ditching the symbols altogether. Some other paths I can think of right now are to color code the fields directly or use colored texts instead of symbols, but I do think that any labelling would be a net positive for user experience, since currently there is quite literally no way to tell field configuration status from the menu bar. As for the install preview, I think it provides limited functionality since it only indicates critical missing settings, which means that the users wouldn't know what other non-critical fields are not configured, such as the additional packages option. Having a status menu also means that the user gets an instant feedback when a field is configured, which I think would help with the overall flow of the installation process. |
|
@svartkanin Here is the rendered menu for the other option of using colored tags, and we can also decide what the tags and their colors should be. In addition, I would also be happy to open up a discussion and see what the community prefers in terms of the UI design.
|
|
I wonder if colored tags are the right approach here. The installation summary already clearly shows which configuration is missing before the installation starts, so adding multiple colored status tags to the main menu might introduce more visual noise than value. If we want to indicate progress in the menu itself, perhaps a simpler approach would be enough. For example, using a plain + for options that haven't been configured yet and a > (or another simple marker) for configured options, without the surrounding []. That would still provide a quick visual indication without drawing too much attention away from the menu itself. Simplicity and readability are key. That's just my take. |
|
@KsanDjordje Yeah that makes a lot of sense. I guess the main problem is figuring out simple and clear symbols to indicate configured vs missing fields. That was actually why I leaned into color coding, which I thought was easier to understand compared to the symbols and added a second level of safety. Would love to see some community suggestions for implementation ideas. |


PR Description
Motivation
Technical Description
_get_status_prefixfor menu item completion status, with red exclamation marks for required and uncompleted fields, yellow dots for optional and uncompleted fields, and green checks for completed fields.[¹] The checks are achieved using the following logic:_update_item_labelsthat updates the menu render based on_get_status_prefix. The code is as follows:_update_item_labelswhen called, and is triggered with_get_menu_options.[²] The implementation is as follows:Tests and Checks
Notes
[¹] The color scheme and symbols are up for discussion, and changes to these would be fairly straight forward
[²] I am using this primarily to contain the blast radius inside
global_menu, and I would be happy to rework the logic if needed