Reimagining the sidebar, phase two [requesting feedback]

177 views
Skip to first unread message

David Gifford

unread,
Mar 6, 2021, 1:26:08 PM3/6/21
to TiddlyWiki
Hi everyone

Please give feedback or help for the file linked below. Explanation is at that file.


Thanks in advance!

Mohammad Rahmani

unread,
Mar 6, 2021, 1:34:41 PM3/6/21
to tiddl...@googlegroups.com
Dave,
 This new version is much much better! Minimal design and nice drop down menu with checkboxes (toggle buttons)

 Keep going on!

Best wishes
Mohammad


--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/65ed8b62-cefe-4314-927d-b25566b155f1n%40googlegroups.com.

David Gifford

unread,
Mar 6, 2021, 1:59:19 PM3/6/21
to TiddlyWiki
Thanks Mohammad! Feel free to help me with some of the roadblocks I mention there! :-)

Instead of a chooser I think I have a simpler idea...

David Gifford

unread,
Mar 6, 2021, 2:24:57 PM3/6/21
to TiddlyWiki
Just updated the dropdown slightly. Instead of individual checkboxes, it is now a list with a filter based on a tag. That way it will be easier for people to create and share custom sidebar segments and custom tab groups.

Mohammad Rahmani

unread,
Mar 6, 2021, 2:40:16 PM3/6/21
to tiddl...@googlegroups.com
Dave
  1. The button should really go on the right, where the sidebar is. But if I put it there, the dropdown goes off the screen to the right.
Why not use a page control button?



Best wishes
Mohammad


--
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.

Mohammad Rahmani

unread,
Mar 6, 2021, 2:42:09 PM3/6/21
to tiddl...@googlegroups.com
Dave
You may also use the LeftBar by Mat (TWaddle) for displaying the toggle buttons


Best wishes
Mohammad

clutterstack

unread,
Mar 6, 2021, 4:29:26 PM3/6/21
to TiddlyWiki
Hi David,

> I would prefer the parallel tab ($:/.giffmex/sidebar/parallel2) to have autocomplete, but can't figure out how to do integrate it with the comptext plugin.

I suspect this is one of the intended use-cases for comptext, although I am not familiar with it.

Another option is to use the keyboard-driven-events macro in the core, with or without a dropdown. This is what the sidebar search uses. Another place this is used is in the editor toolbar link dropdown.

It's kind of involved, though. I made myself a plugin macro to make it simpler, but it has a million parameters (though most are optional) and I haven't documented it yet. I do intend to. I did write a couple of tutorials as I worked through how keyboard-driven-input works, and how to put a dropdown selector with it. Note that the first tutorial doesn't show how to do anything with the selected search result (which is just a matter of defining actions to pass as parameters to the keyboard-driven-input macro), just how the guts of the macro work with its state tiddlers.

Best,
Chris

David Gifford

unread,
Mar 6, 2021, 8:17:54 PM3/6/21
to TiddlyWiki
Major changes just made. Nowhere near done yet, but is a lot different. https://giffmex.org/experiments/sidebar.concept.part.2.html

Mohammad Rahmani

unread,
Mar 6, 2021, 11:14:12 PM3/6/21
to tiddl...@googlegroups.com
Dave,

Some suggestions (ignore if not relevant)

1.  I added the $:/themes/tiddlywiki/centralised theme from https://tiddlywiki.com/ and then used the Centralized theme!
2. Put both dropdowns in one window with tabs! One for sidebar one from tiddler

Best wishes
Mohammad


David Gifford

unread,
Mar 7, 2021, 11:17:27 AM3/7/21
to TiddlyWiki
@Mohammad

1. Looks nice with centralized! But the sidebar gets pretty squished.

2. Intrigued. By 'one window', what do you mean? Are you saying you did this? If so, Hulk want screenshot.

Mohammad Rahmani

unread,
Mar 7, 2021, 3:01:48 PM3/7/21
to tiddl...@googlegroups.com



Best wishes
Mohammad


On Sun, Mar 7, 2021 at 7:47 PM David Gifford <dgif...@crcna.org> wrote:
@Mohammad

1. Looks nice with centralized! But the sidebar gets pretty squished.

2. Intrigued. By 'one window', what do you mean? Are you saying you did this? If so, Hulk want screenshot.

No I did not myself! I mean you can have one button to open one local window having two tabs: a tab for  tiddler settings and one tab for sidebar settings


 

David Gifford

unread,
Mar 7, 2021, 3:03:34 PM3/7/21
to TiddlyWiki
Ah, gotcha. Sounds like a good idea. I will get to that soon. Thanks!

Mohammad Rahmani

unread,
Mar 8, 2021, 12:38:07 AM3/8/21
to tiddl...@googlegroups.com
Dave,
 I changed topmenu to include tabs! Attached are the three tiddlers plus some of intact stylesteets!

 Drag and drop into https://tiddlywiki.com/
to see how it works



Best wishes
Mohammad


dave-customizer-topmenu.json

Eskha

unread,
Mar 8, 2021, 5:23:39 AM3/8/21
to TiddlyWiki
Hello David,

Really useful and easy to access and use in order to customise what is displayed.

One remark: elements you can display or hide are manually listed in your tool.
This has the drawback that if we have in our TW additional templates, sidebar elements, ... there are not listed in the tool and also need to be manually added.
Could you automatically list them?

If I take the example of sidebar elements.
One option to do so could be to populate the list with elements tagged "$:/tags/SideBarSegment" and let's say "$:/tags/SideBarSegment/Optional".
When an item is checked (to be displayed) tag it only with "$:/tags/SideBarSegment", when an item is unchecked (hidden) tag it with ""$:/tags/SideBarSegment/Optional" only.

Best regards,

Eskha

David Gifford

unread,
Mar 8, 2021, 8:42:31 AM3/8/21
to tiddl...@googlegroups.com
Hi Eskha

There are some added manually, but the "Alternate sidebar tabs" are not manual, at least they have not been since some point on Saturday. You can add your own with the tag $:/giffmex/sidebarsegments.

Also, yesterday I made the Backlink options function the same way. Tag: $:/giffmex/backlinks

What I do have manual that could be frustrating is that in the tabs of, for example, Setup, I list them manually, because if I do it tag-based, then when TW updates, the tags will be removed from the core tiddlers, leading to confusion. I do intend to add to this so users can add custom tabs via tags to tab groups that also have core tiddlers. But I am not there yet.

Also, I am hoping that when I am done, the elements visible in the sidebar will be draggable so the user can rearrange them.

Thanks for your input!




--
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/_Od9ywP7mss/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/268a3d94-2c05-4367-90ce-86ddf7a98b8cn%40googlegroups.com.

David Gifford

unread,
Mar 8, 2021, 9:13:25 AM3/8/21
to tiddl...@googlegroups.com
Thanks Mohammad, looks great! I was debating on this, but I think I am going to go with it. I will work this into my system today or tomorrow. Got a lot going on this week and next. I started this project this weekend with free time and it kind of snowballed!

Thank you again!

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/_Od9ywP7mss/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMARwYzUb5SYsvY4rJCSF1R23uErk2%3Do0bQ12dsbpzdN6Q%40mail.gmail.com.

Eskha

unread,
Mar 12, 2021, 5:09:24 AM3/12/21
to TiddlyWiki
Hi David,

For a similar use case I have use buttons:
* One to modify the tags of sidebar related core tiddlers
* One to restore their original value (by deleting the modified shadows tiddler)

Below is the tiddler I have created for that purpose.
Hope it may be of some help to you or anyone else.

Best regards,

Eskha


\define sb(name) $:/core/ui/SideBar/$name$
\define msb(name) $:/core/ui/MoreSideBar/$name$
\define remove() +[!prefix[$:/]] $:/tags/UnusedSideBar $:/tags/ModifiedCoreSideBar
\define move-to(to) +[!prefix[$:/]] $:/tags/$to$SideBar $:/tags/ModifiedCoreSideBar

You can modify core Side Bar elements from here  or restore them to default value.

! Installation

//The following action will modify core elements.//

<$button>
<$action-listops $tiddler=<<sb Open>> $tags=<<remove>>/>
<$action-listops $tiddler=<<sb Recent>> $tags=<<remove>>/>
<$action-listops $tiddler=<<msb All>> $tags=<<remove>>/>
<$action-listops $tiddler=<<msb Missing>> $tags=<<remove>>/>
<$action-listops $tiddler=<<msb Orphans>> $tags=<<remove>>/>
<$action-listops $tiddler=<<msb Recent>> $tags=<<remove>>/>
<$action-listops $tiddler=<<msb Shadows>> $tags=<<remove>>/>
<$action-listops $tiddler=<<msb System>> $tags=<<remove>>/>
<$action-listops $tiddler=<<msb Tags>> $tags=<<remove>>/>
<$action-listops $tiddler=<<msb Drafts>> $tags=<<move-to Notes>>/>
<$action-listops $tiddler=<<sb Tools>> $tags=<<move-to Tools>>/>
<$action-listops $tiddler=<<msb Types>> $tags=<<move-to System>>/>
<$action-listops $tiddler=<<msb Plugins>> $tags=<<move-to System>>/>
<$action-listops $tiddler=<<msb Explorer>> $tags=<<move-to System>>/>

Remove or move Core Side Bar elements
</$button> 

Currently removed or moved Core Side Bar elements:

<<<

<$list filter="[tag[$:/tags/ModifiedCoreSideBar]sort[title]]" template="$:/core/ui/ListItemTemplate"/>

<<<


! Restore default core elements

The following action is used to restore core elements. (This may be useful before upgrading.)

<$button>
<$list filter="[tag[$:/tags/ModifiedCoreSideBar]]">
<$action-deletetiddler $tiddler=<<currentTiddler>>/>
</$list>

Restore Core Side Bar elements
</$button>

 
Reply all
Reply to author
Forward
0 new messages