Then you are editing a shadow tiddler, which is exactly what he wants to avoid in order to properly upgrade to newer versions easily.
I think it makes sense because as he says, customizing such part of the UI should be newbie friendly
But Mario,Then you are editing a shadow tiddler, which is exactly what he wants to avoid in order to properly upgrade to newer versions easily.
For the record, I'm quite comfortable making the customization -- I just feel as if this functionality is useful frequently enough that it shouldn't require surgery on TiddlyWiki's core.
Just someone would need to create one.
I'm not sure if requiring a theme installed is sensible...I feel as if the closest UX analog is the "toolbars" setting. You don't need a special-purpose theme to enable or disable the "clone" button on all tiddlers, or to conceal the "new tiddler" button in the sidebar.
I know but if you have a look at empty.html. It has already 1218 shadow tiddlers. Many of them come for UI configuration. We should try to remove them and not make them more. The whole confi stuff makes TW terribly slow.
PMario wrote:
I know but if you have a look at empty.html. It has already 1218 shadow tiddlers. Many of them come for UI configuration. We should try to remove them and not make them more. The whole confi stuff makes TW terribly slow.@anyone who knows or has thoughts about it;If (if) one wanted to make a pull request to split out - just as a concrete example - the "New journal" and "New journal here" features, and provide them as a plugin instead, how would one go about this? Are the interfaces defined (not UI, I mean code-to-code)? Do all e.g "tools" (buttons) have the same interface parameters?
Interesting ideas Mat. I have no idea what to answer, but a totally modular tiddlywiky is something I dream about
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2e86146e-671b-44c4-ac8a-77ebcbb975c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mario expresses several concerns:> At the moment TW is configured to death already.My goal is to make TiddlyWiki flexible and useful for people who aren't yet ready to delve into wikitext and deep customisation.
I try to make a call about which customisations should have a user interface based both on the norms of other applications (themes, palettes, language etc) and the discussions in the community. (A good example is the recent addition of a UI for disabling camelcase in response to persistent feedback that it was wanted).
Jumping off of this recent post since it's semi-related, How would you go about hiding the entire Sidebar itself by default? I've been googling around trying to find some method for it using plug-ins and such, but I can't tell if it's older code that doesn't apply or if I'm entering in the information wrong. Is there a ShadowTiddler somewhere where I can toggle this on-off?
Yea, we can make everything configurable. So every shadow tiddler can get its "visibility tiddler" and then we add a new configuration tiddler that can activate and deactivate those visibility tiddlers. ... and so on ...
\define getSideTabs()
<$button tooltip="List SideBar Tabs">
<$action-setfield $tiddler="$:/core/ui/SideBar/More" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/Tools" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/Recent" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/Open" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="TableOfContents" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/AdvancedSearch" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/AdvancedSearch" $field="caption" $value="Search"/>
{{$:/core/images/new-button}}
</$button>
\end
<table>
<tr><th>Toggle Sidebar Tabs</th><th><<getSideTabs>></th></tr>
<$list filter="[field:side-bar[tabs]!has[draft.of]]">
<tr><td><$view tiddler={{!!title}} field="title"/></td><td><span title="Toggle Tab"><$checkbox tiddler={{!!title}} tag="$:/tags/SideBar"/></span></td></tr>
</$list>
</table>
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/dQbt-JFdRR8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d8c643de-3baa-449f-ad1f-3fb0cf18b466%40googlegroups.com.
\define getSideTabs()
<$button tooltip="List SideBar Tabs">
<$action-setfield $tiddler="$:/core/ui/SideBar/More" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/Tools" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/Recent" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/Open" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="TableOfContents" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/AdvancedSearch" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/AdvancedSearch" $field="caption" $value="Search"/>
<$action-setfield $tiddler="$:/_SideBar/Wiki" $field="side-bar" $value="tabs"/>
<$action-setfield $tiddler="$:/_SideBar/Wiki" $field="caption" $value="Wiki"/>
<$action-setfield $tiddler="$:/_SideBar/Wiki" $field="text" $value="""
<div class="tc-more-sidebar">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/WikiSideBar]!has[draft.of]]" "$:/core/ui/SideBar/More" "$:/state/tab/wikisidebar" "tc-vertical">>
</div>
"""/>
{{$:/core/images/new-button}}
</$button>
\end
<table>
<tr><th>Toggle Sidebar Tabs</th><th><<getSideTabs>></th></tr>
<$list filter="[field:side-bar[tabs]!has[draft.of]]">
<tr><td><$view tiddler={{!!title}} field="title"/></td><td><span title="Toggle Tab"><$checkbox tiddler={{!!title}} tag="$:/tags/SideBar"/></span></td></tr>
<
/$list>
<tr><th>Toggle ~WikiSidebar Tabs</th><th></th></tr>
<$list filter="[field:side-bar[tabs]!has[draft.of]![$:/_SideBar/Wiki]]">
<tr><td><$view tiddler={{!!title}} field="title"/></td><td><span title="Toggle Tab"><$checkbox tiddler={{!!title}} tag="$:/tags/WikiSideBar"/></span></td></tr>
</$list>
</table>
The purpose of the 'side-bar' field is to list the tabs -- using the '$:/tag/SideBar' only works for active tabs -- once hidden (by deleting this tag), the tab can't be listed using this tag.
I have attached my latest version of a Sidebar/config tool. Drag and drop the downloaded .tid file to your TW5 -- click the large + sign to prepare your tabs -- toggle the tabs to arrange your sidebar (take care not to include a tab within itself!)