[tw5] Re: WidgetMessage: tm-new-tiddler with auto tagging

2020-12-15 Thread Michael Wiktowy
A tangent. I was just looking for a more concise/intuitive/automatic way to convert a title (or string in general) with spaces into a single title in a title list rather than each word being separate. I get caught up by manipulating/building Title Lists to use as tags frequently. I guess the

Re: [tw5] Re: Presenting: a plugin which automatically relinks renamed tiddlers

2020-12-15 Thread Mohammad Rahmani
On Wed, Dec 16, 2020 at 8:18 AM Flibbles wrote: > Really? I would have thought Tiddler Commander could handle that just fine. > Well, Commander only works on existing tiddlers! I think working with non-existing tiddlers can complicate the whole thing. > > If somebody wanted to rename a

Re: [tw5] [HelpRequest] Stamp the date and time as text so it does not change?

2020-12-15 Thread tony
This one from Riz still works well :-) <$action-sendmessage $message="tm-edit-text-operation" $param="replace-selection" text=<> /> and similar to TonGerner's

[tw5] Re: WidgetMessage: tm-new-tiddler with auto tagging

2020-12-15 Thread Saq Imtiaz
> Also, I was trying every operator to see if there was an alternative > solution to manually wrapping the title with [[ and ]] using > addprefix/suffix but there doesn't seem to be a replacement for the > $vars/addprefix/addsuffix construction. > > I am curious, what purpose is that serving

Re: [tw5] Re: Presenting: a plugin which automatically relinks renamed tiddlers

2020-12-15 Thread Flibbles
Really? I would have thought Tiddler Commander could handle that just fine. If somebody wanted to rename a non-existent tag using Relink, I'd tell them to make the tag, rename it, and then delete it. On Tuesday, December 15, 2020 at 11:36:22 PM UTC-5 Mohammad wrote: > Hi Flibless, > > This is

Re: [tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-15 Thread Mohammad Rahmani
> > Saq et al, > > I love these semi-competitive focused coding task threads. I like to > generalise and simplify too, > I love these kind of scripting, as I learn new things ;-) > As a result I seem to have identified that the new toggle operator and > parameters is not accepting this form

Re: [tw5] Re: Presenting: a plugin which automatically relinks renamed tiddlers

2020-12-15 Thread Mohammad Rahmani
Hi Flibless, This is a great move specially for those who work with Node.js version of Tiddlywiki. Thank you for sharing. One question: there is an edge case for when tiddlers are not physically existed but you like to rename them! Example is tags, you may have several tags for example

Re: [tw5] [HelpRequest] Stamp the date and time as text so it does not change?

2020-12-15 Thread Mohammad Rahmani
Hi David, One of the best is Insert Timestamp with ctrl+D shortcut from Ton Gerner http://tongerner.tiddlyspot.com/ Ton has created very useful tools but he never advertises them! It is worth adding some of these tools to Tiddlywiki Toolmap. I am a fan of his great work on Tiddlywiki. Best

[tw5] Re: WidgetMessage: tm-new-tiddler with auto tagging

2020-12-15 Thread Michael Wiktowy
I often struggle with filter syntax so thanks for the counter-example as I find those easiest to learn from. In playing around with it, there is an interesting subtlety with Mark's solution that makes it slightly different/better. If the template does not already exist: 1) it will not tag the

[tw5] Re: Noteself - Tiddlers disappearing on other devices. What am I missing?

2020-12-15 Thread Flibbles
I know I'm late to the party here, but are you using lazy tiddler loading? It has a few issues that can cause tiddler bodies be deleted. On Thursday, July 2, 2020 at 9:49:11 AM UTC-4 Sean Carter wrote: > I'm using Tiddlywiki with Noteself for automatic saving in addition to a > few other

[tw5] Re: Query: Plugin Libraries? Who has them?

2020-12-15 Thread Flibbles
On Friday, July 31, 2020 at 3:24:13 PM UTC-4 TiddlyTweeter wrote: > Ciao PMario > > Fibbles plugin Library has dependencies as it invokes language tiddlers > you need RELINK for already to show. If you try invoke it without that > you'll get blanks. > Knowing that you can install the plugin

[tw5] Re: Use Relink to rename similar tiddlers

2020-12-15 Thread Joshua Fontany
This will work really really well with the new filesystem code. Behind the scenes when you "rename" a tiddler, the old one is deleted from the "store" and a new one is created with the new title field and then all other field copied over. Thanks! Best, Joshua F On Tuesday, December 15, 2020

[tw5] Re: Rename tiddlers to datetime IDs (unique identifier)

2020-12-15 Thread Flibbles
I don't normally hang around in the Google group, so I didn't see this until now. I read what you wrote several times but I'm still not clear on what Relink is doing wrong, or what it's supposed to be doing but isn't. You don't still need help, do you? -Flibbles On Thursday, October 22, 2020

[tw5] Re: Error running savewikifolder

2020-12-15 Thread 'Mark S.' via TiddlyWiki
On Tuesday, December 15, 2020 at 3:38:55 PM UTC-8 joshua wrote: > So, unpacking a single-file wiki does not include the plugins required to > serve it via node.js "by default" because they do not, in fact, exist in > the wiki when it is unpacked. > > I suspect most ordinary users were

[tw5] Re: Presenting: a plugin which automatically relinks renamed tiddlers

2020-12-15 Thread Flibbles
For those who may be interested, many people requested that Relink be able to handle renaming titles of nested directory tiddlers associated with a renamed tiddler. Here it is. Relink-titles, the supplemental plugin . It also allows for

[tw5] Re: Use Relink to rename similar tiddlers

2020-12-15 Thread Flibbles
I am here to say that Relink can now handle this very case. Introducing Relink-Titles It's a supplemental Relink plugin that allows for title updating of any directory-nested tiddlers. And also any custom filter rules, or rules

Re: [tw5] Re: [HelpRequest] Stamp the date and time as text so it does not change?

2020-12-15 Thread David Gifford
Thanks Tones! I will try it out! On Tue, Dec 15, 2020 at 5:55 PM TW Tones wrote: > The typical solution to this is to first use wikify the macro or variable > before setting > > <$wikify name=date text="""<>""> > ... > button and action widget use <> as the value not <> > > > Regards > Tones

Re: [tw5] Re: [HelpRequest] tag pill dropdown twak

2020-12-15 Thread David Gifford
Thanks Tones! I will try it out! David Gifford Mexico team leader, Mexico City *Resonate Global Mission* *Engaging People. Embracing Christ.* A Ministry of the Christian Reformed Church resonateglobalmission.org On Tue, Dec 15, 2020 at 5:49 PM TW Tones wrote: > David, > > This is too easy

[tw5] Re: [HelpRequest] Stamp the date and time as text so it does not change?

2020-12-15 Thread TW Tones
The typical solution to this is to first use wikify the macro or variable before setting <$wikify name=date text="""<>""> ... button and action widget use <> as the value not <> Regards Tones On Wednesday, 16 December 2020 at 07:11:52 UTC+11 David Gifford wrote: > > Hi all > > I was so

Re: [tw5] Compress JSON with JSONCRUSH

2020-12-15 Thread TW Tones
Jeremy, On the zip plugin I see value in proving preconfigured template to zip and export; - Larger JSON/plugin files *as in this thread* - static sites - library files with nominated plugins (*I am really keen on this*) - The first thing I will do is use it to generate a library

[tw5] Re: Error running savewikifolder

2020-12-15 Thread Joshua Fontany
It's interesting. If you look at the core editions, they come in pairs, like "tw.com" and "tw.com-server". The "-server" version has the needed plugins in the tiddlywiki.info file: ``` "tiddlywiki/tiddlyweb", "tiddlywiki/filesystem", ``` and also loads the rest of the edition via

[tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-15 Thread TW Tones
Post script, In another project I am using unicode and I would call the night-day tiddler night-dayⒷ then if you search night or day this is listed and indicates its a button. {{night-dayⒷ}} Regards tones On Wednesday, 16 December 2020 at 10:28:37 UTC+11 TW Tones wrote: > Saq et al, > > I

[tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-15 Thread TW Tones
Saq et al, I love these semi-competitive focused coding task threads. I like to generalise and simplify too, As a result I seem to have identified that the new toggle operator and parameters is not accepting this form (as in Saq's example) text={{{[{$:/palette}toggle,< darkPalette>] }}}/>

[tw5] Re: [HelpRequest] tag pill dropdown twak

2020-12-15 Thread David Gifford
tweak, not twak. On Tuesday, December 15, 2020 at 5:17:56 PM UTC-6 David Gifford wrote: > > Ugh. Why does the tagging mechanism have to be so complicated? > > I created a list-search for all the tags in a file, where the tags show as > tag pills. But I would like the dropdown list of tiddlers

[tw5] [HelpRequest] tag pill dropdown twak

2020-12-15 Thread David Gifford
Ugh. Why does the tagging mechanism have to be so complicated? I created a list-search for all the tags in a file, where the tags show as tag pills. But I would like the dropdown list of tiddlers (when pressing the tag pill) to show the equivalent of <$transclude field="extlink"/> instead of

[tw5] Re: Using TiddlyWiki for fact-based information modelling and database engineering ???

2020-12-15 Thread Bob Jansen
Thanks Tones. Will have a good look at these two. Due to competing priorities, my work on this has been downgraded so I will not be able to do much before the new year. Sorry about this but pragmatics take priority. bobj On Wednesday, 16 December 2020 at 00:00:12 UTC+11 TW Tones wrote: >

[tw5] Re: WidgetMessage: tm-new-tiddler with auto tagging

2020-12-15 Thread 'Mark S.' via TiddlyWiki
Yet another approach: <$button >New Task <$vars left=" [[" right="]]" space=" "> <$action-sendmessage $message="tm-new-tiddler" $param="TaskTemplate" tags={{{ [[TaskTemplate]get[tags]addsuffixaddsuffixaddsuffix] }}} /> Mostly this demonstrates that when you use the

[tw5] [HelpRequest] Stamp the date and time as text so it does not change?

2020-12-15 Thread David Gifford
Hi all I was so pleased when I created this: - https://giffmex.org/gifts/documenting.tw.html#Insert%20the%20current%20time%20as%20text But now I realize it just inserts a macro that changes every time I update the tiddler. Is there a way to stamp the actual date and/or time as TEXT,

[tw5] Re: WidgetMessage: tm-new-tiddler with auto tagging

2020-12-15 Thread Michael Wiktowy
The *action-createtiddler* widget is similar but allows you to save the name of the created tiddler somewhere for subsequent actions. The issue that I often have is that "subsequent" does not just mean further down the macro since actions can trigger in unpredictable ways. In this case, if you

Re: [tw5] Please vote for your favour banner for v5.1.23

2020-12-15 Thread Sylvain Naudin
Congratulations Atronoush !! It was fun to take part :) Cheers, Sylvain Le mardi 15 décembre 2020 à 14:57:37 UTC+1, Atronoush a écrit : > Hi Jeremy, > > I am really happy to have a very small contribution to the Tiddlywiki a > tool I know has many many fans. > Thank you all for selecting

Re: [tw5] Re: Switch between two story views keep the same tiddler in view

2020-12-15 Thread Saq Imtiaz
Here should be fine. Thank you. On Tuesday, December 15, 2020 at 7:29:27 PM UTC+1 Mohammad wrote: > Sue, I prepare a minimal example! Should I post here or on GitHub Dev > discussion board? > > > > Best wishes > Mohammad > > > On Tue, Dec 15, 2020 at 9:53 PM Saq Imtiaz wrote: > >> I suspect

Re: [tw5] Re: Switch between two story views keep the same tiddler in view

2020-12-15 Thread Mohammad Rahmani
Sue, I prepare a minimal example! Should I post here or on GitHub Dev discussion board? Best wishes Mohammad On Tue, Dec 15, 2020 at 9:53 PM Saq Imtiaz wrote: > I suspect the problem is that the navigate is handled before the story > view has actually switched. > > If you can post a file to

Re: [tw5] Re: Switch between two story views keep the same tiddler in view

2020-12-15 Thread Saq Imtiaz
I suspect the problem is that the navigate is handled before the story view has actually switched. If you can post a file to play and experiment with, I can try to take a look as time allows. On Tuesday, December 15, 2020 at 7:06:20 PM UTC+1 Mohammad wrote: > Thank you Saq, > > No success. >

Re: [tw5] Re: Switch between two story views keep the same tiddler in view

2020-12-15 Thread Mohammad Rahmani
Thank you Saq, No success. I start from Classic View with tiddler A, switch to Zoomin View, have A in fous then, open a few tiddlers and then switch back to Classic View. Tiddlywiki always opens the first tiddler in my Open tab (e.g the first one in the story river) and navigates to . On Tue,

[tw5] Re: Error running savewikifolder

2020-12-15 Thread 'Mark S.' via TiddlyWiki
I'm not sure what you mean by "install". You shouldn't have to install them *per se*, just add the two lines: ... "tiddlywiki/tiddlyweb", "tiddlywiki/filesystem", ... to your tiddlywiki.info file in the plugins section. It's odd that --savewikifolder doesn't insert them for

Re: [tw5] Compress JSON with JSONCRUSH

2020-12-15 Thread Jeremy Ruston
> So could it be employed to get those tiddly sites in a link working > consistently that we were playing with? If memory serves it stalled because > of special chars in the url. Or did it get finesses and done and I just > missed it! :) The “share” plugin does indeed embed JSON into an URL,

Re: [tw5] Compress JSON with JSONCRUSH

2020-12-15 Thread Ste
So could it be employed to get those tiddly sites in a link working consistently that we were playing with? If memory serves it stalled because of special chars in the url. Or did it get finesses and done and I just missed it! :) On Tuesday, 15 December 2020 at 11:07:36 UTC jeremy...@gmail.com

[tw5] Re: Error running savewikifolder

2020-12-15 Thread Jack Baty
Thanks for testing it. I hadn't considered the mess that was my set of plugins so I removed everything not required or being used, then re-ran the command to build the node version without error! When starting the wiki the first time I got an error about missing plugins... > Plugins required

[tw5] Re: Switch between two story views keep the same tiddler in view

2020-12-15 Thread Saq Imtiaz
Try this: <$button actions=<>>Switch View <$action-setfield $tiddler="$:/view" text={{{ [{$:/view}match[classic]then[zoomin]else[classic]] }}} /> On Tuesday, December 15, 2020 at 5:09:41 PM UTC+1 Mohammad wrote: > The action button is like this of course it is bonded with a shortcut keys >

[tw5] Re: Switch between two story views keep the same tiddler in view

2020-12-15 Thread Mohammad
The action button is like this of course it is bonded with a shortcut keys combination <$button>Switch View <$action-setfield $tiddler="$:/view" text={{{ [{$:/view}match[classic]then[zoomin]else[classic]] }}} /> <> On Tuesday, December 15, 2020 at 7:31:34 PM UTC+3:30 Mohammad wrote: > Thanks

[tw5] Re: Switch between two story views keep the same tiddler in view

2020-12-15 Thread Mohammad
Thanks Saq! I have written something like below with no luck \define navigate-to-last() <$set name="lastTid" tiddler="$:/HistoryList" field="current-tiddler"> <$action-navigate $to=<> $scroll="yes"/> \end Then I have a manual button to switch the Story View and then call navigate-to-last

[tw5] Re: Error running savewikifolder

2020-12-15 Thread 'Mark S.' via TiddlyWiki
I don't know if this is a useful clue, but you have 16 plugins in your file (besides core). But on mine only 11 plugins were generated: codemirror-fullscreen ContextPlugin EditButtons edit-comptext notebook-mobile relink shiraz shiraz_1 shuffle Stories uni-link On Tuesday, December 15, 2020 at

[tw5] Re: Switch between two story views keep the same tiddler in view

2020-12-15 Thread Saq Imtiaz
We don't have a working implementation for tracking and restoring focus state and/or story scroll position. You probably need to save and restore that yourself using tm-navigate or tm-scroll messages. On Tuesday, December 15, 2020 at 4:27:23 PM UTC+1 Mohammad wrote: > I have asked this

[tw5] Re: Error running savewikifolder

2020-12-15 Thread 'Mark S.' via TiddlyWiki
It worked fine for me, both using an early version of 5.1.23-prerelease and then with 5.1.22. I also tried it renaming your .html to index.html and pasting your exact command. Works. However, I'm on Linux, not Mac, so maybe there's a difference there. Also using Node v8.11.1 . >From your

[tw5] Switch between two story views keep the same tiddler in view

2020-12-15 Thread Mohammad
I have asked this question before with no luck. 1. Assume I am in Classic story view and I have five tiddlers open and tiddler A is under focus (or at least the last one I get into by clicking a link) 2. Then I switch to Zoomin story view and see tiddler A. Then I navigate among those tiddlers

Re: [tw5] [Macro] datauri macro and svg images

2020-12-15 Thread Mohammad
@Jeremy Many thanks for your clarification. @Sylvain I understood both favicon and datauri need real svg image file. I am not sure if this is an efficient way or not but you can write your svg block like core image into another tiddler with correct type and xmlns part! But may be it does not

[tw5] Error running savewikifolder

2020-12-15 Thread Jack Baty
I'm trying to convert my single-file html wiki for use via Node.js. I've typically done this using the following... `tiddlywiki --load ./index.html --savewikifolder ./newwikifolder` Here's what happens with the wiki I'm trying to convert... ``` node:internal/fs/utils:821 throw new

Re: [tw5] Please vote for your favour banner for v5.1.23

2020-12-15 Thread Atronoush
Hi Jeremy, I am really happy to have a very small contribution to the Tiddlywiki a tool I know has many many fans. Thank you all for selecting this my artwork, and a million thanks go to all competitors. A very special thanks to Springer for hosting all candidates and for her amazing

Re: [tw5] Please vote for your favour banner for v5.1.23

2020-12-15 Thread TW Tones
Congrats' Atronoush’ Good work all. Tones On Tuesday, 15 December 2020 at 22:55:39 UTC+11 jeremy...@gmail.com wrote: > Thank you to everyone who voted, the competition is now closed. We had > four very strong entries, but with 190 votes recorded there was a clear > winner in Atronoush’s

[tw5] Re: Using TiddlyWiki for fact-based information modelling and database engineering ???

2020-12-15 Thread TW Tones
Bob, The plugins I mentioned - Jeds GenTags https://ooktech.com/jed/ExampleWikis/GenericTagFields/ - Relink plugin https://flibbles.github.io/tw5-relink/ The other suggestions I made, I intend to do a proof of Concept, but I am busy with many things so not immediately. My point is it

Re: [tw5] [Macro] datauri macro and svg images

2020-12-15 Thread Sylvain Naudin
I still haven't found out if it's possible to do that, but the subtlety is that you would have to copy the final rendering and not the content of the text field because otherwise it goes back to the starting point ^^'. Le mardi 15 décembre 2020 à 13:09:37 UTC+1, Sylvain Naudin a écrit : >

[tw5] Re: What are $__StoryList_ ?

2020-12-15 Thread PMario
On Monday, December 14, 2020 at 10:15:53 PM UTC+1 duche...@gmail.com wrote: I use Tiddlywiki 5.1.22 on node.js v12.14.1. > OK > I deleted them all without impact so far. I'll watch if they reappear. > It will be interesting if they come back. > Any idea why they were created? > In

Re: [tw5] [Macro] datauri macro and svg images

2020-12-15 Thread Sylvain Naudin
OK, It's frustrating because with TW's ability to modify itself, one could imagine just changing the colour of a fill element in the text field of the SVG tiddler ;) I guess I can find a workaround by doing a macro to completely change the text field of my tiddler. (Can $action-setfield be

Re: [tw5] Please vote for your favour banner for v5.1.23

2020-12-15 Thread Jeremy Ruston
Thank you to everyone who voted, the competition is now closed. We had four very strong entries, but with 190 votes recorded there was a clear winner in Atronoush’s design. Many thanks to everyone who helped make this a lot of fun, especially to all the entrants. Best wishes Jeremy > On

Re: [tw5] [Macro] datauri macro and svg images

2020-12-15 Thread Jeremy Ruston
Hi Sylvain > Would it still be possible to make this evolve in the future (and consider > the favicon as a core image therefore and not an SVG XML image)? This isn’t a TiddlyWiki thing, this is how SVG is handled by browsers. The browser requires a full SVG image for the favicon. Remember that

Re: [tw5] [Macro] datauri macro and svg images

2020-12-15 Thread Sylvain Naudin
Hi, This is exactly the thread I wanted to search for yesterday when Google broke down ^^' I wanted to add a setting to my SVG logo used as $:/favicon.ico Unless I made a mistake, I have to fix it with the SVG document type, so I can't insert the macro <> to reference the colour of my

Re: [tw5] Compress JSON with JSONCRUSH

2020-12-15 Thread Jeremy Ruston
Just to add that the library is designed to encode/compress JSON so that it can be more efficiently stored in URLs. It avoids characters that have to be escaped when URI encoded. So it is not exactly a general purpose JSON compression library; for that straightforward ZIP compression would seem

Re: [tw5] Is it possible to set a ViewTemplate to appear only in mobile mode?

2020-12-15 Thread Jeremy Ruston
There is indeed no simple flag in TiddlyWiki for mobile vs. desktop because we’ve long passed the point where the underlying distinction is simple. Instead, as Tones points out, designers use CSS to craft interfaces that gracefully respond to different screen sizes and JavaScript to make

Re: [tw5] Creating a gallery of images in a directory

2020-12-15 Thread Anthony
Thanks Jan, I've not looked into node.js yet and php is beyond my current skills-set - maybe something for the future. I'm just using TW on a Windows 10 machine and hoped that, given a particular directory, it would be possible to 'open' all the files (images) it contained but I had a feeling

Re: [tw5] [Macro] datauri macro and svg images

2020-12-15 Thread Jeremy Ruston
Hi Mohammad, Joshua This is the old chestnut of the confusing fact that there are two distinct types of SVG images, and they behave differently, and are defined differently. The core images are actually SVG elements designed to be transcluded directly into HTML documents; that’s what enables

Re: [tw5] Re: [Dynamic Styles] a question of performance and efficient solution

2020-12-15 Thread Mohammad Rahmani
Thank you Saq. So I will start a thread in the GitHub discussion board. Best wishes Mohammad On Tue, Dec 15, 2020 at 12:44 PM Saq Imtiaz wrote: > This is a good question and something I have been wondering about recently > while working on some performance improvements for Streams. > > In

[tw5] WidgetMessage: tm-new-tiddler with auto tagging

2020-12-15 Thread vinvi...@gmail.com
Hello, I am using WidgetMessage: tm-new-tiddler. https://tiddlywiki.com/static/WidgetMessage%253A%2520tm-new-tiddler.html I have a Template tiddler called "Template1" with fields, tags etc. And a tiddler called "Template1Button" with this code: <$button message="tm-new-tiddler"

Re: [tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-15 Thread Mohammad Rahmani
Hi Saq, Yes, dropping the list makes sense! Your last solution seems the simplest by now ;-) I will document this in TW-Script when I find free time! Cheers Mohammad On Tue, Dec 15, 2020 at 12:40 PM Saq Imtiaz wrote: > @Mohammad yes the toggle operator is best used with list fields. > >

[tw5] Re: [Dynamic Styles] a question of performance and efficient solution

2020-12-15 Thread Saq Imtiaz
This is a good question and something I have been wondering about recently while working on some performance improvements for Streams. In general terms, there is a cost to having wikitext in CSS tiddlers when refreshing the styles in refreshStyles() However most of the time this is negligible

[tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-15 Thread Saq Imtiaz
@Mohammad yes the toggle operator is best used with list fields. You can further simplify and skip the list widget: <$vars lightPalette="$:/palettes/Vanilla" darkPalette="$:/palettes/SolarFlare" > <$button>Day/Night II <$action-setfield $tiddler="$:/palette"

[tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-15 Thread Mohammad Rahmani
It seems in this case there are other simple solutions too, while in my opinion toggle is the most semantic one but in its current implementation is tricky to use for toggling a field can be changed outside the script. These are other solutions that do not use toggle but very simple. Of course