Proposal: load layout
from the external repository
#1437
Labels
action
Issues related to actions
discussion
Conversation to figure out actionable steps. Most feature ideas start here.
layout
issues related to the layout system
Milestone
The idea of this proposal was started with issue #1412
This proposal suggest two main parts.
Storage of layouts
I think it is good to manage layout storage as a github repository. It is accessible and the user can check the contents through a browser at any time.
Also, users will be able to manage the layout by creating their own private repository. Instead, the layout repository should have a consistent folder structure.
For example:
# https://github.com/zellij-org/zellij-official root ├── layouts │ ├── alpha │ │ ├── custom1.kdl │ │ └── custom2.kdl │ ├── bravo │ │ ├── custom1.kdl │ │ └── custom2.kdl │ └── charlie │ ├── custom1.kdl │ └── custom2.kdl └── plugins
Commands
First, I suggest a similar method to the
helm
CLI. Of course, this kind of command construction is a fairly common method.What I expect is that users will experience the following:
Maybe, tags and descriptions required for the search of layouts can be implemented by setting metadata in KDL.
Currently, The
--layout
option is required to apply the layout tozellij
, but it seemed good to re-design it as a sub-command if more functions were added.Anyway, If a user applies a layout from the web, the layout is saved to the local cache folder. And if the user applies the same layout in the future, the saved layout file is loaded.
Other Considerations
zellij
supports private storage, we need to think about how to authenticate.Conclusion
This is a draft made to hear everyone's opinions. Any opinion is fine. If we have a good idea or opinion, we can have a discussion without hesitation.
The text was updated successfully, but these errors were encountered: