When I first started with TW5 I thought: "What a waste of space".
When you open TW5 fullscreen on a widescreen monitor you see the open tiddlers at the left (the "story river"), the Sidebar in the middle and a very empty gray space at the right.
For sure I am biased. In all my TWc wikis there is no left sidebar ("main menu") visible, the right sidebar can be toggled invisible/visible , I use a "top menu" containing a search box and the most used commands and the rest of the space is for tiddler content. And I use often nested tabs, where these tabs are "part of my TWs TOC".
Some use cases are given in the thread about my question about a 'tabs' macro in TW5:
https://groups.google.com/d/msg/tiddlywiki/fA23Z6qtQE8/VWCSE-vcWA0JSo I am playing around with TW5, digging in the styles and so on trying to mimic my TWc wikis.
The layout of TW5 looks like 2 'frames' besides each other: left the "story river" and at the right the Sidebar with "page controls" that can be scrolled separately.
In
$:/ControlPanel/ThemeTweaks the Story right and Story width are set at 770px. This gives the behavior as mentioned in the first paragraph.
Here you can e.g. reverse the right sidebar and the story river.
This brings up the following questions:
1) Is it or will it be possible in future to do it the other way around: counting from the right side instead of counting from the left side?
2) Is it or will it be possible in future to do it more "dynamically", e.g. at the right a fixed width for the right sidebar (counting from the right) and the rest of the screen window filled automatically (tiddler width = screen width minus right sidebar)?
3) Is it or will it be possible in future to toggle the right sidebar on/off (dynamically adjusting the story river)?
Looking at the
$:/core/ui/PageTemplate I saw 2 optional bars:
{{$:/TopSideBar}}
{{$:/LeftSideBar}}So I tried to make a top menu with the new tiddler, control panel and save buttons in it, by copying the button code from the
$:/core/ui/PageTemplate into the
$:/TopSideBar tiddler.
Thus the
$:/TopSideBar contains:
<div class="tw-page-controls">
<$button message="tw-new-tiddler" class="btn-invisible">{{$:/core/images/new-button}}</$button><$link to="$:/ControlPanel">{{$:/core/images/options-button}}</$link><$button message="tw-save-wiki" class="btn-invisible">{{$:/core/images/save-button}}</$button>
</div>The buttons are shown and do work in the
$:/TopSideBar tiddler itself.
Via the transclusion of
$:/TopSideBar in the
$:/core/ui/PageTemplate the "button images" show up in the top left corner of the screen but they do not work as buttons.
I also noted the button images scroll together with the open tiddlers and not with the sidebar as I expected.
After fiddling with styles (copied from the
$:/core/templates/static.template.css) I ended with a working set of buttons at the top of the page but then I could not access the tiddlers and/or right sidebar anymore!
So at the moment it is beyond my (very basic) knowledge of CSS ;)
Question: Is it or will it be possible in future to add a top menu - in an easy way?
Cheers,
Ton