One of the small things on my wishlist for Silverbullet is some kind of configurable side-panel.
Just like the very nice and useful treeview plug, however I want to show configurable items and / or buttons and links or tag-lists in such panel.
So from my point of view, it would be ideal to have a normal page to be displayed in something just like the treeview panel.
In short, what I would want:
configure one (or even multiple) panes just like treeview
functions to show/hide these panels
attach / configure a ānormalā page to (each of) the panel(s)
would be nice to have a place option (left, right, modal) just like treeview
I already tried to understand how treeview creates such a panel, in order to copy the code and alter it to my needs.
But to be honest, I had to give up - I have no idea due to lack of background knowledge
So maybe someone with more knowledge can try to implement that - or try to help me how to understand and how to begin with thatā¦ I have only beginner knowledge in programming, CSS and JS, thoughā¦
Thanks a lot for this hint!
At least that comes pretty near what I`m trying to get. Not as nice as the treeview pane (e.g. size not as changeable) but seems to be a pretty simple point to start own experiments.
As your code is so short, thereās a little chance, that I understand what it is doing (in opposite to the treeview plugā¦)
Just a small status:
I got Justyns āScratch bufferā solution to work. In fact, it does pretty much what I want.
Some small caveats:
On first open of the scratchpage it opens with treeview included, but treeview is closable
For me the scratch panel is too big, it takes half of the windows space. Iād prefer to have it 1/4 maximum. I fiddled a bit with some CSS values, but could not find the correct oneā¦
As justyns mentioned, the scratchpage is in fact a whole silverbullet, but I can live with that
nice to have: making the new page write protected within the new pane to prevent changing the links by accident
Anyone knows how / where to set the size of the panels?
I want e.g. from left to right:
Aargh another (big) caveat:
I want to have a tag list in my side-panel. So far so good -
but if I click on a tag-link in the sidepane, the new page opens in the side-panel instead of the main panelā¦
That renders this solution nearly useless for my purpose
Does anybody has an idea how to tell the script to open links in the main-panel?
One thing I am doing that might be another option is that I use Sidebar extension in Firefox.
Then I load a specific page in the sidebar panel which has all my recent pages, and other shortcuts. And then by control-clicking links there which opens up a new tab next to the panel. Like other options it is loading multiple copies of Silverbullet.