Oooh... naughty student. Should have been focussing on studies but couldn't resist piecing together a thing I've missed:
Is your solution easier/better?
I just figured out how to improve the centralised tw theme: when you show the right sidebar, its switches to vanilla, and when you hide the sidebar, its switches back to centralised. Check it out here: http://magictabs.tiddlyspot.com/
Yes, I should have commented on Tons nice creation when I posted. But in my, probably not so humble opinion, my version is a LOT easier to use. I suggest you do a quick test to compare. Also, I don't use the clever Matabele hide/show behaviour, but instead the non-clever-to-the-point behaviour; show/hide what you want.
I just figured out how to improve the centralised tw theme: when you show the right sidebar, its switches to vanilla, and when you hide the sidebar, its switches back to centralised. Check it out here: http://magictabs.tiddlyspot.com/
That is a good idea. How would I do this? Is there a "switcher" for this, whatever that would mean? Maybe if the're some kind of "batch toggle" so I can toggle on/off tag "$:/tags/PageTemplate" and "$:/tags/Stylesheet". What exactly should I do?
Such a batch toggler would actually be very useful as it could allow for multiple themes in one TW. And if it allowed multiple tags (or even fields?) to be toggled with a single, say, checkbox you could have a nice panel or drowpdown listing themes for immediate choice.
There's a typo in your instructions: $:_LeftBar
Could you perhaps turn those tiddlers to be dragged overinto a definition list and put a sentence each as towhat it is and what it does for the LeftBar to work?
I think it's important to understand how things work,so as to be able to tweak the right spots,because tweak we want and tweak we will.
; term
: definition
; [[$:/foo/bar]]
: defines bla
: do blop to make blip
Do you have any particular further suggestions how to make things easier to understand?
What is a "definition list", and how to they work?
<$list filter="[all[shadows+tiddlers]field[summary]]">
|{{!!title}}|{{!!summary}}|
</$list>
I've now included summary fields and would like to automatically generate such a definition list, as a table, from these. No problem in with a fET in TWc, but in TW5 I don't know how. Here's an attempt that doesn't work:
<$list filter="[all[shadows+tiddlers]field[summary]]">
|{{!!title}}|{{!!summary}}|
</$list>
Suggestions, anybody?
<table>
<$list filter="[all[shadows+tiddlers]has[summary]]">
<tr>
<td>{{!!title}}</td>
<td>{{!!summary}}</td>
</tr>
</$list>
</table>
<table>
<$list filter="[all[shadows+tiddlers]has[summary]]">
<tr>
<td>{{!!title}}</td>
<td>{{!!summary}}</td>
</tr>
</$list>
</table>
{{!!title}}
[[{{!!title}}]]
<$list filter="[all[shadows+tiddlers]field[summary]]">
|{{!!title}}|{{!!summary}}|
</$list>
Suggestions, anybody?
<$list filter="[all[shadows+tiddlers]has[summary]]">
; <$link><$view field=title/></$link>
: {{!!summary}}
</$list>
dl{
margin:0;
}
dd{
margin-left:14px;
}
dd:before{
content: "» ";
}
.no-before:before{
content:none;
}
; term
:.no-before definition
<$link to=<<currentTiddler>>><$view field='title'/></$link>
I just figured out how to improve the centralised tw theme: when you show the right sidebar, its switches to vanilla, and when you hide the sidebar, its switches back to centralised. Check it out here: http://magictabs.tiddlyspot.com/
That is a good idea. How would I do this? Is there a "switcher" for this, whatever that would mean? Maybe if the're some kind of "batch toggle" so I can toggle on/off tag "$:/tags/PageTemplate" and "$:/tags/Stylesheet". What exactly should I do?I just changed $:/core/ui/TopBar/menu adding an <action-setfield> to the button in order to change the content of $:/theme. Thus, when you show/hide the sidebar, it also changes the theme.This and other UI changes are bundled as plugin. Look for "goodies": http://magictabs.tiddlyspot.com/#%24%3A%2Fplugins%2Famp%2Fgoodies
By the way, How did you get the right sidebar to scroll with the rest of the story river, just like TWC???
I've got a $15 (small, but hey, i'm broke) reward for anybody who makes a full fledged TWC theme; font size, space between lines, and tiddlers, button size/style (no icons), etc.
Mat,
Did you ever get the this left menu to stick instead of scroll with the rest of the tiddler story?
title:LeftBar
tags: $:/LeftBar
<$reveal type="nomatch" state="$:/.TWaddle/LeftBar/Reveal!!position" text="absolute"><$button set="$:/.TWaddle/LeftBar/Reveal!!position" setTo="absolute" class="tc-btn-invisible"> ⦿</$button></$reveal>
<$reveal type="match" state="$:/.TWaddle/LeftBar/Reveal!!position" text="absolute"><$button set="$:/.TWaddle/LeftBar/Reveal!!position" setTo="fixed" class="tc-btn-invisible"> ⦾</$button></$reveal>[[LeftBar]]<br><$edit-text tiddler="$:/.TWaddle/LeftBar/StyleSheet" field="width"/>
<<list-links "[tag[LeftBar]]">>
tags:
$:/tags/Stylesheet
html
.tc-story-river {
position: absolute;
width:auto;
z-index: 999;
}
.leftbarpin {display:}
.tc-leftbar-scrollable {
position:{{$:/.TWaddle/LeftBar/Reveal!!position}}; top:-2em;
left:0;
overflow-y: hidden;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
margin: 0 0 0 0px;
}
<<if-no-leftbar "
html .tc-story-river { padding-left: 42px; left: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}; }
.tc-leftbar-scrollable { width: 0; padding:0; }
">>
<<if-leftbar """
.tc-leftbar-scrollable { width: {{!!width}}; padding:{{!!padding}}; }
.tc-sidebar-scrollable { left:calc({{!!width}} + {{$:/themes/tiddlywiki/vanilla/metrics/storyright}}); margin-left:-84px; }
.tc-story-river { left: {{!!width}}; margin-right:0px; padding-left: 0em; padding-right:42px; }
""">>
<<if-sidebar "
.tc-story-river { width: calc({{$:/themes/tiddlywiki/vanilla/metrics/storyright}} - {{!!width}} ); }
">>
<<if-no-sidebar "
.tc-story-river { right:0; }
">>
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d0876967-9b1a-459d-9c50-20824d2a9ef8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You really took the ball and ran with it :-) It works well. Planning to pack it into a plugin? We should have a collection of all left bars together somewhere.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5533eb0e-cea1-4b1d-a589-ccf4db64a18a%40googlegroups.com.
There has been a morphogenetic field, my LeftbarTheme is just in a state where you can test it: http://drilldown.tiddlyspot.com
I would be happy if you incorporated to Reddit-page. Somehow the Reddit-Register-Mechanism just counted me out.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/eedf03c8-48f1-45e6-838a-a9d56a0c14fc%40googlegroups.com.
It would be cool if you could pull it off. I guess you will have to hack the title viewtemplate to pull it off
Personally I would love to see someone attempting a pop-up tiddler viewtoolbar that appears if I long press anywhere in the tiddler body. Given that long tiddlers in desktop will become super extra long in mobile, the whole go back to the top of tiddler becomes tedious.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/72d1a597-3028-4432-b37b-054156075945%40googlegroups.com.
+1
Much appreciated, Mat.
Big progress. Easy to handle. Quote: "Anything tagged
$:/LeftBar
will have it's content shown
in the LeftBar." Yes, this is easy to manage. And
having it as a plugin is really elegant. This allows a
completely new way of knowledge management, because it adds a
second dimension to the GUI.
Possibilities galore!
Capeau!
Thanks!
Pit
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/399f5499-902e-47e5-b1ae-1eebc3085bef%40googlegroups.com.