Re: [tw5] Re: Streams 0.2 preview

2021-04-20 Thread Mohammad Rahmani
Hi Saq, Many thanks for the update! I tested and it is considerably faster than the previous release! Compatibility with color palettes is great! The Setting panel is lovely! (While I would like to have official Settings tab work for all plugins but seems it only available if CodeMirror is

[tw5] Re: "Recent" view doesn't show today's changes

2021-04-20 Thread Saq Imtiaz
This is a long shot but check to see if any of your tiddlers have an invalid string (i.e. not in the required format) for the modified or created fields. There was an issue on tiddlywiki.com a while back where a tiddler had NaN for the modified field which was bugging out the timeline macro

Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-20 Thread Saq Imtiaz
Hi Jan, I'll reiterate from my first post that this is just a quick and messy POC with a very narrow usage window because of the CORS requirement. Also note that apparently Twederation is supposed to be able to silently import content in the background as well, as pointed out by Jeremy above.

Re: [tw5] Re: [ Streams ] : feedback and issues

2021-04-20 Thread Saq Imtiaz
@arun I am not familiar with CommandPalette (CP), so this might be a question better asked of the responsible developer or other users of the plugin, i.e. how to trigger action strings with CP. You could try adding this in a tiddler tagged with $:/tags/ViewTemplate, which should make the

[tw5] Just a thought: embedding TiddlyWiki documentation in our TiddlyWikis?

2021-04-20 Thread Charlie Veniot
Just a silly thought I had. There are certain pages of TiddlyWiki documentation that I often reference (in particular: filter operators and widgets). It just dawned on me that these (the static pages) would be nice to have displayed in a sidebar tab for all my TiddlyWiki instances. [image:

[tw5] Re: "Recent" view doesn't show today's changes

2021-04-20 Thread Soren Bjornstad
Sorry, I'm not following. On Tuesday, April 20, 2021 at 8:17:13 PM UTC-5 TW Tones wrote: > Timestamps updates the modified date in tiddlers from Memory! > > On Wednesday, 21 April 2021 at 11:15:48 UTC+10 Soren Bjornstad wrote: > >> Good thought, but yes, it is – and as noted, the timestamps are

[tw5] Re: "Recent" view doesn't show today's changes

2021-04-20 Thread TW Tones
Timestamps updates the modified date in tiddlers from Memory! On Wednesday, 21 April 2021 at 11:15:48 UTC+10 Soren Bjornstad wrote: > Good thought, but yes, it is – and as noted, the timestamps are being > updated in the tiddler files. > > On Tuesday, April 20, 2021 at 7:48:55 PM UTC-5 TW Tones

Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-20 Thread TW Tones
Folks, I have long sought something similar, and wonder if the following approach would help with remote tiddlers, loading/importing and performance. - Provide a utility to save filtered tiddlers (json) to another filename on the host, not index.html or wikiname.html, a bit like rss

[tw5] Re: "Recent" view doesn't show today's changes

2021-04-20 Thread Soren Bjornstad
Good thought, but yes, it is – and as noted, the timestamps are being updated in the tiddler files. On Tuesday, April 20, 2021 at 7:48:55 PM UTC-5 TW Tones wrote: > Soren, > > Quick check, > > Under sidebar > Tools > > Is timestamps on? > > Tones > On Tuesday, 20 April 2021 at 23:07:15 UTC+10

[tw5] Re: "Recent" view doesn't show today's changes

2021-04-20 Thread TW Tones
Soren, Quick check, Under sidebar > Tools Is timestamps on? Tones On Tuesday, 20 April 2021 at 23:07:15 UTC+10 Soren Bjornstad wrote: > In one of my wikis, I frequently find that the "Recent" tab doesn't show > the changes I've made on the current day – the view is stuck at showing the >

[tw5] Re: Tiddloid: Any way to create a shortcut to a specific tiddler?

2021-04-20 Thread TW Tones
Si, The info tiddlers prefix[$:/info/ ] store values passed from the URL that opened the wiki. One is $:/info/url/search which passes the values on the URL that follow the "?". if there is

Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-04-20 Thread TW Tones
Morosanuae, You may with to add from tiddlywiki 5.1.23 if you add xmlns="http://www.w3.org/2000/svg; after the opening svg tag, and set the tiddler type to image/svg+xml the svg icons can be used as a $:/favicon.ico Tones On Wednesday, 21 April 2021 at 07:32:25 UTC+10 moros...@gmail.com

Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-04-20 Thread TW Tones
Thanks Morosanuae for this wonderful resource. Is it safe to use and distribute tiddlywikis using this icons, without further attribution? Regards Tones On Wednesday, 21 April 2021 at 07:32:25 UTC+10 moros...@gmail.com wrote: > A new version of *"TW Icons"* is available !!! > > *v1.7

Re: [tw5] Re: Display tags in Tiddlers

2021-04-20 Thread Anjar
Hi Mohamed, I'm not sure I fully understand your question, but here is an example that produce a table with tiddlers (by letter) to the left and the tags of the tiddler to the right; perhaps you wanted the opposite..? <$list filter="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"> <>

Re: [tw5] Re: [plugin] TOC generic - shows toc,backlinks,list and listed up front

2021-04-20 Thread arun babu
Hi HCHaase, Thanks for the update. Everything works fine. I use it in all of my wikis. Arun On Friday, March 12, 2021 at 6:32:29 PM UTC+5:30 haas...@gmail.com wrote: > yay.. partial mode for freelinks > > *Announcement*: TOC Generic > *Date*: 2021/03/12 > *Release*: 2.2.1 > > Downlaod/demo:

Re: [tw5] Re: [ Streams ] : feedback and issues

2021-04-20 Thread arun babu
Hi Saq, I can understand that you might have got busy with your work. No worries. I had 4 questions. 1. I will be happy if you can help me to make this template. I tried the code which you gave and its what I want - but how to make the new case button or the template appear automatically in

[tw5] German documentation / deutsche Dokumentation

2021-04-20 Thread Frank Bruns-Ballhausen
Hello everyone, I have my difficulties with the English language. That is why I have inserted many tiddlers from the documentation of tiddlywiki.com into the German translation by pmario and ChrisK. Of course, it would be a great pity if it was only on my hard drive. How can I make the

Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-04-20 Thread moros...@gmail.com
A new version of *"TW Icons"* is available !!! *v1.7 *(https://morosanuae.github.io/tw-icons). Now with a total of *~44000 icons* *(17 libraries)*. *Features*: - *1 new* library added: *"CoreUI Icons"*. For more info, please checkout the "version history". On Tuesday, April 20, 2021 at

Re: [tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Mohammad Rahmani
Thank you Mat! Nice addition! Best wishes Mohammad On Tue, Apr 20, 2021 at 10:53 PM Mat wrote: > Mohammad wrote: > >> How the URL shall be given as an encoded uri? >> > > See https://link-or-ext.tiddlyhost.com/ > > The macro is called like this > >

Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-04-20 Thread moros...@gmail.com
@Mohammad You're welcome! On Tuesday, April 20, 2021 at 4:05:58 PM UTC+3 Mohammad wrote: > > One the best resources for Tiddlywiki! > > Thank you Morosanuae! > > > Best wishes > Mohammad > > > On Tue, Apr 20, 2021 at 5:20 PM moros...@gmail.com > wrote: > >> A new version of *"TW Icons"* is

[tw5] Re: Streams 0.2 preview

2021-04-20 Thread Saq Imtiaz
Thanks @si, that should be fixed though you may need to clear your cache to see the updated version. On Tuesday, April 20, 2021 at 8:35:01 PM UTC+2 si wrote: > Wow Saq thank you - I'm really looking forward to the next release! > > One possible bug: I'm finding that the context menu hangs over

[tw5] Re: Streams 0.2 preview

2021-04-20 Thread si
Wow Saq thank you - I'm really looking forward to the next release! One possible bug: I'm finding that the context menu hangs over the left side of the screen. Seeing this in both Brave and Firefox on Windows. On Tuesday, 20 April 2021 at 16:59:55 UTC+1 saq.i...@gmail.com wrote: > Apologies

Re: [tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Mat
Mohammad wrote: > How the URL shall be given as an encoded uri? > See https://link-or-ext.tiddlyhost.com/ The macro is called like this > i.e the URL is just copy-pasted from some wiki. By the way, you who also create a lot of community

Re: [tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Mohammad Rahmani
Mat, How the URL shall be given as an encoded uri? Best wishes Mohammad On Tue, Apr 20, 2021 at 12:54 PM Mat wrote: > Saq Imtiaz wrote: > >> Use a filter run prefix. >> > > Appreciated. That'll be useful in other cases but it turns out it was not > relevant for this issue. > >

[tw5] Re: Tiddloid: Any way to create a shortcut to a specific tiddler?

2021-04-20 Thread si
Hi Tones, thanks for the reply. >>> If the wikis default tiddler is Shopping%20list this should open each time, but do you want multiple links to the same wiki in Tiddloid? Yep I'm looking to open a link to a tiddler that isn't a default. >>> Perhaps there is a way to edit the address in the

[tw5] Re: Streams 0.2 preview

2021-04-20 Thread Saq Imtiaz
Apologies for the delay with getting Streams 0.2 released, the last few months have been hectic. I've found some time to resolve some of the outstanding issues and hope to get a new stable release of 0.2 out next week. Any testing on this new interim version would be appreciated, just to help

[tw5] Re: Subfilter recursion

2021-04-20 Thread Yaisog Bonegnasher
Here is my 5-level-deep tiddler collection beneath a tag á la Mark: \define tiddlertree-level5() [tagging[]] \define tiddlertree-level4() [tagging[]] [tagging[]subfilter] \define tiddlertree-level3() [tagging[]] [tagging[]subfilter] \define tiddlertree-level2() [tagging[]] [tagging[]subfilter]

[tw5] Re: sorting json data

2021-04-20 Thread Jean-Pierre Rivière
Thanks to the ideas of Tones, I have found out how to solve elegantly my problem. And found out two oddities as well. But firs, let 's see the the data in tiddler "projets-json": [ { "project": "pleiade", "name": "Pléiade v5", "url": "http:pleiade.test.acmeserver.com"

[tw5] Re: Pipe | ruins filter. Alternatives?

2021-04-20 Thread Mat
Thanks Alvaro. For some reason I don't get that to work in my context, i.e: https://link-or-ext.tiddlyhost.com/ The workaround I use there is bad but maybe it'll have to do (breifly; the user has to himself suffix the pipe character to the pretty title in the macro call) Thanks. <:-) On

[tw5] Re: Subfilter recursion

2021-04-20 Thread Yaisog Bonegnasher
I have to admit that I am beginning to like Mark's solution with the numbered subfilter definitions, even though I unfairly called it "not really pretty". The neat thing about it is that adding another level of "pseudo-recursion" is very easy and very clear. Putting everything into a single

[tw5] "Recent" view doesn't show today's changes

2021-04-20 Thread Soren Bjornstad
In one of my wikis, I frequently find that the "Recent" tab doesn't show the changes I've made on the current day – the view is stuck at showing the changes that were made on the most recent prior day that there were any changes. Refreshing the page or restarting the server (Node.js method,

Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-04-20 Thread Mohammad Rahmani
One the best resources for Tiddlywiki! Thank you Morosanuae! Best wishes Mohammad On Tue, Apr 20, 2021 at 5:20 PM moros...@gmail.com wrote: > A new version of *"TW Icons"* is available !!! > > *v1.6 *(https://morosanuae.github.io/tw-icons). Now with a total of *~43000 > icons* *(16

Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-04-20 Thread moros...@gmail.com
A new version of *"TW Icons"* is available !!! *v1.6 *(https://morosanuae.github.io/tw-icons). Now with a total of *~43000 icons* *(16 libraries)*. *Features*: - *1 new* library added: *"Phosphor Icons"*. - Added a loading (splash) screen — a lighter version of the original

[tw5] Re: Pipe | ruins filter. Alternatives?

2021-04-20 Thread Álvaro
You can use a variable for pipe. This works <$vars l="[[" r="]]" x="|">{{{ hi HelloThere +[joinaddprefixaddsuffix] }}} El martes, 20 de abril de 2021 a las 14:18:13 UTC+2, Mat escribió: > I want to create a pretty title link in a filter. Unfortunately the pipe > character in hi| breaks the

[tw5] Pipe | ruins filter. Alternatives?

2021-04-20 Thread Mat
I want to create a pretty title link in a filter. Unfortunately the pipe character in hi| breaks the filter (ref1 ). E.g these attempts no worky: <$vars l="[[" r="]]">{{{ HelloThere +[addprefix[hi*|*]addprefix[l]addsuffix[r]] }}} <$vars

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Saq Imtiaz
That makes sense and yes it isn't how emptyMessage works, as the variable is only set by the ListWidget when the filter has a result. I had assumed from your code that you wanted {{!!title}} in the emptyMessage to mean you wanted the title of the currentTiddler as set outside the list widget.

[tw5] Re: Filter: True if tiddler exists as either tid or shadow.

2021-04-20 Thread Mat
I was indeed missing something obvious! ;-) Thanks PMario! <:-) On Tuesday, April 20, 2021 at 12:18:50 PM UTC+2 PMario wrote: > Hi, > eg: [[$:/plugins/tiddlywiki/browser-sniff/readme]get[title]] will return a > title if it exists as shadow or tiddler > or: [[test]get[title]then[yes]else[no]]

[tw5] Re: Filter: True if tiddler exists as either tid or shadow.

2021-04-20 Thread PMario
Hi, eg: [[$:/plugins/tiddlywiki/browser-sniff/readme]get[title]] will return a title if it exists as shadow or tiddler or: [[test]get[title]then[yes]else[no]] will tell you if the test tiddler exists -mario -- You received this message because you are subscribed to the Google Groups

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Mat
>{{!!title}} in emptyMessage will correspond to the title of the the currentTiddler variable outside the ListWidget. >Perhaps explain what it is you expect when using {{!!title}} in emptyMessage. Thanks for following up! Exactly, {{!!title}} would get the title outside the listwidget. What I

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Saq Imtiaz
Hi Mat, are you sure about that? @Saq - thanks, I actually tried that, but the problem is that emptyMessage > doesn't know what {{!!title}} is, so to say. (It would be desirable that it > did!) > > {{!!title}} in emptyMessage will correspond to the title of the the currentTiddler variable

[tw5] Re: sorting json data

2021-04-20 Thread Jean-Pierre Rivière
nice one too. I had not thought about using macros to define constants. Handier that using variables. Is that a regular feature of your coding, Tones? Le mardi 20 avril 2021 à 07:34:59 UTC+2, TW Tones a écrit : > In your example there is a field with the value "name" for every entry, > they

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Mat
@Saq - thanks, I actually tried that, but the problem is that emptyMessage doesn't know what {{!!title}} is, so to say. (It would be desirable that it did!) <:-) On Tuesday, April 20, 2021 at 10:26:55 AM UTC+2 Saq Imtiaz wrote: > You could also try something like this (untested): > >

[tw5] Filter: True if tiddler exists as either tid or shadow.

2021-04-20 Thread Mat
Ehm... I must be missing something very obvious: How can I tell if the filter output thus far exists at all, i.e regardeless if it is a tiddler or a shadow? For example ...is[tiddler+shadow] is an invalid oparand for the is operator Maybe there is some way to tell if the filter output thus far

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Saq Imtiaz
You could also try something like this (untested): \define linkOrExt(url) <$list filter="""$url$ +[split[#]rest[]decodeuri[]join[ ]!is[missing]]""" emptyMessage="""> rel="noopener noreferrer" target="_blank">{{!!title}}"""> {{{ [<__url__>split[#]rest[]decodeuri[]join[ ]] }}} \end On Tuesday,

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Mat
Saq Imtiaz wrote: > Use a filter run prefix. > Appreciated. That'll be useful in other cases but it turns out it was not relevant for this issue. But formulating the problem that emptyMessage was not linkified did spark some thoughts so the current status is decent enough:

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Saq Imtiaz
Quick thought: (I wish the else op could somehow enclose a full expression directly in > the filter: "...else" ) > Use a filter run prefix. [... my first filter run..] :else[.. my other filter run...] -- You received this message because you are subscribed to the Google Groups

[tw5] Return link if exists otherwise external link

2021-04-20 Thread Mat
In the *readme *of a plugin I want to link to a tiddler that is not part of the plugin. If that tiddler exists in the wiki, then the link should be a regular tiddlylink. If the tiddler is missing then it should be an external url to where that tiddler can be found. The following works,

Re: [tw5] One journal tiddler / day (like a diary): how?

2021-04-20 Thread TW Tones
Here is one updated for 5.1.23 which uses an action tiddler. 1. New Journal and New Journal here will set the journal date, for reliable search, sort and the ability to change from the created date. 2. I have also modified the newhere to use a different title definition in

[tw5] Re: Detecting with wikitext if a plugin is installed and active

2021-04-20 Thread PMario
Hi, IMO if [[$:/plugins/tiddlywiki/codemirror/readme]is[shadow]] the plugin has been activated and it has been installed. -m On Monday, April 19, 2021 at 8:45:34 PM UTC+2 Saq Imtiaz wrote: > I am wondering if anyone has a better solution for detecting in wikitext > whether a plugin is

Re: [tw5] Detecting with wikitext if a plugin is installed and active

2021-04-20 Thread Saq Imtiaz
Thank you Joshua! I wondered about a widgets[] operator last night but did not realize we had one for modules. So this works for codemirror: [[widget]modules[]prefix[$:/plugins/tiddlywiki/codemirror/edit-codemirror.js]] Since enabling/disabling the plugin does not take effect until after a

Re: [tw5] One journal tiddler / day (like a diary): how?

2021-04-20 Thread TW Tones
Folks, I will just add I have simplified journals by adding a Journal-date field at creation, with a data picker this allows a Journal to be forward or backdated, I use the journal-date field for sorting rather than created or the tiddlers title. Thus you could if you wish create a toolbar