-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Allow user to hide right sidebar on any width. #29342
Conversation
Nice! I think we should adjust the tooltip to:
|
I merged the prep commits, which all look like pretty safe refactors, as #29358, so this should be quite compact now. |
That's all the feedback I've got -- looks good to me otherwise! |
d6682e7
to
f3fb14e
Compare
Fixed both the issues @alya mentioned. Thanks! |
Not a blocker for merging this, but ideally the left/right arrow keys would work for navigating between this button and the help menu. |
Looks good to me other than that, now! I tested with "Use full width on wide screens" turned on/off. |
The code basically lgtm. A few notes:
I think I'll try to test-deploy on chat.zulip.org anyway, but might be you get to these revisions before me. |
This is happening since the rendering for the user list is more complex. If we toggle |
This syncs the behaviour of userlist-toggle button to always show an underline when sidebar is visible.
f3fb14e
to
bdde4c0
Compare
Added a commit for it. |
I am not able to reproduce, do you recall what it looked like? |
Yeah, the sidebar was all the way to the right. I think we can probably hope someone can reproduce on chat.zulip.org; maybe let's post it in #issues and crowdsource a reproduction recipe after merging. |
OK, I think we can merge this and fix forward from here, thanks @amanagr! I think the flicker is probably distracting enough that it's worth some effort to fix. But I'm not sure I like the idea of moving to |
Cool! I filed #29465 as a follow-up for keyboard nav. |
Yeah, I had updated this PR with a fix for that. |
discussion: https://chat.zulip.org/#narrow/stream/6-frontend/topic/Hide.20right.20sidebar