[twdev] Re: Peer Review please Cheat sheet

2020-12-01 Thread saq.i...@gmail.com
FYI, the solution using join[] (or addsuffix[]) is *substantially* faster than using wikify to assign widget attributes. You: <$wikify name=style-value text="""color: {{!!color}}"""> style=<> Me: Check this in devtools -- You received this message because you are subscribed to the

[twdev] Re: Node: Tiddler corrupted with full linux path

2020-12-01 Thread saq.i...@gmail.com
Are you running the latest code from Git or version 5.1.22 from npm? On Monday, November 30, 2020 at 9:10:46 PM UTC+1 phil...@gmail.com wrote: > Hi All, > > After uploading a bunch of Tiddlers to a local server in my home and > running TW, the TW on the server thinks some existing tiddlers

[twdev] Re: Peer Review please Cheat sheet

2020-12-03 Thread saq.i...@gmail.com
y I believe strongly we should provide a short method to do this > and my issue <https://github.com/Jermolene/TiddlyWiki5/issues/5110> > > Regards > Tones > On Thursday, 3 December 2020 at 20:32:33 UTC+11 saq.i...@gmail.com wrote: > >> An important distinction to

[twdev] Re: Peer Review please Cheat sheet

2020-12-03 Thread saq.i...@gmail.com
@Tones *Just as {{||template}} is not supported as a widget attribute, > {{{filter||template}}} is not supported for filtered attributes. * > > I am not so sure about this statement. I understood the template > pre-processes the result then delivers the value(s) to the attribute. I > will look

[twdev] Re: Node: Tiddler corrupted with full linux path

2020-12-08 Thread saq.i...@gmail.com
The original description of the problem reminds me of what happens if you have non .tid format files in the tiddler directory. @clutterstack do note that the multiline fields issue is now patched in the latest pre-release. Cheers, Saq On Tuesday, December 8, 2020 at 4:19:02 PM UTC+1

[twdev] Re: Peer Review please Cheat sheet

2020-12-03 Thread saq.i...@gmail.com
An important distinction to make is that between filtered transclusions in wikitext, and filtered attributes for widgets. In the former, the {{{ filter || template }}} format is supported because the output gets wikified. In the latter, this is not supported as the literal value of the filter

[twdev] Re: Peer Review please Cheat sheet

2020-12-02 Thread saq.i...@gmail.com
@codacoder There are issues on github discussing both approaches, using backticks to wikify OR using them to do substitution. I strongly prefer the latter due to the performance penalty associated with wikify. See - https://github.com/Jermolene/TiddlyWiki5/issues/5121 -

[twdev] Re: Peer Review please Cheat sheet

2020-12-02 Thread saq.i...@gmail.com
@codacoder interesting! While both syntaxes leave a lot to be desired, I personally find wikify so much uglier. Personally I use a filter that does something like this: Check this in devtools Anyway be warned that depending on the complexity of the contents of the element you assign a

[twdev] Re: Warning when creating PluginLibrary in TW 5.1.23 pr

2020-11-17 Thread saq.i...@gmail.com
I can confirm that the problem exists. It seems to arise at this commit though I don't see anything problematic in it: https://github.com/Jermolene/TiddlyWiki5/commit/72c07a3f81233384623ed6293d7f93bdb3104db0#diff-097629654b32250326a4e5bb6faa3b4a3c2fe2a66b1eea2bbcf9c5984c72bf27 On Monday,

[twdev] Re: Warning when creating PluginLibrary in TW 5.1.23 pr

2020-11-17 Thread saq.i...@gmail.com
I think I have narrowed the problem down to lines 3-15 in the arabic translation: https://github.com/Jermolene/TiddlyWiki5/blob/master/languages/ar-PS/ControlPanel.multids#L3 To reproduce the problem using just the core: node tiddlywiki.js editions/pluginlibrary/ --build library -- You