Could this sidebar hack be done in TiddlyWiki?

254 views
Skip to first unread message

David Gifford

unread,
Feb 4, 2020, 10:38:43 PM2/4/20
to TiddlyWiki
Right click a link (or ctrl+something) and have the tiddler open, whether in view mode or in edit mode, in a sidebar tab, so you can read side-by-side, or grab from one to paste in the other. See here - https://youtu.be/WTSHhj92pvM?t=76

I am not asking for a favor here. Just asking if this is something doable / exciting / worth doing as a TiddlyWiki plugin feature.

TonyM

unread,
Feb 5, 2020, 3:57:25 AM2/5/20
to TiddlyWiki
David

I believe this has being done before. Search for sidebar editor.

However we could build one. Or a special tiddler containing two tiddlers with separate modes.

Tony

David Gifford

unread,
Feb 5, 2020, 9:04:50 AM2/5/20
to TiddlyWiki
Hi TonyM

Sorry, I meant that one tiddler would be open in the river and the other would be open in a sidebar. Sidebar editor has a roughly similar feel, but both are the same tiddler.

Dave

PMario

unread,
Feb 5, 2020, 12:55:02 PM2/5/20
to TiddlyWiki

David Gifford

unread,
Feb 5, 2020, 5:35:12 PM2/5/20
to TiddlyWiki
Hi PMario

Could you elaborate?

springer

unread,
Feb 6, 2020, 11:16:01 AM2/6/20
to TiddlyWiki
David, it seems PMario was noticing that the stamp function can achieve the *specific* task that the Roam-vlogger was doing (getting the morning routine stuff into the current editing window).

But if you want something displaying in parallel for some *other* purpose, it should be easy to hack something like $:/plugins/ajh/favorites
so that it transcludes whatever is so marked, rather than furnishing a list of tiddlers so marked...

but maybe there's a catch, or something about *how* to pull something into that place, that you're trying to achieve?

-Springer

David Gifford

unread,
Feb 6, 2020, 12:29:26 PM2/6/20
to TiddlyWiki
Thanks springer. Will check it out.

springer

unread,
Feb 6, 2020, 2:26:26 PM2/6/20
to TiddlyWiki
Dave,

On second thought, I realize that the real challenge comes with hacking the "on-click" behavior, at the link, to accomplish something like adding the relevant tag (so that it would get displayed by the sidebar). So, hacking the sidebar tab is only the smallest piece of what you'd need. 

But the idea of a contextual menu of options for a Tiddler's link (view/edit/display at sidebar/"touch" to change modification date, etc.) would be really exciting! 

Unfortunately, control-click is often already crowded with various browser-controlled functions... 

But perhaps it's possible to hack the display of every internal link (or a filtered subset) so that there's an asterisk (or something) after the standard link, where clicking the asterisk would set the relevant tiddler's tag (or set a variable to its name, to ensure only one is so marked at a time) and thereby gets it to display on sidebar -- while also selecting the relevant sidebar if a different one is displaying...

-Springer

David Gifford

unread,
Feb 6, 2020, 2:36:36 PM2/6/20
to tiddl...@googlegroups.com
My workaround can be seen in the 'parallel' tab of https://giffmex.org/gifts/tiddlyblink.html, which is the tiddler $:/.giffmex/sidebar/parallel

The tab grabs whatever tiddler is tagged `parallel` and shows link to title / box to edit the tags / transclude the text.

David Gifford

--
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/tAPfiEU-0E4/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/4b031efb-3a0b-48ac-b3fd-1e2462ea87ee%40googlegroups.com.

Julio Peña

unread,
Feb 6, 2020, 3:06:44 PM2/6/20
to TiddlyWiki
Hello all,

@David: Wow...those are some INTERESTING concepts you have going with your Tiddlyblink!
Kudos from me!

Blessings,

Julio

David Gifford

unread,
Feb 6, 2020, 4:05:33 PM2/6/20
to tiddl...@googlegroups.com
Thanks Julio!

--
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/tAPfiEU-0E4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.

A Gloom

unread,
Feb 7, 2020, 12:30:17 AM2/7/20
to TiddlyWiki
this doesn't meet your right click requirement-- but I copy a tiddler title and paste it into this tiddler in the sidebar-- see attached

For temporarily displaying a tiddler in the sidebar (without having to tag it– just type the tiddler title in the text field

CODE:

{{#sidebar tiddler display template}} &nbsp;<$list filter="[{$:/temp/sbartidddisplayvalue}is[tiddler]]" emptyMessage="tiddler doesn't exist" ></$list>

<$transclude tiddler={{$:/temp/sbartidddisplayvalue}}/>

USES:

  • #sidebar tiddler display template
    • for text edit field

CREATES:

  • $:/temp/sbartidddisplayvalue
    • stores text edit field content for transcluding below the text edit field

WORKING EXAMPLE

  • in sidebar: click Show tiddler tab in right sidebar
  • _tiddler: tiddler display in sidebar

Clipboardsideb.jpg


tiddler display in sidebar.tid
#sidebar tiddler display template.tid

Mohammad

unread,
Feb 7, 2020, 4:56:51 AM2/7/20
to TiddlyWiki
Very smart solution!
Thank you

Mohammad

unread,
Feb 7, 2020, 4:57:08 AM2/7/20
to TiddlyWiki
Added to TW-Scripts


On Friday, February 7, 2020 at 9:00:17 AM UTC+3:30, A Gloom wrote:

David Gifford

unread,
Feb 7, 2020, 7:50:04 AM2/7/20
to tiddl...@googlegroups.com
Wow, that sounds like a great solution, A Gloom! I suddenly got swamped with other issues I need to attend to, so I will try this out on the weekend. Blessings,

David Gifford

--
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/tAPfiEU-0E4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.

David Gifford

unread,
Feb 7, 2020, 11:07:36 AM2/7/20
to TiddlyWiki
I had an unexpected breather for a moment, so I tried A Gloom's code. Works great! I made some tweaks and renamed the tiddlers, and updated TiddlyBlink, and credited you in the change log. Thank you so much for this valuable improvement to TiddlyBlink! Check out the parallel tab at https://giffmex.org/gifts/tiddlyblink.html to see the result. If the parallel tab mentions tagging, you will need to refresh the browser window to see the new version.

On Friday, February 7, 2020 at 6:50:04 AM UTC-6, David Gifford wrote:
Wow, that sounds like a great solution, A Gloom! I suddenly got swamped with other issues I need to attend to, so I will try this out on the weekend. Blessings,

David Gifford

On Thu, Feb 6, 2020 at 11:30 PM A Gloom <barro...@gmail.com> wrote:
this doesn't meet your right click requirement-- but I copy a tiddler title and paste it into this tiddler in the sidebar-- see attached

For temporarily displaying a tiddler in the sidebar (without having to tag it– just type the tiddler title in the text field

CODE:

{{#sidebar tiddler display template}} &nbsp;<$list filter="[{$:/temp/sbartidddisplayvalue}is[tiddler]]" emptyMessage="tiddler doesn't exist" ></$list>

<$transclude tiddler={{$:/temp/sbartidddisplayvalue}}/>

USES:

  • #sidebar tiddler display template
    • for text edit field

CREATES:

  • $:/temp/sbartidddisplayvalue
    • stores text edit field content for transcluding below the text edit field

WORKING EXAMPLE

  • in sidebar: click Show tiddler tab in right sidebar
  • _tiddler: tiddler display in sidebar

Clipboardsideb.jpg


--
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/tAPfiEU-0E4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.

A Gloom

unread,
Feb 8, 2020, 5:32:44 PM2/8/20
to TiddlyWiki
David

I had an unexpected breather for a moment, so I tried A Gloom's code. Works great! I made some tweaks and renamed the tiddlers, and updated TiddlyBlink, and credited you in the change log. Thank you so much for this valuable improvement to TiddlyBlink! Check out the parallel tab at https://giffmex.org/gifts/tiddlyblink.html to see the result. If the parallel tab mentions tagging, you will need to refresh the browser window to see the new version.

I am honored : )  Always glad to help.  I shall check it out-- am interested in improvements you made to it-- to improve the code in my wikis.
Reply all
Reply to author
Forward
0 new messages