Closed Nerixyz closed 2 months ago
What does it mean to toggle the tab live only state? imo it means you toggle between whatever state it was in before (1 or 3) and 2
That's what's happening:
graph TD;
All<-->|toggleLive|LiveOnly
NoneAll<-->|toggleAll|All
NoneAll-->|toggleLive|LiveOnly
NoneLive-->|toggleAll|LiveOnly
NoneLive<-->|toggleLive|All
In addition to some of the changes you've done, I propose the tab visibility is moved to a submenu with 3 always visible options matching the three states of tab visibility.
I'm unsure about this.
- Hide all tabs (Linked to the hotkey Set tab visibility -> Set to off)
- Show live tabs only (Linked to the hotkey Set tab visibility -> Live only on)
- Show all tabs (Linked to the hotkey Set tab visibility -> Set to on)
Should be "Tab Visibility" → {All, Live Only, None}.
The downside I see to the above-mentioned change is we no longer surface the default toggle hotkeys. This could be alleviated by adding 2 more options for the toggling
This also breaks the workflow of right-clicking and clicking on the desired option, as you now have to move through the submenu.
Use submenus sparingly. Each submenu adds complexity to the interface and hides the items it contains. You might consider creating a submenu when a term appears in more than two menu items in the same group.
Closing in favour of https://github.com/Chatterino/chatterino2/pull/5530 - thanks for helping brainstorm
Aligns Ctrl+U and "Toggle visibility of tabs" to do the same. The hotkey will now trigger the same
QAction
. I've done the same for Ctrl+Shift+L and removed the visibility filter reset when the hotkey is activated withon
oroff
.Fixes #5341.