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. |
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