-
-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ability to toggle visibility of tabs #2600
Conversation
This way follows the approach that was taken for the `showAddButton_` variable.
Implements feature of #2313 |
Signed-off-by: zneix <zneix@zneix.eu>
This is for consistency purposes, discussed it with @YungLPR in my chat (https://cdn.zneix.eu/EiZpfnp.png)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The keybinding Ctrl+U
should also be added to the "Keybindings" page in the settings.
Other than that, I like the implementation. Feels nice to use from my perspective :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wording changes could be made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it and other than this little nitpick, looks good and works just as expected 👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't break it, looks good to me 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small changelog entry nitpick, other than that looks good 👌
…bar for right-clicking in case the tabs are hidden For horizontal tab layouts, this will make the already-existing bar smaller For vertical tab layouts, this will add the small bar
@ALazyMeme Could you test 'tab area' width/height in horizontal/vertical mode in the latest build please? |
Line is still there, looks a bit weird now that there's random space on the side (since the space was not there before and the line is evidently moved upon the "creation" of the space) Bug outlined in #2600 (comment) |
gotta review paint event to ensure it's aligned with the 'empty space' logic |
@ALazyMeme Once the Windows build has succeeded, could you please take this for one (hopefully last) spin? Thank you! Known 'quirks': Swapping between horizontal and vertical tab layout will result in the line around buttons (if you have buttons enabled) to not fully settle until you have pressed ok in the settings dialog. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this works perfectly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Would be good to have the phrase "tab area" added to the glossary
Changes from upstream we pulled: 5735428 (origin/master, origin/HEAD, master) Added ability to toggle visibility of tabs (Chatterino#2600) 01bda9c Fix tab direction not applying to popup window (Chatterino#2839) faae2c2 Match game names exactly when using /setgame (Chatterino#2825) 7e4f8be Bump ilammy/msvc-dev-cmd from 1.8.0 to 1.8.1 (Chatterino#2828) 708670b Bump actions/cache from 2.1.5 to 2.1.6 (Chatterino#2830)
Sorry to intrude upon this lovely little thread, but where can one access the version of Chatterino with this feature (or when can we expect if it's inaccessible to the public)? Nightly builds? |
Yes. |
Hello, is there a way to have the tabs be hidden by default on launch and hitting Ctrl + U toggles visibility like usual. Tried to find search the settings but couldn't find any option :/ |
There is not, no |
Pull request checklist:
CHANGELOG.md
was updated, if applicable.Ctrl+U
).Description
This Pull Request adds an ability to toggle visibility of chat tabs - With a keyboard shortcut (
Ctrl + U
) and a Split header's context menu entry ("Toggle visibility of tabs").Open questions
Demonstration
Related #1484
Closes #2313