Skip to content
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

Hide / Compact UI at runtime #1400

Open
imsnif opened this issue May 10, 2022 · 8 comments
Open

Hide / Compact UI at runtime #1400

imsnif opened this issue May 10, 2022 · 8 comments
Labels
duplicate This issue or pull request already exists ease of use Issues where zellij has clunky or difficult to use behaviours
Milestone

Comments

@imsnif
Copy link
Member

imsnif commented May 10, 2022

Plugins / Layouts in general and the Zellij UI specifically should support a compact mode and a "hidden ui" mode.

The compact UI should include one bar with a list of open tabs and the current mode.

Depends on: #742

@imsnif imsnif added the ease of use Issues where zellij has clunky or difficult to use behaviours label May 10, 2022
@imsnif imsnif added this to the Roadmap milestone May 10, 2022
@a-kenji a-kenji added the duplicate This issue or pull request already exists label May 29, 2022
@a-kenji
Copy link
Contributor

a-kenji commented May 29, 2022

This seems to be a duplicate of #694.

@imsnif
Copy link
Member Author

imsnif commented May 30, 2022

True. It was a little hard for me to find the other one because its title talks about the implementation rather than the user feature. This one is in the roadmap SVG though (which is not super trivial to change) - is it ok if we leave it open and close both once this is implemented?

@a-kenji
Copy link
Contributor

a-kenji commented May 30, 2022

Sure, it is OK. I just want to make it obvious to connect all the information.

@aral
Copy link
Contributor

aral commented Feb 16, 2023

This would also be very helpful when doing screencasts/live streams. I’d love to be able to hide the interface after performing an action so I have as much screen space as available given how small the available space is when you’re presenting on 1080p with large fonts, etc. :)

@imsnif
Copy link
Member Author

imsnif commented Feb 16, 2023

Hey @aral - while I very much agree, I just want to make sure you know about zellij --layout compact? You aren't yet able to switch to it at runtime, but if you're already comfortable with the keybindings and don't need the hints, it gives you all that you need in just 1 line.

@aschleifer
Copy link

While I also like the idea of being able to switch, these days I rarely start zellij in the default layout, since I'm quiet familiar with the key bindings now.

But still especially for new people it could be a helpful feature.

@artfulrobot
Copy link

Not sure if this is the right place, but in compact mode, when a pane is full-screened, I frequently find myself forgetting if I have other panes (on this tab) or not. i.e. it would be good to have something showing the number of panes in the tab, or an F or something to indicate I'm in full screen mode. The presence of floating windows could also be useful.

e.g. current:

Zellij (main)  NORMAL » *Tab #1 » Tab #2 »                     » HORIZONTAL »

idea: 3+2 might mean 3 panes +2 floating windows:

Zellij (main)  NORMAL » Tab #1 » Tab #2 »                     » HORIZONTAL 3+2»
  • a Tab with a single pane would say nothing extra
  • a Tab with a single pane + 1 float would have +1
  • a Tab with 2 panes and no floats would have just 2

@imsnif
Copy link
Member Author

imsnif commented Jan 24, 2024

Hey @artfulrobot - all of this is possible to achieve with plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists ease of use Issues where zellij has clunky or difficult to use behaviours
Projects
None yet
Development

No branches or pull requests

6 participants