Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-18 Thread Frédéric Demers
As inspiration, this seems to be a decent implementation of native file
storage API: https://bangle.io

On Fri, 18 Feb 2022 at 20:13, TW Tones  wrote:

> Folks,
>
> I believe this is already available on tiddlywiki.com at
> https://tiddlywiki.com/#Saving%20on%20Browser%20with%20File%20System%20Access%20API
>
> It is not yet comprehensively documented and it is hard for me to
> determine what level of functionality and customisation is available to us.
> As a solution only on Chromium browsers it is not yet global in
> application, so understanding its value is even harder to determine.
>
> I also ask myself "We require a click event to start the save dialogue" if
> this could not be placed in a save button "lookalike" or another way to
> make it user friendly. Ie just in time, not startup, Although in this
> thread others suggest they do not need it.
>
> Can someone write a user designer perspective and/or comparison with
> existing methods?
>
> My concerns;
>
>- How to design online tiddlywikis with a non-intrusive saving
>mechanism users can understand.
>- Dealing with the contention possible with two parties editing the
>same site.
>
> I would appreciate it is someone can spell this out a little more for us
> who need it, and can't easily understand this from the jargon and reading
> between the lines in this discussion.
>
> Thanks
> Tones
> On Wednesday, 9 February 2022 at 11:10:40 UTC+11 PMario wrote:
>
>> Hi,
>> I do like that option.
>> -mario
>>
>> On Wednesday, February 9, 2022 at 12:11:06 AM UTC+1 dyllon...@gmail.com
>> wrote:
>>
>>> It does work, though I think it is disruptive asking as soon as
>>> something is done which triggers autosave. However, I have put in an option
>>> with version 0.7.1 to disable the modal for those who don't like it.
>>>
>>> On Sunday, February 6, 2022 at 1:46:16 AM UTC-8 PMario wrote:
>>>
 On Sunday, February 6, 2022 at 12:54:25 AM UTC+1 brian@gmail.com
 wrote:
 ...

> Now with the indexdb entry re-populated, the sequence looks like this:
>
>1. Reload the TW page
>2. Click the + button to create a new tiddler
>3. Click the checkmark to save the tiddler
>4. A dialog box asks me if I want to let the site edit the file. I
>click the "edit file" button
>5. The file saves
>
> So it is working for me even without the settings modal. Do you see
> this same behavior?
>

 I also think the modal isn't needed. The API requires user interaction.
 ... But I think the described behaviour is good. The permission is
 requested, when the first save happens. Since this save is a user
 interaction it should be good enough.

 -mario

>>> --
> 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/ihoCXMIkz9I/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/6ee85fa3-f495-4a11-874d-01aa02db7a52n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnOq8LXuyC_4YJR6Q7KTU7%2Bek%3Ds_ZhGbYG_qa4PMEpir1A%40mail.gmail.com.


[tw5] Re: editor-auto-list - how to add [ ] to * and #

2021-10-09 Thread Frédéric Demers
Hi there! 
I have solved this a while back for myself, but only saw this question 
yesterday! I hope you didn't wait all this time!

I recommend the following 3 changes in the file 
$:/plugins/sq/editor-autolist/editor-operation-autolist:

//change line 19 from: var listPrefixRegex = /^((\*|#)+).*/; to:
var listPrefixRegex = /^((\*|#|\[ |\[x)+).*/;

//change line 50 from: var prefixRegEx = /^((\*|#)+)$/; to:
var prefixRegEx = /^((\*|#|\[ \]|\[x\])+)$/;
//insert after line 62 (var prefix = match[1];)
if (prefix == "[ " || prefix == "[x") {prefix += "]";}



On Wednesday, 20 January 2021 at 04:56:36 UTC-5 Sapphireslinger wrote:

> May I ask how do I add [ ] to * and # in Saq's editor-autolist plugin?
>
> On Thursday, January 14, 2021 at 1:55:33 PM UTC+8 Sapphireslinger wrote:
>
>> Saq's editor-autolist ($:/plugins/sq/editor-autolist) makes * and # 
>> lists effortless. 
>>
>> But tgrosinger's minimalist little checklist 
>> ($:/plugins/tgrosinger/tw5-checklist) 
>> uses [ ] lists.
>>
>> How do I add [ ] to * and # in Saq's code?
>>
>> I tried editing part of 
>> $:/plugins/sq/editor-autolist/editor-operation-autolist 
>> like so:
>>
>> var listPrefixRegex = /^((\*|#|[ ])+).*/; 
>> var match = prevLine.match(listPrefixRegex); 
>> //ensure we only handle lines starting with * or # if(match != null && 
>> match[1]) { 
>> var trimmed = match[0].replace(/\s\s*$/, ''); 
>> var prefixRegEx = /^((\*|#|[ ])+)$/;
>>
>> But It didn't work.
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ab108d44-4192-4dc2-8516-0e1e2fb4fea5n%40googlegroups.com.


Re: [tw5] "I moved to Discourse" - add your name too?

2021-08-19 Thread Frédéric Demers
moved over also

On Thursday, 19 August 2021 at 14:40:24 UTC-4 PMario wrote:

> On Thursday, August 19, 2021 at 8:11:12 PM UTC+2 R² wrote:
>
>> Switched too. Discourse is looking pretty good so far and indeed much 
>> superior to GG. I did find the base config a bit spammy though, as users 
>> are automatically registered as tracking a thread (and therefore receive 
>> email alerts) after only 4 minutes with the thread open.
>
>
> All those settings can be adjusted in your Preferences page. You can also 
> "mute" a category if you want. So you don't get e-mailed at all. 
>
> -mario
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d8fdad0d-3b21-4d19-81e2-777df0290818n%40googlegroups.com.


Re: [tw5] Re: Presenting... Speech-to-Text plugin for TW5!!!

2021-08-10 Thread Frédéric Demers
Thanks for the speech-to-text plugin, quite impressive from my early trials 
(chrome). As a couple people have suggested, I think an editor toolbar 
button/keyboard shortcut to insert the transcript text in the current 
tiddler's text field (where the cursor is?) would be neat and be best for 
me.  I'm happy to try mod'ing myself unless you've already got plans. 


On Tuesday, 10 August 2021 at 19:10:24 UTC-4 flanc...@gmail.com wrote:

> Something along those lines. My next goal, as I've shared with BTC, is to 
> allow users to assign their own commands via tiddler inputs, and 
> essentially, when they speak these commands out-loud via the plugin, the 
> plugin then executes the command. I've started a minimal implementation of 
> this with the new release (GH pages is acting up, so drag and drop may not 
> be available for a while), which allows to users to speak "change the 
> language to X" and the language will change if available, all that's needed 
> is the custom-input ones :)
>
> On Tuesday, August 10, 2021 at 6:57:15 PM UTC-4 TW Tones wrote:
>
>> Flanc,
>>
>> I was not after language switching, but are you suggesting we change from 
>> text dictation, to a tiddlywiki command, using the same mechaisium?
>>
>> Tones
>>
>> On Wednesday, 11 August 2021 at 08:53:42 UTC+10 flanc...@gmail.com wrote:
>>
>>> @Tones, way ahead of you :) Already added command functionality for 
>>> language switching in new release. Updating Github Pages so drag and drop 
>>> is on correct version right now!
>>>
>>> On Tuesday, August 10, 2021 at 6:49:32 PM UTC-4 TW Tones wrote:
>>>
 Flanc

 I think a design configuration is how do we trigger a more involved 
 "command" on tiddlywiki. Perhaps we should leverage the existing keyboard 
 shortcuts, such that either one can speak eg alt-space then the user can 
 assign whatever they wish in response to that, ie trigger a set of 
 actions. 
 Of course in time "close tiddler" etc would be nice, but I think the key 
 is 
 the escape process, so lets say one can happily dictate any thing, except 
 "OK TiddlyWiki" in which case rather than dictate into the current text 
 field a dialogue opens in which the same dictation can search for any 
 tiddlywiki designed terms, eg ok tiddlywiki, new tiddler (which you see on 
 screen). 

 We have a way to detect what I call the focused tiddler eg;  
 {{$:/HistoryList!!current-tiddler}}, for which such "ok tiddlywiki" can be 
 designed to use as currentTiddler.

 The TiddlyWiki command plugin and others may be a short cut for us, to 
 jump into, to move from dictation to commands. One could imagine where the 
 user can assign what action or keyboard shortcut could be used as a result 
 of "OK tiddlywiki". Only later we could see how to get the commands 
 recognised in the middle of dictation, but I expect we still need this 
 escape method.

 Regards
 Tony
 On Tuesday, 10 August 2021 at 22:57:36 UTC+10 flanc...@gmail.com wrote:

> Thanks everyone for the great advice! 
>
> My main takeaways for what I will start working on are commands: 
> punctuation, language switch, etc. 
>
> As this is on the side of the things I develop for the plug-in, I will 
> set to work immediately reading documentation and example code. 
>
> To get more technical,  I believe I can just attach a function to 
> check the last word of the transcription, and if it matches a set array 
> of 
> word/s it will the execute a command. 
>
> BTC and I continue to talk on the Issues page of the repo, if any 
> other devs would like to chime in with other ideas/implementation, feel 
> free to chime in there. 
>
> Thanks again! 
>
> On Tue, Aug 10, 2021 at 6:32 AM R²  wrote:
>
>> Hi all and thanks Flank & BTC for this extremely promising plugin!
>>
>> Another few ideas and comments:
>>
>> (1) It would be nice to have a record button directly in the editor 
>> and not only have to rely on creating new transcript tiddlers.
>> (2) Automatic punctuation should be easy to switch on and off as per 
>> https://cloud.google.com/speech-to-text/docs/automatic-punctuation.
>> (3) There are quite a number of languages and accents available on 
>> the Web Speech API demo. It would be nice to be able to set the 
>> languageCode parameter manually (fully list at: 
>> https://cloud.google.com/speech-to-text/docs/languages). When this 
>> happens, could you make sure that custom record buttons can be added 
>> using 
>> only wikitext to allow multilingual users to have several record buttons 
>> based on their own needs?
>> (5) It could be worth mentioning in the readme that Google's Web 
>> Speech API demo at 
>> https://www.google.com/intl/en/chrome/demos/speech.html is a great 
>> way of checking for browser 

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-08-01 Thread Frédéric Demers
@saq kudos to you for the excellent architecture. Makes it easy to
integrate. No issues adjusting to upcoming changes, thanks for the heads up.

I may seek your advice for one feature I have not managed to make work yet;
The context menu includes keyboard shortcuts that are active when editing a
node. So far so good. When merging a branch *and* the option to enter edit
mode after the merge is enabled, I would like to toggle the node's edit
mode to edit in place (within the steam) instead of opening the node
tiddler on its own. It would be a bit nicer I think, from a UX perspective..
Everything I have tried works but it seems the node still doesn't reflect
its new (merged) content; escaping and double clicking to edit again then
reflects the new content. It feels like I activate the node's edit mode
before the changes have taken place even if the code had the sequence in
the right order. Is it a rendering timing issue?

Thanks much!

On Sun, Aug 1, 2021, 14:59 Saq Imtiaz,  wrote:

> @Fred +1 for making use of the settings UI templates
>
> Note that the settings UI code might change at some point in the future.
> The settings related stuff might get split off into its own plugin that any
> other plugin can make use of if its present, but it shouldn't be a big
> change adapting to that.
>
> On Friday, July 30, 2021 at 5:57:27 PM UTC+2 fred@gmail.com wrote:
>
>> @walt  please give 0.0.7-beta a try; apologies for the poor release
>> quality: http://fastfreddy.gitlab.io/streams-fusion/
>>
>> @tones to answer your earlier question; the button display logic is
>> provided by Saq (in response to Jan initially I think) in this tiddler
>> $:/plugins/sq/streams/nodes-list-template using this snippet
>>
>> <$list filter="[all[shadows+tiddlers]tag[$:/tags/streams/root-buttons]]"
>> variable="btnTiddler">
>> 
>> <$transclude tiddler=<>/>
>> 
>> 
>>
>> my $:/plugins/phiv/streams-fusion/fuse-button button has the
>> $:/tags/streams/root-buttons; please note the snippet above is only
>> displayed on a stream root node.
>>
>> Were you able to try an import on a plain Streams-enabled notebook?
>>
>> On Fri, 30 Jul 2021 at 10:47, Frédéric Demers  wrote:
>>
>>> @walt; that is an oversight. I clearly didn't test well enough. I'll try
>>> to fix ASAP.
>>>
>>> On Fri, 30 Jul 2021 at 10:37, ludwa6  wrote:
>>>
>>>> Hey @fred: That's a significant upgrade, in terms of functionality and
>>>> polish -all good, except:
>>>>
>>>> I seem to have lost the nifty functionality that came with v0.0.3-beta,
>>>> which was handling cleanup of superflous node tiddlers so nicely as part of
>>>> fuse process.
>>>>
>>>> Unfortunately: i can't say for sure if this is directly attributed to
>>>> v0.0.6-beta upgrade, because -prior to upgrade- i took the step of deleting
>>>> those 5 tiddlers related to the streams-to-text addon
>>>> <https://szen.io/stream/>. Was that a mistake i wonder?
>>>>
>>>> Anyway Fred: would love to have that lost cleanup function back, if
>>>> there's anything you can do for me - much obliged!
>>>>
>>>> /walt
>>>>
>>>>
>>>> On Friday, July 30, 2021 at 12:56:53 PM UTC+1 fred@gmail.com wrote:
>>>>
>>>>>
>>>>> Greetings everyone, version 0.0.6-beta of Streams-fusion
>>>>> <https://fastfreddy.gitlab.io/streams-fusion/> is out. It's quite a
>>>>> bit more flexible and can output raw HTML and/or directly to clipboard.
>>>>> Quick settings available directly from the popup menu (more settings at 
>>>>> the
>>>>> bottom of the Streams settings screen, including a fused stream name
>>>>> template option).
>>>>>
>>>>> Be careful with the "overwrite stream" option. It seems to work well
>>>>> in full trees or in branches (via node context menu), but nonetheless,
>>>>> backups are recommended
>>>>>
>>>>>> ...
>>>>>
>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/tiddlywiki/1f745482-a72b-4d81-a8ef-878beaaecc9cn%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/tiddlywiki/1f745482-a72b-4d81-a8ef-878beaaecc9cn%40googlegroups.com?utm_medium=email_source=footer>
>>>>>> .
>>>>>>
>>>>> --
>>>> You received this message because you are subscribed

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-30 Thread Frédéric Demers
@walt  please give 0.0.7-beta a try; apologies for the poor release
quality: http://fastfreddy.gitlab.io/streams-fusion/

@tones to answer your earlier question; the button display logic is
provided by Saq (in response to Jan initially I think) in this tiddler
$:/plugins/sq/streams/nodes-list-template using this snippet

<$list filter="[all[shadows+tiddlers]tag[$:/tags/streams/root-buttons]]"
variable="btnTiddler">

<$transclude tiddler=<>/>



my $:/plugins/phiv/streams-fusion/fuse-button button has the
$:/tags/streams/root-buttons; please note the snippet above is only
displayed on a stream root node.

Were you able to try an import on a plain Streams-enabled notebook?

On Fri, 30 Jul 2021 at 10:47, Frédéric Demers  wrote:

> @walt; that is an oversight. I clearly didn't test well enough. I'll try
> to fix ASAP.
>
> On Fri, 30 Jul 2021 at 10:37, ludwa6  wrote:
>
>> Hey @fred: That's a significant upgrade, in terms of functionality and
>> polish -all good, except:
>>
>> I seem to have lost the nifty functionality that came with v0.0.3-beta,
>> which was handling cleanup of superflous node tiddlers so nicely as part of
>> fuse process.
>>
>> Unfortunately: i can't say for sure if this is directly attributed to
>> v0.0.6-beta upgrade, because -prior to upgrade- i took the step of deleting
>> those 5 tiddlers related to the streams-to-text addon
>> <https://szen.io/stream/>. Was that a mistake i wonder?
>>
>> Anyway Fred: would love to have that lost cleanup function back, if
>> there's anything you can do for me - much obliged!
>>
>> /walt
>>
>>
>> On Friday, July 30, 2021 at 12:56:53 PM UTC+1 fred@gmail.com wrote:
>>
>>>
>>> Greetings everyone, version 0.0.6-beta of Streams-fusion
>>> <https://fastfreddy.gitlab.io/streams-fusion/> is out. It's quite a bit
>>> more flexible and can output raw HTML and/or directly to clipboard. Quick
>>> settings available directly from the popup menu (more settings at the
>>> bottom of the Streams settings screen, including a fused stream name
>>> template option).
>>>
>>> Be careful with the "overwrite stream" option. It seems to work well
>>> in full trees or in branches (via node context menu), but nonetheless,
>>> backups are recommended
>>>
>>>> ...
>>>
>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/tiddlywiki/1f745482-a72b-4d81-a8ef-878beaaecc9cn%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/tiddlywiki/1f745482-a72b-4d81-a8ef-878beaaecc9cn%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>> 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/-xTFWPwzq6g/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> tiddlywiki+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/553fc5ae-a897-42c3-a653-6f32b2a58118n%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/553fc5ae-a897-42c3-a653-6f32b2a58118n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnM%2B8Q8s%3DtfphZF3x9-dbBppOy42nsk-NDQ6%3DEhKAYTh4Q%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-30 Thread Frédéric Demers
@walt; that is an oversight. I clearly didn't test well enough. I'll try to
fix ASAP.

On Fri, 30 Jul 2021 at 10:37, ludwa6  wrote:

> Hey @fred: That's a significant upgrade, in terms of functionality and
> polish -all good, except:
>
> I seem to have lost the nifty functionality that came with v0.0.3-beta,
> which was handling cleanup of superflous node tiddlers so nicely as part of
> fuse process.
>
> Unfortunately: i can't say for sure if this is directly attributed to
> v0.0.6-beta upgrade, because -prior to upgrade- i took the step of deleting
> those 5 tiddlers related to the streams-to-text addon
> . Was that a mistake i wonder?
>
> Anyway Fred: would love to have that lost cleanup function back, if
> there's anything you can do for me - much obliged!
>
> /walt
>
>
> On Friday, July 30, 2021 at 12:56:53 PM UTC+1 fred@gmail.com wrote:
>
>>
>> Greetings everyone, version 0.0.6-beta of Streams-fusion
>>  is out. It's quite a bit
>> more flexible and can output raw HTML and/or directly to clipboard. Quick
>> settings available directly from the popup menu (more settings at the
>> bottom of the Streams settings screen, including a fused stream name
>> template option).
>>
>> Be careful with the "overwrite stream" option. It seems to work well
>> in full trees or in branches (via node context menu), but nonetheless,
>> backups are recommended
>>
>>> ...
>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/1f745482-a72b-4d81-a8ef-878beaaecc9cn%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/553fc5ae-a897-42c3-a653-6f32b2a58118n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnP%2BPgGdPbu3FVxTx7RtewKgJMhG44-73EeFuxnS%3DF-F7w%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-30 Thread Frédéric Demers
Hi Tones; I am interested in getting to the bottom of this.
Can you try and drag the plugin onto the main Streams page
 (plugin does not require reload). Do
tiddlers with stream nodes display the icon?

Thanks

On Fri, 30 Jul 2021 at 08:40, TW Tones  wrote:

> Fred,
>
> Thanks for this, it is a nice addon to the powerful streams.
>
> You make an understandable assumption about streams, I am not sure what is
> is, but when I installed it in my working tiddlywiki the icon did not
> appear.
> I see you use streams v 1.2.22 and I use 0.2.19 and it does not work.
> I upgraded to streams v 1.2.22 and the icon still does not appear.
>
> Can you please tell me the mechaisium you use to display the fusion Icon
> so I can try and fix it on my wiki?
>
> Thanks
> Tones
> On Friday, 30 July 2021 at 21:56:53 UTC+10 fred@gmail.com wrote:
>
>>
>> Greetings everyone, version 0.0.6-beta of Streams-fusion
>>  is out. It's quite a bit
>> more flexible and can output raw HTML and/or directly to clipboard. Quick
>> settings available directly from the popup menu (more settings at the
>> bottom of the Streams settings screen, including a fused stream name
>> template option).
>>
>> Be careful with the "overwrite stream" option. It seems to work well
>> in full trees or in branches (via node context menu), but nonetheless,
>> backups are recommended
>>
>> On Wed, 28 Jul 2021 at 10:05, arun babu  wrote:
>>
>>> How to get the newly added nodes to be in markdown format instead of the
>>> default tiddlywiki format? I tried using the template option in streams
>>> settings. But I am getting "Internal JavaScript Error" message. Any help?
>>> On Wednesday, July 28, 2021 at 10:21:52 AM UTC+5:30 TW Tones wrote:
>>>
 Mark,

 Yes, there is a setting in  $:/plugins/sq/streams/Settings/config

 Regards
 Tones

 On Wednesday, 28 July 2021 at 13:53:50 UTC+10 Mark S. wrote:

> Answering my own question, apparently they need two line feeds between
> each text line.
>
> On Tuesday, July 27, 2021 at 8:52:09 PM UTC-7 Mark S. wrote:
>
>> I was trying the split feature with alt+enter. The dialog asks if I
>> want to split the text into separate tiddlers, but it doesn't actually
>> perform the split. Is there any special way that I need to format the 
>> text
>> before attempting the split?
>>
>>
>> --
>>> 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/-xTFWPwzq6g/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/1f745482-a72b-4d81-a8ef-878beaaecc9cn%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/4dc9c734-cd1c-4f9b-bc76-69045f8bd57an%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnNm7-pzkghXDJUS9-Vtksxvfc%3DVkPS06xdfUHC7ADWqiw%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-30 Thread Frédéric Demers
Greetings everyone, version 0.0.6-beta of Streams-fusion
 is out. It's quite a bit
more flexible and can output raw HTML and/or directly to clipboard. Quick
settings available directly from the popup menu (more settings at the
bottom of the Streams settings screen, including a fused stream name
template option).

Be careful with the "overwrite stream" option. It seems to work well
in full trees or in branches (via node context menu), but nonetheless,
backups are recommended

On Wed, 28 Jul 2021 at 10:05, arun babu  wrote:

> How to get the newly added nodes to be in markdown format instead of the
> default tiddlywiki format? I tried using the template option in streams
> settings. But I am getting "Internal JavaScript Error" message. Any help?
> On Wednesday, July 28, 2021 at 10:21:52 AM UTC+5:30 TW Tones wrote:
>
>> Mark,
>>
>> Yes, there is a setting in  $:/plugins/sq/streams/Settings/config
>>
>> Regards
>> Tones
>>
>> On Wednesday, 28 July 2021 at 13:53:50 UTC+10 Mark S. wrote:
>>
>>> Answering my own question, apparently they need two line feeds between
>>> each text line.
>>>
>>> On Tuesday, July 27, 2021 at 8:52:09 PM UTC-7 Mark S. wrote:
>>>
 I was trying the split feature with alt+enter. The dialog asks if I
 want to split the text into separate tiddlers, but it doesn't actually
 perform the split. Is there any special way that I need to format the text
 before attempting the split?


 --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1f745482-a72b-4d81-a8ef-878beaaecc9cn%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnPTtASVKYuFma3q4LiD6rAosqQhu1BmGvyh9ehpdYPpqQ%40mail.gmail.com.


[tw5] Re: filter question

2021-07-25 Thread Frédéric Demers
Hi Mohammad, can you expand a bit about the list you want to see? is this 
just when you click the button?
One issue is that the setfield will replace the example1 tag with tag1. Did 
you mean to show the list only after the change happened, or did you mean 
to *add *tag1 to the tiddlers that also have example1?
If you want to add a tag, you would be better off using the <$action-listops 
$tags="tag1"/> instead of <$action-setfield tags="tag1"/>
This will get you part way there...

<$button>refresh list and add tag 1

<$action-listops $field="myfield" $filter="[[]]"/>

<$list filter="[tag[example1]] [tag[example2]] [tag[example3]]" 
variable="lister">
<$action-listops $field="myfield" $subfilter="[enlist]"/>


<$list filter="[tag[example1]]">
<$action-listops $tags="tag1"/>




<$list filter="[list[!!myfield]]">





On Sunday, 25 July 2021 at 20:28:30 UTC-4 mohamed...@hotmail.com wrote:

>
> Hi ,
>
> is it possible to assign an action to a button that would affect some but 
> not all tiddlers listed in a filter 
>
> so for example, i want to add "tag1" to all tiddlers tagged with "example1"
>
> <$button> add tag 1
> <$list filter="[tag[example1]]" >
> <$action-setfield tags="tag1"/>
> 
> 
>
> but i also want to see all tiddlers tagged with  "example1", "example2" 
> and  "example3"..
>
> i can modify the filter to add all tiddlers tagged with "example1" , 
> "example2", "example3",  ... but then if i click the button the action will 
> affect all tiddlers , so is there way to set an action against some 
> tiddlers meeting a  certain criteria while keeping other tiddlers that 
> don't  not matching the criteria on display?
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/37a5117e-8982-4c60-8020-75cd9bcc0406n%40googlegroups.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-24 Thread Frédéric Demers
 how you do it!
>>>
>>> warmest wishes, maki
>>> On Friday, July 23, 2021 at 12:15:59 PM UTC+1 fred@gmail.com wrote:
>>>
>>>> @ walt; github and gitlab are near equivalent and I use both. Each have
>>>> slightly different offerings when it comes to their Pages options (that is
>>>> serving content for web hosting based on a git repo check in) and some of
>>>> that varies with paid subscriptions.
>>>>
>>>> I have chosen gitlab for my personal TW notebook (my regular workflow
>>>> works exclusively with the gitlab saver, as I can't install a desktop
>>>> client or a server at work. I can however use gitlab saver from both home
>>>> and work, so that works best).
>>>>
>>>> Gitlab is the only one of the two that allows me to lock down (to me)
>>>> the notebook that is offered as a webpage, as hosted content. In Github,
>>>> hosted content (Github Pages) can only be wide-open, public, unless you are
>>>> a paid subscriber.
>>>>
>>>> Gitlab however has a continuous integration (CI) pipelines that need to
>>>> run and "generate" the page, which takes a few minutes, before the URL of
>>>> my notebook reflects the updated content. I use quotes around "generate",
>>>> because in the case of a TW notebook, there is really nothing to do, just
>>>> serve the HTML I checked in. Gitlab's approach however allows devs to have
>>>> complex pipelines that actually transform templates into the HTML page they
>>>> wish to serve out. This drawback is an issue for me only if I need to
>>>> reload the notebook; I have to make sure I wait until the pipeline has done
>>>> its job otherwise I would overwrite my changes. Github on the other hand
>>>> serves the checked-in HTML immediately. The moment you upload (git push) a
>>>> new notebook, it is that content which is served as a web page. It would be
>>>> better, if I could lock it down, for my personal notebook. It is more
>>>> immediate, but less powerful than Gitlab's approach in that sense, though
>>>> there may also be an option for devs to pass checked in code through a CI
>>>> pipeline first, I have not looked into it.
>>>>
>>>> All that to say, because I use gitlab for my personal notebook, it was
>>>> a natural choice for me to stand up a new project alongside of it for my
>>>> first plugin (with permissions open). The CI pipeline however means that I
>>>> have to wait a few minutes, after I check in my new code, before I notify
>>>> everyone of the new content, otherwise folks would see old content In
>>>> terms of publishing a plugin, Github would have been better because the
>>>> Github Pages hosting is instantaneous and I don't need the ability to lock
>>>> it down.
>>>>
>>>> On Fri, 23 Jul 2021 at 07:15, Frédéric Demers 
>>>> wrote:
>>>>
>>>>> @ mark thanks for the clarification; that is helpful. I think in
>>>>> general, the search filters are quite powerful and there are a few options
>>>>> already that will show the search results in context (not necessarily the
>>>>> first 100 characters of a match, but the text around the match as well,
>>>>> with highlights. Here's one example (Danielo's context search
>>>>> <https://contextplugin.tiddlyspot.com>), but I believe there are
>>>>> others.
>>>>>
>>>>>
>>>>> [image: image.png]
>>>>>
>>>>> This is not incompatible with Streams as it is (you can see the
>>>>> results above show node tiddlers), but I suppose you would be interested 
>>>>> in
>>>>> having a link to the root tiddler directly? That is easily doable with a
>>>>> very small change in the plugin's "Context Search" tiddler, leveraging the
>>>>> powerful filtered transclusions and Saq' get-stream-root[] fitler
>>>>> operator.
>>>>> from
>>>>> ...
>>>>> <$list
>>>>> filter="[!is[system]search{$:/temp/advancedsearch}sort[title]limit[250]]">
>>>>> {{!!title||$:/core/ui/ListItemTemplate}}
>>>>> <$context term={{$:/temp/advancedsearch}}/>
>>>>> 
>>>>> ...
>>>>> to
>>>>> ...
>>>>> <$list
>>>>> filter=&quo

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-23 Thread Frédéric Demers
@mark S
the screen caps shown in my previous reply do not use the Command Palette
<https://souk21.github.io/TW-commandpalette/>. I think the Command Palette
user interface is not well suited for your need to show the search results
in context. It is probably best in your case to setup a keyboard shortcut
to bring out the context search <https://contextplugin.tiddlyspot.com>
directly.
I don't yet know how to do that, but will explore.


To answer your question however, I have this mousetrap config to bring out
the Command Palette in the  $:/plugins/fastfreddy/twmousetrap/example.js
tiddler (I repackaged mousetrap slightly).

 $tw.Mousetrap.bind("/",
function() {
$tw.rootWidget.invokeActionString('<$action-sendmessage
$message="open-command-palette"/>',$tw.rootWidget);
},
"keyup"
);


On Fri, 23 Jul 2021 at 07:40, maki aea  wrote:

> @fred nice! would love to know how you fire command palette with /, do you
> simulate ctrl+p or do you call it directly? i'm able to bind another key
> using mousetrap (remembering to save and reload tiddlywiki for the changed
> javascript to kick in) but am having trouble calling command palette using
> KeyboardEvent to simulate ctrl+p. would really appreciate any pointers on
> how you do it!
>
> warmest wishes, maki
> On Friday, July 23, 2021 at 12:15:59 PM UTC+1 fred@gmail.com wrote:
>
>> @ walt; github and gitlab are near equivalent and I use both. Each have
>> slightly different offerings when it comes to their Pages options (that is
>> serving content for web hosting based on a git repo check in) and some of
>> that varies with paid subscriptions.
>>
>> I have chosen gitlab for my personal TW notebook (my regular workflow
>> works exclusively with the gitlab saver, as I can't install a desktop
>> client or a server at work. I can however use gitlab saver from both home
>> and work, so that works best).
>>
>> Gitlab is the only one of the two that allows me to lock down (to me) the
>> notebook that is offered as a webpage, as hosted content. In Github, hosted
>> content (Github Pages) can only be wide-open, public, unless you are a paid
>> subscriber.
>>
>> Gitlab however has a continuous integration (CI) pipelines that need to
>> run and "generate" the page, which takes a few minutes, before the URL of
>> my notebook reflects the updated content. I use quotes around "generate",
>> because in the case of a TW notebook, there is really nothing to do, just
>> serve the HTML I checked in. Gitlab's approach however allows devs to have
>> complex pipelines that actually transform templates into the HTML page they
>> wish to serve out. This drawback is an issue for me only if I need to
>> reload the notebook; I have to make sure I wait until the pipeline has done
>> its job otherwise I would overwrite my changes. Github on the other hand
>> serves the checked-in HTML immediately. The moment you upload (git push) a
>> new notebook, it is that content which is served as a web page. It would be
>> better, if I could lock it down, for my personal notebook. It is more
>> immediate, but less powerful than Gitlab's approach in that sense, though
>> there may also be an option for devs to pass checked in code through a CI
>> pipeline first, I have not looked into it.
>>
>> All that to say, because I use gitlab for my personal notebook, it was a
>> natural choice for me to stand up a new project alongside of it for my
>> first plugin (with permissions open). The CI pipeline however means that I
>> have to wait a few minutes, after I check in my new code, before I notify
>> everyone of the new content, otherwise folks would see old content In
>> terms of publishing a plugin, Github would have been better because the
>> Github Pages hosting is instantaneous and I don't need the ability to lock
>> it down.
>>
>> On Fri, 23 Jul 2021 at 07:15, Frédéric Demers  wrote:
>>
>>> @ mark thanks for the clarification; that is helpful. I think in
>>> general, the search filters are quite powerful and there are a few options
>>> already that will show the search results in context (not necessarily the
>>> first 100 characters of a match, but the text around the match as well,
>>> with highlights. Here's one example (Danielo's context search
>>> <https://contextplugin.tiddlyspot.com>), but I believe there are
>>> others.
>>>
>>>
>>> [image: image.png]
>>>
>>> This is not incompatible with Streams as it is (you can see the results
>>> above show node tiddlers), but I suppose you would be interested in having
>>&

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-22 Thread Frédéric Demers
@walt released 0.0.3-beta https://fastfreddy.gitlab.io/streams-fusion/   not
thoroughly tested, be very careful and clone/backup extensively


@mark s : yes, my setup is heavily customized; not a good solution for you
if you're not super comfortable tinkering; boils down to installing the
command palette and tweaking the search steps. The shortcut key handling
makes it interesting. What specifically are you looking to do?

On Thu, 22 Jul 2021 at 19:47, 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Can you explain search steps? How they're activated, etc. It looks like
> they have been very customized for your setup.
>
> Thanks!
>
> On Thursday, July 22, 2021 at 3:06:42 PM UTC-7 fred@gmail.com wrote:
>
>> @Mark S; I particularly like the command palette
>>  plugin for searches.
>>
>> Please note it is not designed for Streams, but can be made to work quite
>> nicely with it because the search steps are highly configurable through
>> the  $:/plugins/souk21/commandpalette/CommandPaletteSearchSteps tiddler.
>> Here's an example of what I use at work; you'll notice I give precedence to
>> title matches (they'll be at the top of the results) and use the
>> get-streams-root[] filter extensively. The command palette adds a
>> category (hint) in the search results which I find helpful.
>>
>> {
>> "steps": [
>>   {"filter": 
>> "[!is[system]tag[todo]search:title:literal[]get-stream-root[]!tag[Journal]!tag[Meeting]!tag[done]]",
>>  "hint": "todo (titles)", "caret": "42"},
>>   {"filter": 
>> "[!is[system]tag[todo]search:text:literal[]get-stream-root[]!tag[Journal]!tag[Meeting]!tag[done]]",
>>  "hint": "todo (text)", "caret": "41"},
>>   {"filter": 
>> "[!is[system]tag[Meeting]search:title:literal[]!sort[title]]", "hint": 
>> "meetings (main)", "caret": "45"},
>>   {"filter": 
>> "[!is[system]tag[Journal]search:title:literal[]!sort[title]first[2]]", 
>> "hint": "meetings (titles)", "caret": "45"},
>>   {"filter": 
>> "[!is[system]tag[Journal]search:text:literal[]get-stream-root[]!sort[title]]",
>>  "hint": "meetings (text)", "caret": "44"},
>>   {"filter": "[!is[system]search:title:literal[]get-stream-root[]]", 
>> "hint": "others (titles)", "caret": "33"},
>>   {"filter": "[!is[system]search:text:literal[]get-stream-root[]]", 
>> "hint": "others (text)", "caret": "32"},
>>   {"filter": 
>> "[!is[system]tag[todo]search:literal[]get-stream-root[]!tag[Journal]!tag[Meeting]tag[done]]",
>>  "hint": "completed", "caret": "42"},
>>   {"filter": "[!is[system]search::literal[]get-stream-root[]]", 
>> "hint": "all", "caret": "28"}
>> ]
>> }
>>
>> I have configured the command palette to fire on a single key shortcut (/).
>> Whilst TiddlyWiki offers keyboard shortcuts, they fire everywhere out of
>> the box, even within text boxes (not ideal for single key shortcuts!), so
>> my setup relies on the mousetrap
>> 
>> plugin: hitting / in a text box does not fire the command palette. I am
>> working on a tweak that will have a richer set of search steps
>> configuration, so that I can invoke the command palette to search for tasks
>> (I use projectify ) using shift+/ and to
>> search in other tiddlers when I hit /.
>>
>> In other parts of the UI, I have essentially inserted the subfilter "
>> get-stream-root[]" everywhere, so that the recent tab, the sidebar
>> searches, etc only show root tiddlers in the results.
>>
>> I think one of the other members in the community here configured the
>> names of node tiddlers to be prefixed with $:/ which makes them system
>> tiddlers, which effectively hides them from most searches... another option
>> worth considering and simpler to setup.
>>
>> On Thu, 22 Jul 2021 at 15:02, Saq Imtiaz  wrote:
>>
>>>
>>> Is there a search tool or plugin that works with streams? Streams is
 neat to take notes with, but searching is problematic since the default
 search shows you only the titles. Possibly someone has already written a
 custom search?

>>>
>>> @Mark S:
>>>
>>> I don't think there is a good generalized solution for this yet. Needs
>>> vary depending on people's workflow and title naming setup within Streams.
>>> I have posted a search customization for a specific users workflow at one
>>> point to show what customizations for search might look like.
>>>
>>> If you just want search results to show the root tiddler title as
>>> opposed to the titles of individual nodes, the attached file adds a tab to
>>> the search results to do that. If I remember correctly, title matches are
>>> returned unchanged whereas text matches only return the root tiddler.
>>>
>>> The missing piece is of course that once you find and open the root
>>> tiddler, it can be tricky finding the text you searched for within that
>>> stream.
>>>
>>> --
>>>
>> You 

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-22 Thread Frédéric Demers
@Mark S; I particularly like the command palette
 plugin for searches.

Please note it is not designed for Streams, but can be made to work quite
nicely with it because the search steps are highly configurable through
the  $:/plugins/souk21/commandpalette/CommandPaletteSearchSteps tiddler.
Here's an example of what I use at work; you'll notice I give precedence to
title matches (they'll be at the top of the results) and use the
get-streams-root[] filter extensively. The command palette adds a category (
hint) in the search results which I find helpful.

{
"steps": [
  {"filter":
"[!is[system]tag[todo]search:title:literal[]get-stream-root[]!tag[Journal]!tag[Meeting]!tag[done]]",
"hint": "todo (titles)", "caret": "42"},
  {"filter":
"[!is[system]tag[todo]search:text:literal[]get-stream-root[]!tag[Journal]!tag[Meeting]!tag[done]]",
"hint": "todo (text)", "caret": "41"},
  {"filter":
"[!is[system]tag[Meeting]search:title:literal[]!sort[title]]", "hint":
"meetings (main)", "caret": "45"},
  {"filter":
"[!is[system]tag[Journal]search:title:literal[]!sort[title]first[2]]",
"hint": "meetings (titles)", "caret": "45"},
  {"filter":
"[!is[system]tag[Journal]search:text:literal[]get-stream-root[]!sort[title]]",
"hint": "meetings (text)", "caret": "44"},
  {"filter":
"[!is[system]search:title:literal[]get-stream-root[]]", "hint":
"others (titles)", "caret": "33"},
  {"filter":
"[!is[system]search:text:literal[]get-stream-root[]]", "hint": "others
(text)", "caret": "32"},
  {"filter":
"[!is[system]tag[todo]search:literal[]get-stream-root[]!tag[Journal]!tag[Meeting]tag[done]]",
"hint": "completed", "caret": "42"},
  {"filter":
"[!is[system]search::literal[]get-stream-root[]]", "hint": "all",
"caret": "28"}
]
}

I have configured the command palette to fire on a single key shortcut (/).
Whilst TiddlyWiki offers keyboard shortcuts, they fire everywhere out of
the box, even within text boxes (not ideal for single key shortcuts!), so
my setup relies on the mousetrap

plugin: hitting / in a text box does not fire the command palette. I am
working on a tweak that will have a richer set of search steps
configuration, so that I can invoke the command palette to search for tasks
(I use projectify ) using shift+/ and to search
in other tiddlers when I hit /.

In other parts of the UI, I have essentially inserted the subfilter "
get-stream-root[]" everywhere, so that the recent tab, the sidebar
searches, etc only show root tiddlers in the results.

I think one of the other members in the community here configured the names
of node tiddlers to be prefixed with $:/ which makes them system tiddlers,
which effectively hides them from most searches... another option worth
considering and simpler to setup.

On Thu, 22 Jul 2021 at 15:02, Saq Imtiaz  wrote:

>
> Is there a search tool or plugin that works with streams? Streams is neat
>> to take notes with, but searching is problematic since the default search
>> shows you only the titles. Possibly someone has already written a custom
>> search?
>>
>
> @Mark S:
>
> I don't think there is a good generalized solution for this yet. Needs
> vary depending on people's workflow and title naming setup within Streams.
> I have posted a search customization for a specific users workflow at one
> point to show what customizations for search might look like.
>
> If you just want search results to show the root tiddler title as opposed
> to the titles of individual nodes, the attached file adds a tab to the
> search results to do that. If I remember correctly, title matches are
> returned unchanged whereas text matches only return the root tiddler.
>
> The missing piece is of course that once you find and open the root
> tiddler, it can be tricky finding the text you searched for within that
> stream.
>
> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1ab33144-87d6-4d95-8c77-e05565891025n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-22 Thread Frédéric Demers
@walt yes precisely, the existing two options would remain with slightly
better wording. The two new options would take the output of the
conversion, place it in the root tiddler's text field, and remove any
streams nodes recursively (cascade). The tags (and other fields) of the
root tiddler would be preserved. Tags or fields of node tiddlers would be
ignored & lost.

On Thu, 22 Jul 2021 at 13:40, ludwa6  wrote:

> My feedback @Fred depends on what you mean by "collapse and replace
> stream" options -presuming the "fuse into new tiddler" options stand as
> they are now, right?
>
> I only know how it's working now -which does involve a few steps, i.e.:
>
>1. Push the button (1st one on L, not the next to R, which is an
>artifact that we can do without) and select format option;
>2. Move off this (tiddlername)_Fused tiddler to the parent of Stream,
>and delete (confirming deletion of nodes as well as tiddler, in the popup
>warning msg);
>3. Go back to (tiddlername)_Fused tiddler and rename w/o "_Fused"
>suffix to name of the deleted parent.
>4. In case the parent had a tag (e.g.  "Journal" tids -my most common
>use-case for this), must reapply such tag(s)
>
> If you could collapse steps 2, 3 AND 4 into step 1, that would be the
> ultimate UX for me...
> ... but hey Fred: the user workflow is not at all heavy as it stands!
>
> /walt
>
>
> On Thursday, July 22, 2021 at 4:28:33 PM UTC+1 fred@gmail.com wrote:
>
>> @walt; I'll experiment with two additional options to the popup menu, to
>> save you a step (and fix the position bug) this evening, if you think that
>> helps your use case
>>
>> I am thinking:
>>
>>- fuse into new tiddler using bullets
>>- fuse into new tiddler using numbers
>>- collapse and replace stream using bullets
>>- collapse and replace stream using numbers
>>
>>
>> (with confirmation prompt for the latter two)
>>
>>
>>
>> On Thu, 22 Jul 2021 at 11:01, ludwa6  wrote:
>>
>>> Cool! the final step (i.e. cleanup) needed to flatten a Stream of nodes
>>> into a single tiddler, while preserving hierarchal presentation in readily
>>> portable form.
>>> I'll be using the heck out of this.
>>> Nice job of scaffold-building, @Saq / @Jan / @Fred ; you guys rock!
>>>
>>> /walt
>>>
>>>
>>> On Thursday, July 22, 2021 at 2:58:02 PM UTC+1 saq.i...@gmail.com wrote:
>>>

 Also need to find an easy way to delete all the node-tiddlers rendered
> superfluous, once i flatten using your modal ; this is the one function of
> Jan's addon that i miss...
>
> Delete the root tiddler the way you would delete any other tiddler.
 You will be prompted to delete it's nodes as well.



>>> --
>>>
>> 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/-xTFWPwzq6g/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/6d2c42b9-f03b-47f8-a224-1957520366cen%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/b7152a98-70a0-4da2-adb6-8b5abba03cf9n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnNA0FcWKik%3DXJ470z--oB1gaVXqHBkRmAS9Px-dQhEkQg%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-22 Thread Frédéric Demers
@walt; I'll experiment with two additional options to the popup menu, to
save you a step (and fix the position bug) this evening, if you think that
helps your use case

I am thinking:

   - fuse into new tiddler using bullets
   - fuse into new tiddler using numbers
   - collapse and replace stream using bullets
   - collapse and replace stream using numbers


(with confirmation prompt for the latter two)



On Thu, 22 Jul 2021 at 11:01, ludwa6  wrote:

> Cool! the final step (i.e. cleanup) needed to flatten a Stream of nodes
> into a single tiddler, while preserving hierarchal presentation in readily
> portable form.
> I'll be using the heck out of this.
> Nice job of scaffold-building, @Saq / @Jan / @Fred ; you guys rock!
>
> /walt
>
>
> On Thursday, July 22, 2021 at 2:58:02 PM UTC+1 saq.i...@gmail.com wrote:
>
>>
>> Also need to find an easy way to delete all the node-tiddlers rendered
>>> superfluous, once i flatten using your modal ; this is the one function of
>>> Jan's addon that i miss...
>>>
>>> Delete the root tiddler the way you would delete any other tiddler. You
>> will be prompted to delete it's nodes as well.
>>
>>
>>
> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/6d2c42b9-f03b-47f8-a224-1957520366cen%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnPy0Vhivz%2B0axfUy1km7DET%3DYJL2KRgtVvbDOwp8MtdCA%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-22 Thread Frédéric Demers
@Walt

Using TiddlyDesktop, I created a new TW (pre-release), imported Saq's
Streams  (latest) and relink
, the 5
tiddlers from Jan's streams-to-text addon , and my
streams-fusion .

I experienced no issue; for tiddlers with stream nodes, two buttons appear
next to the add node button and both are functional. I am afraid I can't
replicate the issue you were experiencing yesterday.
[image: image.png]
[image: image.png]


On Wed, 21 Jul 2021 at 17:02, Saq Imtiaz  wrote:

> On Wednesday, July 21, 2021 at 10:38:28 PM UTC+2 Mark S. wrote:
>
>> So, you have to add manual config even though it's set up in the relink
>> plugin config?
>
>
> Since your rename is happening outside of the Streams UI, yes. If you
> trigger a rename using the built in affordances, it is handled
> automatically if Relink is installed.  $:/config/RelinkOnRename is the
> default configuration tiddler which controls for both the core and relink
> what happens when renaming a tiddler via the edit template. It would be an
> overreach for Streams to change that behaviour that for users who rename
> outside of the Streams UI.
>
>
>> It might be helpful if this was mentioned in the installation tiddler.
>> Most people are going to assume that if they have the relink tiddler that
>> they're good to go.
>
>
>  Have not had any reports of this being a problem since the very first
> Streams release. Contributions to the documentation are always welcome.
>
> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/dc3ac1af-c0d1-4b2c-9085-ca8682d427fdn%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnPZhYQRfhyUT5wqU50%2BNLbED2yj1FfmLTgD5SHQp34iSA%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-21 Thread Frédéric Demers
a new icon, improved readme, everything else is the same ->
http://fastfreddy.gitlab.io/streams-fusion/ .
should help interoperability with streams-to-text addon; though will only
be able to test later

@saq agreed; not ideal. That is the reason my plugin only inserts the 
wrappers in case a node is multi-line or starts with !!, in order to
preserve the structure when nodes are converted to list items. This
deliberate but inconsistent behaviour annoys me too, but wrapping
everything in  tags felt excessive as many streams probably won't need
it.

The approach overall does have many limitations. Additionally, any
locally-only-relevant wikitext (fields/macros/filters) may fail when it is
copied, out of context, into a new tiddler with a different name and
structure.

I have been using the space-space-newline plugin myself of late; didn't
think it could have a role here, but I'll investigate.

On Wed, 21 Jul 2021 at 15:47, Saq Imtiaz  wrote:

> With regards to exporting a stream as a wikitext list, I have never
> pursued the option involving wrapping things in DIVs because the resultant
> output is quite difficult to read and edit, at which point just outputting
> HTML might be cleaner.
>
> However one option that might be worth investigating is using @pmario's
> "space space newline" plugin as a dependency, and prefixing every
> line-break in a node with two space characters. Problem is that this will
> interfere with multiline constructs like wikitext tables.
>
> https://wikilabs.github.io/editions/space-space-newline/
>
> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/75d57208-8942-4c2e-806f-db4846a16775n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnMo-r5n_u2yspBdLFf2RdByB3Jq2SYZ0UZ-hQnh8vXGGQ%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-21 Thread Frédéric Demers
well, Saq releases faster than I can type.

@walt again: can you confirm that doing these steps directly on Streams'
page work for you?


   1. drag the streams-fusion plugin from
   http://fastfreddy.gitlab.io/streams-fusion/ onto
   https://saqimtiaz.github.io/streams/ and install
   2. (removed -> thanks Saq!)

when I try (from work), I get the merge icon at the bottom of the tiddlers
that contain nodes



On Wed, 21 Jul 2021 at 14:57, Frédéric Demers  wrote:

> @walt again: can you confirm that doing these steps direclty on Streams'
> page work for you?
>
>
>1. drag teh streams-fusion plugin from
>http://fastfreddy.gitlab.io/streams-fusion/ onto
>https://saqimtiaz.github.io/streams/ and install
>2. move the Streams-fusion shadow tiddler
>$:/plugins/phiv/streams-fusion/fuse-button
>
> <https://fastfreddy.gitlab.io/streams-fusion/#%24%3A%2Fplugins%2Fphiv%2Fstreams-fusion%2Ffuse-button>
>  out
>of the shadows by editing it and saving it
>
> when I try (from work), I get the merge icon at the bottom of the tiddlers
> that contain nodes
>
>
> On Wed, 21 Jul 2021 at 14:49, Frédéric Demers 
> wrote:
>
>> @walt; hmm I'll have to experiment a bit more this evening. I have not
>> tried to run both Jan and mine in parallel, though I will. my next version
>> will have a different icon. I found a nice one on flaticon.
>>
>> Streams 1.2.22 is a future version, tongue-in-cheek, based on the github
>> issue I put in at Saq's request
>> https://github.com/saqimtiaz/streams/issues/30
>> In the meantime, maybe try adjusting the filter in Stream's
>> $:/plugins/sq/streams/nodes-list-template tiddler as per the github
>> issue recommendation and see if that helps. Failing that, there may be
>> something else I am overlooking.
>>
>> On Wed, 21 Jul 2021 at 13:40, ludwa6  wrote:
>>
>>> Hey @Fred: I've tried to install in my desktop TW instance, and am
>>> having some trouble.  What i did was:
>>>
>>>1. Installed your plugin (it's there and active, according to
>>>control panel);
>>>2. Upgraded my Streams plugin from v1.2.19 to 1.2.22 (/notetoself:
>>>must keep closer tabs on Saq's developments!);
>>>3. Moved the Streams-fusion shadow tiddler
>>>$:/plugins/phiv/streams-fusion/fuse-button
>>>
>>> <https://fastfreddy.gitlab.io/streams-fusion/#%24%3A%2Fplugins%2Fphiv%2Fstreams-fusion%2Ffuse-button>
>>>  out
>>>of the shadows by editing it and saving it.
>>>
>>> After each of these steps i saved and reloaded... And still i have just
>>> one of those neat flatten icons below my Streams, which opens Jan's
>>> streams-to-text modal instead of yours when i click on it.
>>> NB: i do also have Relink v2.0.0 installed, so it seems i have the
>>> dependencies covered.
>>> Now i'm wondering if these steps need to be taken in a different order?
>>> or if there is in fact some interference between your code and Jan's?
>>> (if so, i dunno what is proper dev etiquette in a case like this -but
>>> i'll do whatever admin housecleaning is needed, if given idiot-proof
>>> instructions <8-)
>>>
>>> Can you please advise?
>>>
>>> /walt
>>>
>>> On Wednesday, July 21, 2021 at 2:42:05 PM UTC+1 fred@gmail.com
>>> wrote:
>>>
>>>> Hi Walt, thanks for the kind words.
>>>>
>>>> The only side effect of running both in parallel would be the
>>>> appearance of two identical buttons that don't behave the same way... (I
>>>> think)
>>>> This problem could easily be avoided if I used a different icon, but I
>>>> am not super creative and Jan's icon is just perfect .
>>>>
>>>> The plugin does not do any house-cleaning; that would be rude, would it
>>>> not?
>>>>
>>>>
>>>>
>>>> On Wed, 21 Jul 2021 at 09:35, ludwa6  wrote:
>>>>
>>>>> Nice job, @Fred; it renders outlines from Streams not only faithfully,
>>>>> but beautifully!
>>>>>
>>>>> One question, before i install this in my primary desktop wiki: you
>>>>> say in your Credits that it borrows from -and is incompatible with- Jan's
>>>>> streams-to-text addon <https://szen.io/stream/>... Does this mean i
>>>>> should first remove the several bits that make up that addon before
>>>>> installing streams-fusion plugin?  Or does your plugin do its own proper
>>>>> house-clean

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-21 Thread Frédéric Demers
@walt again: can you confirm that doing these steps direclty on Streams'
page work for you?


   1. drag teh streams-fusion plugin from
   http://fastfreddy.gitlab.io/streams-fusion/ onto
   https://saqimtiaz.github.io/streams/ and install
   2. move the Streams-fusion shadow tiddler
   $:/plugins/phiv/streams-fusion/fuse-button
   
<https://fastfreddy.gitlab.io/streams-fusion/#%24%3A%2Fplugins%2Fphiv%2Fstreams-fusion%2Ffuse-button>
out
   of the shadows by editing it and saving it

when I try (from work), I get the merge icon at the bottom of the tiddlers
that contain nodes


On Wed, 21 Jul 2021 at 14:49, Frédéric Demers  wrote:

> @walt; hmm I'll have to experiment a bit more this evening. I have not
> tried to run both Jan and mine in parallel, though I will. my next version
> will have a different icon. I found a nice one on flaticon.
>
> Streams 1.2.22 is a future version, tongue-in-cheek, based on the github
> issue I put in at Saq's request
> https://github.com/saqimtiaz/streams/issues/30
> In the meantime, maybe try adjusting the filter in Stream's
> $:/plugins/sq/streams/nodes-list-template tiddler as per the github issue
> recommendation and see if that helps. Failing that, there may be something
> else I am overlooking.
>
> On Wed, 21 Jul 2021 at 13:40, ludwa6  wrote:
>
>> Hey @Fred: I've tried to install in my desktop TW instance, and am having
>> some trouble.  What i did was:
>>
>>1. Installed your plugin (it's there and active, according to control
>>panel);
>>2. Upgraded my Streams plugin from v1.2.19 to 1.2.22 (/notetoself:
>>must keep closer tabs on Saq's developments!);
>>3. Moved the Streams-fusion shadow tiddler
>>$:/plugins/phiv/streams-fusion/fuse-button
>>
>> <https://fastfreddy.gitlab.io/streams-fusion/#%24%3A%2Fplugins%2Fphiv%2Fstreams-fusion%2Ffuse-button>
>>  out
>>of the shadows by editing it and saving it.
>>
>> After each of these steps i saved and reloaded... And still i have just
>> one of those neat flatten icons below my Streams, which opens Jan's
>> streams-to-text modal instead of yours when i click on it.
>> NB: i do also have Relink v2.0.0 installed, so it seems i have the
>> dependencies covered.
>> Now i'm wondering if these steps need to be taken in a different order?
>> or if there is in fact some interference between your code and Jan's?
>> (if so, i dunno what is proper dev etiquette in a case like this -but
>> i'll do whatever admin housecleaning is needed, if given idiot-proof
>> instructions <8-)
>>
>> Can you please advise?
>>
>> /walt
>>
>> On Wednesday, July 21, 2021 at 2:42:05 PM UTC+1 fred@gmail.com wrote:
>>
>>> Hi Walt, thanks for the kind words.
>>>
>>> The only side effect of running both in parallel would be the appearance
>>> of two identical buttons that don't behave the same way... (I think)
>>> This problem could easily be avoided if I used a different icon, but I
>>> am not super creative and Jan's icon is just perfect .
>>>
>>> The plugin does not do any house-cleaning; that would be rude, would it
>>> not?
>>>
>>>
>>>
>>> On Wed, 21 Jul 2021 at 09:35, ludwa6  wrote:
>>>
>>>> Nice job, @Fred; it renders outlines from Streams not only faithfully,
>>>> but beautifully!
>>>>
>>>> One question, before i install this in my primary desktop wiki: you say
>>>> in your Credits that it borrows from -and is incompatible with- Jan's
>>>> streams-to-text addon <https://szen.io/stream/>... Does this mean i
>>>> should first remove the several bits that make up that addon before
>>>> installing streams-fusion plugin?  Or does your plugin do its own proper
>>>> house-cleaning?
>>>>
>>>> /walt
>>>>
>>>> On Wednesday, July 21, 2021 at 12:45:48 PM UTC+1 fred@gmail.com
>>>> wrote:
>>>>
>>>>> ok, here's a beta streams-fusion addon:
>>>>> https://fastfreddy.gitlab.io/streams-fusion/
>>>>> please note the troubleshooting step is required until the next
>>>>> Streams release; beta users beware
>>>>>
>>>> --
>> 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/-xTFWPwzq6g/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> tiddlywiki+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/1d281b7c-c2de-4aaf-93e1-c752dd4fdb8fn%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/1d281b7c-c2de-4aaf-93e1-c752dd4fdb8fn%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnPBkM6WEH9jUE18OtMh__2RH4h%3D3RBXKz1OThvAUm0Erw%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-21 Thread Frédéric Demers
@walt; hmm I'll have to experiment a bit more this evening. I have not
tried to run both Jan and mine in parallel, though I will. my next version
will have a different icon. I found a nice one on flaticon.

Streams 1.2.22 is a future version, tongue-in-cheek, based on the github
issue I put in at Saq's request
https://github.com/saqimtiaz/streams/issues/30
In the meantime, maybe try adjusting the filter in Stream's
$:/plugins/sq/streams/nodes-list-template tiddler as per the github issue
recommendation and see if that helps. Failing that, there may be something
else I am overlooking.

On Wed, 21 Jul 2021 at 13:40, ludwa6  wrote:

> Hey @Fred: I've tried to install in my desktop TW instance, and am having
> some trouble.  What i did was:
>
>1. Installed your plugin (it's there and active, according to control
>panel);
>2. Upgraded my Streams plugin from v1.2.19 to 1.2.22 (/notetoself:
>must keep closer tabs on Saq's developments!);
>3. Moved the Streams-fusion shadow tiddler
>$:/plugins/phiv/streams-fusion/fuse-button
>
> 
>  out
>of the shadows by editing it and saving it.
>
> After each of these steps i saved and reloaded... And still i have just
> one of those neat flatten icons below my Streams, which opens Jan's
> streams-to-text modal instead of yours when i click on it.
> NB: i do also have Relink v2.0.0 installed, so it seems i have the
> dependencies covered.
> Now i'm wondering if these steps need to be taken in a different order? or
> if there is in fact some interference between your code and Jan's?
> (if so, i dunno what is proper dev etiquette in a case like this -but i'll
> do whatever admin housecleaning is needed, if given idiot-proof
> instructions <8-)
>
> Can you please advise?
>
> /walt
>
> On Wednesday, July 21, 2021 at 2:42:05 PM UTC+1 fred@gmail.com wrote:
>
>> Hi Walt, thanks for the kind words.
>>
>> The only side effect of running both in parallel would be the appearance
>> of two identical buttons that don't behave the same way... (I think)
>> This problem could easily be avoided if I used a different icon, but I am
>> not super creative and Jan's icon is just perfect .
>>
>> The plugin does not do any house-cleaning; that would be rude, would it
>> not?
>>
>>
>>
>> On Wed, 21 Jul 2021 at 09:35, ludwa6  wrote:
>>
>>> Nice job, @Fred; it renders outlines from Streams not only faithfully,
>>> but beautifully!
>>>
>>> One question, before i install this in my primary desktop wiki: you say
>>> in your Credits that it borrows from -and is incompatible with- Jan's
>>> streams-to-text addon ... Does this mean i
>>> should first remove the several bits that make up that addon before
>>> installing streams-fusion plugin?  Or does your plugin do its own proper
>>> house-cleaning?
>>>
>>> /walt
>>>
>>> On Wednesday, July 21, 2021 at 12:45:48 PM UTC+1 fred@gmail.com
>>> wrote:
>>>
 ok, here's a beta streams-fusion addon:
 https://fastfreddy.gitlab.io/streams-fusion/
 please note the troubleshooting step is required until the next Streams
 release; beta users beware

>>> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1d281b7c-c2de-4aaf-93e1-c752dd4fdb8fn%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnM%3DC%2BKt-ipsO2i32bOqf62gLH9nw0CGCva_AeWT4Jy62w%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-21 Thread Frédéric Demers
@Mark: probably want the
https://flibbles.github.io/tw5-relink/#%24%3A%2Fplugins%2Fflibbles%2Frelink-titles
add on also.

On Wed, 21 Jul 2021 at 13:35, 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Trying streams. I notice that when I change the name of a tiddler, it
> drops out of the original list, apparently because *relink* doesn't
> operate on the streams-list field. Is there a tweak to fix that?
>
> On Wednesday, July 21, 2021 at 7:46:03 AM UTC-7 fred@gmail.com wrote:
>
>> I think I'll go ahead and change my icon in my next release for users who
>> may want to use both.
>> Would I get away with just changing the colour? Any SVG artist out there?
>>
>>
>> On Wednesday, 21 July 2021 at 09:42:05 UTC-4 Frédéric Demers wrote:
>>
>>> Hi Walt, thanks for the kind words.
>>>
>>> The only side effect of running both in parallel would be the appearance
>>> of two identical buttons that don't behave the same way... (I think)
>>> This problem could easily be avoided if I used a different icon, but I
>>> am not super creative and Jan's icon is just perfect .
>>>
>>> The plugin does not do any house-cleaning; that would be rude, would it
>>> not?
>>>
>>>
>>>
>>> On Wed, 21 Jul 2021 at 09:35, ludwa6  wrote:
>>>
>>>> Nice job, @Fred; it renders outlines from Streams not only faithfully,
>>>> but beautifully!
>>>>
>>>> One question, before i install this in my primary desktop wiki: you say
>>>> in your Credits that it borrows from -and is incompatible with- Jan's
>>>> streams-to-text addon <https://szen.io/stream/>... Does this mean i
>>>> should first remove the several bits that make up that addon before
>>>> installing streams-fusion plugin?  Or does your plugin do its own proper
>>>> house-cleaning?
>>>>
>>>> /walt
>>>>
>>>> On Wednesday, July 21, 2021 at 12:45:48 PM UTC+1 fred@gmail.com
>>>> wrote:
>>>>
>>>>> ok, here's a beta streams-fusion addon:
>>>>> https://fastfreddy.gitlab.io/streams-fusion/
>>>>> please note the troubleshooting step is required until the next
>>>>> Streams release; beta users beware
>>>>>
>>>>> very open to constructive feedback; and/or different ways of shipping
>>>>> such as rolled in the Streams plugin itself if it is good enough.
>>>>>
>>>>> On Wed, 21 Jul 2021 at 06:59, Saq Imtiaz  wrote:
>>>>>
>>>>>> That is definitely an oversight from when I added that at Jan's
>>>>>> request. If you open an issue on Github, it will be resolved for the next
>>>>>> release.
>>>>>>
>>>>>> On Wednesday, July 21, 2021 at 3:15:33 AM UTC+2 fred@gmail.com
>>>>>> wrote:
>>>>>>
>>>>>>> @saq
>>>>>>> quick question: am trying to package my addon, am a bit of a newbie
>>>>>>> unfortunately.
>>>>>>> is it possible we need to modify this line (bold insert)
>>>>>>> <$list 
>>>>>>> filter="[*all[shadows+tiddlers]*tag[$:/tags/streams/root-buttons]]"
>>>>>>> variable="btnTiddler">
>>>>>>>
>>>>>>> in $:/plugins/sq/streams/nodes-list-template ?
>>>>>>> otherwise, it feels like my new button does not take when it is
>>>>>>> contained within a plugineven with the $:/tags/streams/root-buttons
>>>>>>> tag
>>>>>>>
>>>>>>> thanks much...
>>>>>>>
>>>>>>> On Tue, 20 Jul 2021 at 07:58, Frédéric Demers 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> a quick update to everyone;
>>>>>>>>
>>>>>>>> I am making steady progress on packaging this merging solution,
>>>>>>>> hoping to release as a Streams plugin addon. I have repurposed the 
>>>>>>>> button
>>>>>>>> from https://szen.io/stream/. I now have it also working as a
>>>>>>>> Streams context menu, with keyboard shortcuts, and it can export 
>>>>>>>> sub-trees
>>>>>>>> correctly by adjusting the depth levels of the bulleted/numbered lists.
>>>>>>

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-21 Thread Frédéric Demers
I think I'll go ahead and change my icon in my next release for users who 
may want to use both. 
Would I get away with just changing the colour? Any SVG artist out there?


On Wednesday, 21 July 2021 at 09:42:05 UTC-4 Frédéric Demers wrote:

> Hi Walt, thanks for the kind words.
>
> The only side effect of running both in parallel would be the appearance 
> of two identical buttons that don't behave the same way... (I think)
> This problem could easily be avoided if I used a different icon, but I am 
> not super creative and Jan's icon is just perfect .
>
> The plugin does not do any house-cleaning; that would be rude, would it 
> not?
>
>
>
> On Wed, 21 Jul 2021 at 09:35, ludwa6  wrote:
>
>> Nice job, @Fred; it renders outlines from Streams not only faithfully, 
>> but beautifully! 
>>
>> One question, before i install this in my primary desktop wiki: you say 
>> in your Credits that it borrows from -and is incompatible with- Jan's 
>> streams-to-text addon <https://szen.io/stream/>... Does this mean i 
>> should first remove the several bits that make up that addon before 
>> installing streams-fusion plugin?  Or does your plugin do its own proper 
>> house-cleaning?
>>
>> /walt
>>
>> On Wednesday, July 21, 2021 at 12:45:48 PM UTC+1 fred@gmail.com 
>> wrote:
>>
>>> ok, here's a beta streams-fusion addon: 
>>> https://fastfreddy.gitlab.io/streams-fusion/
>>> please note the troubleshooting step is required until the next Streams 
>>> release; beta users beware
>>>
>>> very open to constructive feedback; and/or different ways of shipping 
>>> such as rolled in the Streams plugin itself if it is good enough.
>>>
>>> On Wed, 21 Jul 2021 at 06:59, Saq Imtiaz  wrote:
>>>
>>>> That is definitely an oversight from when I added that at Jan's 
>>>> request. If you open an issue on Github, it will be resolved for the next 
>>>> release.
>>>>
>>>> On Wednesday, July 21, 2021 at 3:15:33 AM UTC+2 fred@gmail.com 
>>>> wrote:
>>>>
>>>>> @saq
>>>>> quick question: am trying to package my addon, am a bit of a newbie 
>>>>> unfortunately. 
>>>>> is it possible we need to modify this line (bold insert)
>>>>> <$list 
>>>>> filter="[*all[shadows+tiddlers]*tag[$:/tags/streams/root-buttons]]" 
>>>>> variable="btnTiddler">
>>>>>
>>>>> in $:/plugins/sq/streams/nodes-list-template ?
>>>>> otherwise, it feels like my new button does not take when it is 
>>>>> contained within a plugineven with the $:/tags/streams/root-buttons 
>>>>> tag 
>>>>>
>>>>> thanks much...
>>>>>
>>>>> On Tue, 20 Jul 2021 at 07:58, Frédéric Demers  
>>>>> wrote:
>>>>>
>>>>>> a quick update to everyone;
>>>>>>
>>>>>> I am making steady progress on packaging this merging solution, 
>>>>>> hoping to release as a Streams plugin addon. I have repurposed the 
>>>>>> button 
>>>>>> from https://szen.io/stream/. I now have it also working as a 
>>>>>> Streams context menu, with keyboard shortcuts, and it can export 
>>>>>> sub-trees 
>>>>>> correctly by adjusting the depth levels of the bulleted/numbered lists.
>>>>>>
>>>>>> A few ideas I am going to try to roll in and release a beta by the 
>>>>>> end of this week
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>> On Sat, 17 Jul 2021 at 09:06, Frédéric Demers  
>>>>>> wrote:
>>>>>>
>>>>>>> with capture:
>>>>>>>
>>>>>>> On Sat, 17 Jul 2021 at 09:05, Frédéric Demers  
>>>>>>> wrote:
>>>>>>>
>>>>>>>> nevermind, I think I solved it at least, significant progress
>>>>>>>>
>>>>>>>> here's the wikitext for the challenging nodes; renders pretty well:
>>>>>>>>
>>>>>>>> * 
>>>>>>>>
>>>>>>>> ''Streams'' uses the following tiddler fields to maintain the 
>>>>>>>> structure of a stream:
>>>>>>>>
>>>>>>>> * each node tiddl

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-21 Thread Frédéric Demers
Hi Walt, thanks for the kind words.

The only side effect of running both in parallel would be the appearance of
two identical buttons that don't behave the same way... (I think)
This problem could easily be avoided if I used a different icon, but I am
not super creative and Jan's icon is just perfect .

The plugin does not do any house-cleaning; that would be rude, would it not?



On Wed, 21 Jul 2021 at 09:35, ludwa6  wrote:

> Nice job, @Fred; it renders outlines from Streams not only faithfully, but
> beautifully!
>
> One question, before i install this in my primary desktop wiki: you say in
> your Credits that it borrows from -and is incompatible with- Jan's
> streams-to-text addon <https://szen.io/stream/>... Does this mean i
> should first remove the several bits that make up that addon before
> installing streams-fusion plugin?  Or does your plugin do its own proper
> house-cleaning?
>
> /walt
>
> On Wednesday, July 21, 2021 at 12:45:48 PM UTC+1 fred@gmail.com wrote:
>
>> ok, here's a beta streams-fusion addon:
>> https://fastfreddy.gitlab.io/streams-fusion/
>> please note the troubleshooting step is required until the next Streams
>> release; beta users beware
>>
>> very open to constructive feedback; and/or different ways of shipping
>> such as rolled in the Streams plugin itself if it is good enough.
>>
>> On Wed, 21 Jul 2021 at 06:59, Saq Imtiaz  wrote:
>>
>>> That is definitely an oversight from when I added that at Jan's request.
>>> If you open an issue on Github, it will be resolved for the next release.
>>>
>>> On Wednesday, July 21, 2021 at 3:15:33 AM UTC+2 fred@gmail.com
>>> wrote:
>>>
>>>> @saq
>>>> quick question: am trying to package my addon, am a bit of a newbie
>>>> unfortunately.
>>>> is it possible we need to modify this line (bold insert)
>>>> <$list filter="[*all[shadows+tiddlers]*tag[$:/tags/streams/root-buttons]]"
>>>> variable="btnTiddler">
>>>>
>>>> in $:/plugins/sq/streams/nodes-list-template ?
>>>> otherwise, it feels like my new button does not take when it is
>>>> contained within a plugineven with the $:/tags/streams/root-buttons
>>>> tag
>>>>
>>>> thanks much...
>>>>
>>>> On Tue, 20 Jul 2021 at 07:58, Frédéric Demers 
>>>> wrote:
>>>>
>>>>> a quick update to everyone;
>>>>>
>>>>> I am making steady progress on packaging this merging solution, hoping
>>>>> to release as a Streams plugin addon. I have repurposed the button from
>>>>> https://szen.io/stream/. I now have it also working as a Streams
>>>>> context menu, with keyboard shortcuts, and it can export sub-trees
>>>>> correctly by adjusting the depth levels of the bulleted/numbered lists.
>>>>>
>>>>> A few ideas I am going to try to roll in and release a beta by the end
>>>>> of this week
>>>>>
>>>>> Cheers
>>>>>
>>>>> On Sat, 17 Jul 2021 at 09:06, Frédéric Demers 
>>>>> wrote:
>>>>>
>>>>>> with capture:
>>>>>>
>>>>>> On Sat, 17 Jul 2021 at 09:05, Frédéric Demers 
>>>>>> wrote:
>>>>>>
>>>>>>> nevermind, I think I solved it at least, significant progress
>>>>>>>
>>>>>>> here's the wikitext for the challenging nodes; renders pretty well:
>>>>>>>
>>>>>>> * 
>>>>>>>
>>>>>>> ''Streams'' uses the following tiddler fields to maintain the
>>>>>>> structure of a stream:
>>>>>>>
>>>>>>> * each node tiddler has a field `stream-type`
>>>>>>> * each node that has children, contains their titles in a list in
>>>>>>> the field `stream-list`
>>>>>>> * each node that has a parent, contains the parent's title in the
>>>>>>> field `parent`
>>>>>>>
>>>>>>> ''You can manipulate these tiddlers just as you would any other
>>>>>>> tiddlers, with filters and list and action widgets''
>>>>>>>
>>>>>>> 
>>>>>>> * To make it easier to work with Streams tiddlers and their nodes,
>>>>>>> two filters have been introduced. See [[Streams 0.2 
>>>>>&

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-21 Thread Frédéric Demers
ok, here's a beta streams-fusion addon:
https://fastfreddy.gitlab.io/streams-fusion/
please note the troubleshooting step is required until the next Streams
release; beta users beware

very open to constructive feedback; and/or different ways of shipping such
as rolled in the Streams plugin itself if it is good enough.

On Wed, 21 Jul 2021 at 06:59, Saq Imtiaz  wrote:

> That is definitely an oversight from when I added that at Jan's request.
> If you open an issue on Github, it will be resolved for the next release.
>
> On Wednesday, July 21, 2021 at 3:15:33 AM UTC+2 fred@gmail.com wrote:
>
>> @saq
>> quick question: am trying to package my addon, am a bit of a newbie
>> unfortunately.
>> is it possible we need to modify this line (bold insert)
>> <$list filter="[*all[shadows+tiddlers]*tag[$:/tags/streams/root-buttons]]"
>> variable="btnTiddler">
>>
>> in $:/plugins/sq/streams/nodes-list-template ?
>> otherwise, it feels like my new button does not take when it is contained
>> within a plugineven with the $:/tags/streams/root-buttons tag
>>
>> thanks much...
>>
>> On Tue, 20 Jul 2021 at 07:58, Frédéric Demers  wrote:
>>
>>> a quick update to everyone;
>>>
>>> I am making steady progress on packaging this merging solution, hoping
>>> to release as a Streams plugin addon. I have repurposed the button from
>>> https://szen.io/stream/. I now have it also working as a Streams
>>> context menu, with keyboard shortcuts, and it can export sub-trees
>>> correctly by adjusting the depth levels of the bulleted/numbered lists.
>>>
>>> A few ideas I am going to try to roll in and release a beta by the end
>>> of this week
>>>
>>> Cheers
>>>
>>> On Sat, 17 Jul 2021 at 09:06, Frédéric Demers 
>>> wrote:
>>>
>>>> with capture:
>>>>
>>>> On Sat, 17 Jul 2021 at 09:05, Frédéric Demers 
>>>> wrote:
>>>>
>>>>> nevermind, I think I solved it at least, significant progress
>>>>>
>>>>> here's the wikitext for the challenging nodes; renders pretty well:
>>>>>
>>>>> * 
>>>>>
>>>>> ''Streams'' uses the following tiddler fields to maintain the
>>>>> structure of a stream:
>>>>>
>>>>> * each node tiddler has a field `stream-type`
>>>>> * each node that has children, contains their titles in a list in the
>>>>> field `stream-list`
>>>>> * each node that has a parent, contains the parent's title in the
>>>>> field `parent`
>>>>>
>>>>> ''You can manipulate these tiddlers just as you would any other
>>>>> tiddlers, with filters and list and action widgets''
>>>>>
>>>>> 
>>>>> * To make it easier to work with Streams tiddlers and their nodes, two
>>>>> filters have been introduced. See [[Streams 0.2 improvements/Filters]]
>>>>> * 
>>>>>
>>>>> This is an example of a button that can export the content of the
>>>>> nodes of a tiddler whose title is in the variable `myTiddler` and save the
>>>>> combined text to a single tiddler:
>>>>>
>>>>> ```
>>>>> <$button> save to a single tiddler
>>>>> <$vars lb="
>>>>>
>>>>> ">
>>>>> <$action-setfield $tiddler="report" text={{{
>>>>> [get-stream-nodes[]]
>>>>>  :reduce[get[text]addprefixaddprefix] }}}/>
>>>>> 
>>>>> 
>>>>> ```
>>>>> Note that this disregards the node hierarchy.
>>>>> * 
>>>>>
>>>>> Similarly to export the combined text of the nodes as HTML you can use
>>>>> the `<$wikify>` widget:
>>>>>
>>>>> ```
>>>>> <$button> export as HTML
>>>>> <$wikify name="text" text="""<$list
>>>>> filter="[get-stream-nodes[]]">
>>>>> <$transclude mode=block/>
>>>>> """ output="html">
>>>>> <$action-setfield $tiddler="report" text=<>/>
>>>>> 
>>>>> 
>>>>> ```
>>>>>
>>>>> 
>>>>> * 
>>>>>
>>>>> Here is an example of a macro that can be u

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-20 Thread Frédéric Demers
@saq
quick question: am trying to package my addon, am a bit of a newbie
unfortunately.
is it possible we need to modify this line (bold insert)
<$list filter="[*all[shadows+tiddlers]*tag[$:/tags/streams/root-buttons]]"
variable="btnTiddler">

in $:/plugins/sq/streams/nodes-list-template ?
otherwise, it feels like my new button does not take when it is contained
within a plugineven with the $:/tags/streams/root-buttons tag

thanks much...

On Tue, 20 Jul 2021 at 07:58, Frédéric Demers  wrote:

> a quick update to everyone;
>
> I am making steady progress on packaging this merging solution, hoping to
> release as a Streams plugin addon. I have repurposed the button from
> https://szen.io/stream/. I now have it also working as a Streams context
> menu, with keyboard shortcuts, and it can export sub-trees correctly by
> adjusting the depth levels of the bulleted/numbered lists.
>
> A few ideas I am going to try to roll in and release a beta by the end of
> this week....
>
> Cheers
>
> On Sat, 17 Jul 2021 at 09:06, Frédéric Demers 
> wrote:
>
>> with capture:
>>
>> On Sat, 17 Jul 2021 at 09:05, Frédéric Demers 
>> wrote:
>>
>>> nevermind, I think I solved it at least, significant progress
>>>
>>> here's the wikitext for the challenging nodes; renders pretty well:
>>>
>>> * 
>>>
>>> ''Streams'' uses the following tiddler fields to maintain the structure
>>> of a stream:
>>>
>>> * each node tiddler has a field `stream-type`
>>> * each node that has children, contains their titles in a list in the
>>> field `stream-list`
>>> * each node that has a parent, contains the parent's title in the field
>>> `parent`
>>>
>>> ''You can manipulate these tiddlers just as you would any other
>>> tiddlers, with filters and list and action widgets''
>>>
>>> 
>>> * To make it easier to work with Streams tiddlers and their nodes, two
>>> filters have been introduced. See [[Streams 0.2 improvements/Filters]]
>>> * 
>>>
>>> This is an example of a button that can export the content of the nodes
>>> of a tiddler whose title is in the variable `myTiddler` and save the
>>> combined text to a single tiddler:
>>>
>>> ```
>>> <$button> save to a single tiddler
>>> <$vars lb="
>>>
>>> ">
>>> <$action-setfield $tiddler="report" text={{{
>>> [get-stream-nodes[]]
>>>  :reduce[get[text]addprefixaddprefix] }}}/>
>>> 
>>> 
>>> ```
>>> Note that this disregards the node hierarchy.
>>> * 
>>>
>>> Similarly to export the combined text of the nodes as HTML you can use
>>> the `<$wikify>` widget:
>>>
>>> ```
>>> <$button> export as HTML
>>> <$wikify name="text" text="""<$list
>>> filter="[get-stream-nodes[]]">
>>> <$transclude mode=block/>
>>> """ output="html">
>>> <$action-setfield $tiddler="report" text=<>/>
>>> 
>>> 
>>> ```
>>>
>>> 
>>> * 
>>>
>>> Here is an example of a macro that can be used to export a stream using
>>> a custom HTML structure:
>>>
>>> ```
>>> \define print-row()
>>> \whitespace trim
>>> <$(innerTag)$>{{!!text}}
>>> <$list filter="[has[stream-list]]" variable="_NULL">
>>> <$(outerTag)$>
>>> <$list filter="[enlist{!!stream-list}is[tiddler]]">
>>> <>
>>> 
>>> 
>>> 
>>> 
>>> \end
>>>
>>> \define print-stream()
>>> \whitespace trim
>>> <$(outerTag)$>
>>> <$list filter="[enlist{!!stream-list}is[tiddler]]">
>>> <>
>>> 
>>> 
>>> \end
>>>
>>> \define export-stream(tiddler:"" outerTag:"article" innerTag:"section")
>>> \whitespace trim
>>> <$vars outerTag="$outerTag$" innerTag="$innerTag$"
>>> currentTiddler="$tiddler$">
>>> <>
>>> 
>>> \end
>>>
>>> ```
>>>
>>> Try the following:
>>>
>>> * `<>` to export using article and
>>> section tags
>>> * `<>` to export
>>> as a list in HTML
>>>
>>> If you need a co

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-20 Thread Frédéric Demers
a quick update to everyone;

I am making steady progress on packaging this merging solution, hoping to
release as a Streams plugin addon. I have repurposed the button from
https://szen.io/stream/. I now have it also working as a Streams context
menu, with keyboard shortcuts, and it can export sub-trees correctly by
adjusting the depth levels of the bulleted/numbered lists.

A few ideas I am going to try to roll in and release a beta by the end of
this week

Cheers

On Sat, 17 Jul 2021 at 09:06, Frédéric Demers  wrote:

> with capture:
>
> On Sat, 17 Jul 2021 at 09:05, Frédéric Demers 
> wrote:
>
>> nevermind, I think I solved it at least, significant progress
>>
>> here's the wikitext for the challenging nodes; renders pretty well:
>>
>> * 
>>
>> ''Streams'' uses the following tiddler fields to maintain the structure
>> of a stream:
>>
>> * each node tiddler has a field `stream-type`
>> * each node that has children, contains their titles in a list in the
>> field `stream-list`
>> * each node that has a parent, contains the parent's title in the field
>> `parent`
>>
>> ''You can manipulate these tiddlers just as you would any other tiddlers,
>> with filters and list and action widgets''
>>
>> 
>> * To make it easier to work with Streams tiddlers and their nodes, two
>> filters have been introduced. See [[Streams 0.2 improvements/Filters]]
>> * 
>>
>> This is an example of a button that can export the content of the nodes
>> of a tiddler whose title is in the variable `myTiddler` and save the
>> combined text to a single tiddler:
>>
>> ```
>> <$button> save to a single tiddler
>> <$vars lb="
>>
>> ">
>> <$action-setfield $tiddler="report" text={{{
>> [get-stream-nodes[]]
>>  :reduce[get[text]addprefixaddprefix] }}}/>
>> 
>> 
>> ```
>> Note that this disregards the node hierarchy.
>> * 
>>
>> Similarly to export the combined text of the nodes as HTML you can use
>> the `<$wikify>` widget:
>>
>> ```
>> <$button> export as HTML
>> <$wikify name="text" text="""<$list
>> filter="[get-stream-nodes[]]">
>> <$transclude mode=block/>
>> """ output="html">
>> <$action-setfield $tiddler="report" text=<>/>
>> 
>> 
>> ```
>>
>> 
>> * 
>>
>> Here is an example of a macro that can be used to export a stream using a
>> custom HTML structure:
>>
>> ```
>> \define print-row()
>> \whitespace trim
>> <$(innerTag)$>{{!!text}}
>> <$list filter="[has[stream-list]]" variable="_NULL">
>> <$(outerTag)$>
>> <$list filter="[enlist{!!stream-list}is[tiddler]]">
>> <>
>> 
>> 
>> 
>> 
>> \end
>>
>> \define print-stream()
>> \whitespace trim
>> <$(outerTag)$>
>> <$list filter="[enlist{!!stream-list}is[tiddler]]">
>> <>
>> 
>> 
>> \end
>>
>> \define export-stream(tiddler:"" outerTag:"article" innerTag:"section")
>> \whitespace trim
>> <$vars outerTag="$outerTag$" innerTag="$innerTag$"
>> currentTiddler="$tiddler$">
>> <>
>> 
>> \end
>>
>> ```
>>
>> Try the following:
>>
>> * `<>` to export using article and section
>> tags
>> * `<>` to export
>> as a list in HTML
>>
>> If you need a copy to clipboard button it would look something like this:
>>
>> ```
>> <$button>
>> <$wikify name="stream-html" text=<>
>> output="html" >
>> <$action-sendmessage $message="tm-copy-to-clipboard"
>> $param=<>/>
>> 
>> Copy stream to clipboard as HTML
>> 
>> ```
>>
>> Similarly you can write recursive macros to output as just flat text
>> (with no structure or hierarchy) or wiki text list syntax (assuming you
>> have no multi-line content).
>>
>> On Sat, 17 Jul 2021 at 09:01, Saq Imtiaz  wrote:
>>
>>> @fred
>>>
>>>
>>>> I noticed my solution does not work so well for complex node content,
>>>> as those in:
>>>> https://saqimtiaz.github.io/streams/#Working%20with%20streams%20tiddlers
>>>>
>>>>
>>>> The reason is that wrapping in  tags mangles them badly;

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-17 Thread Frédéric Demers
with capture:

On Sat, 17 Jul 2021 at 09:05, Frédéric Demers  wrote:

> nevermind, I think I solved it at least, significant progress
>
> here's the wikitext for the challenging nodes; renders pretty well:
>
> * 
>
> ''Streams'' uses the following tiddler fields to maintain the structure of
> a stream:
>
> * each node tiddler has a field `stream-type`
> * each node that has children, contains their titles in a list in the
> field `stream-list`
> * each node that has a parent, contains the parent's title in the field
> `parent`
>
> ''You can manipulate these tiddlers just as you would any other tiddlers,
> with filters and list and action widgets''
>
> 
> * To make it easier to work with Streams tiddlers and their nodes, two
> filters have been introduced. See [[Streams 0.2 improvements/Filters]]
> * 
>
> This is an example of a button that can export the content of the nodes of
> a tiddler whose title is in the variable `myTiddler` and save the combined
> text to a single tiddler:
>
> ```
> <$button> save to a single tiddler
> <$vars lb="
>
> ">
> <$action-setfield $tiddler="report" text={{{
> [get-stream-nodes[]]
>  :reduce[get[text]addprefixaddprefix] }}}/>
> 
> 
> ```
> Note that this disregards the node hierarchy.
> * 
>
> Similarly to export the combined text of the nodes as HTML you can use the
> `<$wikify>` widget:
>
> ```
> <$button> export as HTML
> <$wikify name="text" text="""<$list
> filter="[get-stream-nodes[]]">
> <$transclude mode=block/>
> """ output="html">
> <$action-setfield $tiddler="report" text=<>/>
> 
> 
> ```
>
> 
> * 
>
> Here is an example of a macro that can be used to export a stream using a
> custom HTML structure:
>
> ```
> \define print-row()
> \whitespace trim
> <$(innerTag)$>{{!!text}}
> <$list filter="[has[stream-list]]" variable="_NULL">
> <$(outerTag)$>
> <$list filter="[enlist{!!stream-list}is[tiddler]]">
> <>
> 
> 
> 
> 
> \end
>
> \define print-stream()
> \whitespace trim
> <$(outerTag)$>
> <$list filter="[enlist{!!stream-list}is[tiddler]]">
> <>
> 
> 
> \end
>
> \define export-stream(tiddler:"" outerTag:"article" innerTag:"section")
> \whitespace trim
> <$vars outerTag="$outerTag$" innerTag="$innerTag$"
> currentTiddler="$tiddler$">
> <>
> 
> \end
>
> ```
>
> Try the following:
>
> * `<>` to export using article and section
> tags
> * `<>` to export as
> a list in HTML
>
> If you need a copy to clipboard button it would look something like this:
>
> ```
> <$button>
> <$wikify name="stream-html" text=<>
> output="html" >
> <$action-sendmessage $message="tm-copy-to-clipboard"
> $param=<>/>
> 
> Copy stream to clipboard as HTML
> 
> ```
>
> Similarly you can write recursive macros to output as just flat text (with
> no structure or hierarchy) or wiki text list syntax (assuming you have no
> multi-line content).
>
> On Sat, 17 Jul 2021 at 09:01, Saq Imtiaz  wrote:
>
>> @fred
>>
>>
>>> I noticed my solution does not work so well for complex node content, as
>>> those in:
>>> https://saqimtiaz.github.io/streams/#Working%20with%20streams%20tiddlers
>>>
>>>
>>> The reason is that wrapping in  tags mangles them badly; I tried a
>>> few alternatives (, more white space, ..), no success yet. Any
>>> suggestions?
>>>
>>
>> This is actually the real challenge and why there currently isn't a
>> default export option from Streams. Depending on the nature of the content,
>> it seems difficult to generalize a single export format that will work and
>> one of the common pitfalls is to think of Streams nodes as a list,*
>> which they are not.*
>>
>> A stream node is a tiddler which can contain any kind of content, and not
>> all kinds of content can be mapped to a list item. It might be easier to
>> set limitations in one's usage as to what to put inside of a node and have
>> an export format that works accordingly, rather than trying to come up with
>> a universal export format that works for all content. Hence my suggestion
>> of gathering real world user data to drive the process.
>>
>> --
>> You received this message because you are subscribed to a topi

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-17 Thread Frédéric Demers
nevermind, I think I solved it at least, significant progress

here's the wikitext for the challenging nodes; renders pretty well:

* 

''Streams'' uses the following tiddler fields to maintain the structure of
a stream:

* each node tiddler has a field `stream-type`
* each node that has children, contains their titles in a list in the field
`stream-list`
* each node that has a parent, contains the parent's title in the field
`parent`

''You can manipulate these tiddlers just as you would any other tiddlers,
with filters and list and action widgets''


* To make it easier to work with Streams tiddlers and their nodes, two
filters have been introduced. See [[Streams 0.2 improvements/Filters]]
* 

This is an example of a button that can export the content of the nodes of
a tiddler whose title is in the variable `myTiddler` and save the combined
text to a single tiddler:

```
<$button> save to a single tiddler
<$vars lb="

">
<$action-setfield $tiddler="report" text={{{
[get-stream-nodes[]]
 :reduce[get[text]addprefixaddprefix] }}}/>


```
Note that this disregards the node hierarchy.
* 

Similarly to export the combined text of the nodes as HTML you can use the
`<$wikify>` widget:

```
<$button> export as HTML
<$wikify name="text" text="""<$list
filter="[get-stream-nodes[]]">
<$transclude mode=block/>
""" output="html">
<$action-setfield $tiddler="report" text=<>/>


```


* 

Here is an example of a macro that can be used to export a stream using a
custom HTML structure:

```
\define print-row()
\whitespace trim
<$(innerTag)$>{{!!text}}
<$list filter="[has[stream-list]]" variable="_NULL">
<$(outerTag)$>
<$list filter="[enlist{!!stream-list}is[tiddler]]">
<>




\end

\define print-stream()
\whitespace trim
<$(outerTag)$>
<$list filter="[enlist{!!stream-list}is[tiddler]]">
<>


\end

\define export-stream(tiddler:"" outerTag:"article" innerTag:"section")
\whitespace trim
<$vars outerTag="$outerTag$" innerTag="$innerTag$"
currentTiddler="$tiddler$">
<>

\end

```

Try the following:

* `<>` to export using article and section
tags
* `<>` to export as
a list in HTML

If you need a copy to clipboard button it would look something like this:

```
<$button>
<$wikify name="stream-html" text=<>
output="html" >
<$action-sendmessage $message="tm-copy-to-clipboard"
$param=<>/>

Copy stream to clipboard as HTML

```

Similarly you can write recursive macros to output as just flat text (with
no structure or hierarchy) or wiki text list syntax (assuming you have no
multi-line content).

On Sat, 17 Jul 2021 at 09:01, Saq Imtiaz  wrote:

> @fred
>
>
>> I noticed my solution does not work so well for complex node content, as
>> those in:
>> https://saqimtiaz.github.io/streams/#Working%20with%20streams%20tiddlers
>>
>> The reason is that wrapping in  tags mangles them badly; I tried a
>> few alternatives (, more white space, ..), no success yet. Any
>> suggestions?
>>
>
> This is actually the real challenge and why there currently isn't a
> default export option from Streams. Depending on the nature of the content,
> it seems difficult to generalize a single export format that will work and
> one of the common pitfalls is to think of Streams nodes as a list,* which
> they are not.*
>
> A stream node is a tiddler which can contain any kind of content, and not
> all kinds of content can be mapped to a list item. It might be easier to
> set limitations in one's usage as to what to put inside of a node and have
> an export format that works accordingly, rather than trying to come up with
> a universal export format that works for all content. Hence my suggestion
> of gathering real world user data to drive the process.
>
> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/a0431024-302d-4433-95f0-021234984ab0n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnPgvWcYAPj6_fSVJyron-7tBRxxOuz55578OSY2ZXLS0Q%40mail.gmail.com.


Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-17 Thread Frédéric Demers
I am going to work at it a bit more; maybe repurpose/simplify the button
from https://szen.io/stream/ ? I quite like the look and feel of it, but I
probably don't need the modal form.

I have already added code needed to export also the root tiddler content
(done), have a parameter to choose between bullets and numbers (done), use
the tm-create-tiddler message to open a new tiddler in edit mode (easy) and
see if I can integrate it to the node context menu as well for sub-stream
merge (probably easy with the changes above).

I noticed my solution does not work so well for complex node content, as
those in:
https://saqimtiaz.github.io/streams/#Working%20with%20streams%20tiddlers

The reason is that wrapping in  tags mangles them badly; I tried a few
alternatives (, more white space, ..), no success yet. Any
suggestions?





On Sat, 17 Jul 2021 at 08:28, ludwa6  wrote:

> Nice work, @Fred; proof-of-concept it may be, but i'd love to know how to
> implement it -if indeed there's a n00b-friendly way to do it.  ?
>
> /walt
>
> On Saturday, July 17, 2021 at 4:20:04 AM UTC+1 fred@gmail.com wrote:
>
>> Greetings all,
>>
>> Using bits and pieces I cobbled together (like a plumber), I found a way
>> to flatten a stream of nodes into another tiddler and preserve the
>> hierarchy of the nodes.
>>
>> The key was to 1) use the recursive macro provide by Saq, 2) use the
>> get-stream-root[]count[] filter to determine depth of the node, and 3)
>> use the pad[]operator to turn said depth in the correct number of *
>> characters.
>> I had to work a bit to extract the wikitext correctly. I wrapped each
>> node in a  tag pair to allow multi-line nodes... though a smarter
>> filter set could do that only if line feeds are present in the node text.
>>
>> rendered preview enclosed, wikitext output below the sample code.
>>
>> \define print-row()
>> \whitespace trim
>> <$set name="depth"
>> filter="[get-stream-root:includeall[]count[]]">
>> <$set name="prefix" filter="[[*]pad,[*]removesuffix[*]]"
>> select="0">
>> <$vars lb="
>> ">
>>  <$list
>> filter="[get[text]addprefix[]addprefixaddsuffix]"
>> select="0" variable="nodetext">
>> <$text text=<> />
>> <$list filter="[has[stream-list]]" variable="_NULL">
>> <$list filter="[enlist{!!stream-list}is[tiddler]]">
>> <>
>> 
>> 
>>
>> 
>> 
>> 
>> 
>> \end
>>
>> \define print-stream()
>> \whitespace trim
>> <$list filter="[enlist{!!stream-list}is[tiddler]]">
>> <>
>> 
>> \end
>>
>> <$button> export
>> <$wikify name="flat" text=<> >
>> <$action-setfield $tiddler="report" text=<>/>
>> 
>> 
>>
>>
>> --
>>
>> *''Version 1.0''
>> **Add affordance to collapse/expand all nodes of a  stream
>> **''CSS''
>> ***Update css to respect color palette
>> **''Settings''
>> ***''Configuration settings for context menu items''
>> Include other menu items like demote/promote that are disabled
>> by default
>> Config screen for enabling/disabling context menu items
>> Allow specifying that a contextmenu item should be displayed on
>> narrow screens (mobile) only?
>> ***Config tiddler for node content template
>> *Have an option to detach a bullet from a list.
>> *''Version 1.1''
>> **//Provide a better UI to rename bullets while editing//
>> **UI ideas re: modals
>>
>> https://getbootstrap.com/docs/3.4/javascript/#popovers
>>
>>
>> http://www.uxforthemasses.com/wp-content/uploads/2015/08/LinkedIn-edit-example.jpg
>> 
>> *''Other Ideas''
>> **drag and drop considerations
>> ***copy/transclude via modifier keys to another tiddler doesnt
>> include nested children
>> **option to flatten a bullet list to one tiddler, for
>> publishing/export
>> **context menu that applies to entire stream
>> **Consider different styling for default bullet
>> *''Version 2.0''
>> **''templating for list row items and row controls''
>> ***Allow for different kinds of stream tiddlers (todo, comments,
>> etc)
>> **Use draft mechanism for editing
>> ***navigator.js L266
>>
>>
>>
>> On Thursday, 15 July 2021 at 14:34:58 UTC-4 saq.i...@gmail.com wrote:
>>
>>> My previous two rather lengthy replies to this thread seem not have been
>>> published. I am hoping I've accidentally hit "reply to author". If not,
>>> I'll find the time to try again over the weekend.
>>>
>>> Saq
>>>
>> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/0a4ca26c-08b1-411f-9865-072aff4be733n%40googlegroups.com
> 
> .
>

-- 
You received this 

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-17 Thread Frédéric Demers
It would be an honour Saq!

On Sat, 17 Jul 2021 at 06:50, Saq Imtiaz  wrote:

> @fred nicely done. Quite pleasing to see what the new filter operators
> have been useful in this as well. Would you mind if I add this as another
> export example to the Streams docs?
>
> On Saturday, July 17, 2021 at 5:59:52 AM UTC+2 fred@gmail.com wrote:
>
>> Here's a version that wraps in  only the nodes that have line
>> breaks in them; there's certainly a cleaner way to do this, but here it is
>> as inspiration/proof-of-concept.
>>
>> wikitext output below code; the screen capture sent previously is
>> unchanged.
>>
>> \define print-row()
>> \whitespace trim
>>  <$vars lb="
>>
>> ">
>> <$set name="depth"
>> filter="[get-stream-root:includeall[]count[]]">
>> <$set name="prefix" filter="[[*]pad,[*]removesuffix[*]]"
>> select="0">
>> <$set name="prewrap"
>> filter="[regexp:text[\n]then[]]" select="0">
>> <$set name="postwrap"
>> filter="[regexp:text[\n]then[]]" select="0">
>>   <$list
>> filter="[get[text]addprefixaddprefixaddsuffixaddsuffix]"
>> select="0" variable="nodetext">
>>
>> <$text text=<> />
>> <$list filter="[has[stream-list]]" variable="_NULL">
>> <$list filter="[enlist{!!stream-list}is[tiddler]]">
>> <>
>> 
>> 
>>   
>> 
>> 
>> 
>> 
>> 
>>
>> \end
>>
>> \define print-stream()
>> \whitespace trim
>> <$list filter="[enlist{!!stream-list}is[tiddler]]">
>> <>
>> 
>> \end
>>
>> <$button> export
>> <$wikify name="flat" text=<> >
>> <$action-setfield $tiddler="report" text=<>/>
>> 
>> 
>>
>>
>> -
>>
>> *''Version 1.0''
>> **Add affordance to collapse/expand all nodes of a  stream
>> **''CSS''
>> ***Update css to respect color palette
>> **''Settings''
>> ***''Configuration settings for context menu items''
>> Include other menu items like demote/promote that are disabled by
>> default
>> Config screen for enabling/disabling context menu items
>> Allow specifying that a contextmenu item should be displayed on
>> narrow screens (mobile) only?
>> ***Config tiddler for node content template
>> *Have an option to detach a bullet from a list.
>> *''Version 1.1''
>> **//Provide a better UI to rename bullets while editing//
>>
>> **UI ideas re: modals
>>
>> https://getbootstrap.com/docs/3.4/javascript/#popovers
>>
>>
>> http://www.uxforthemasses.com/wp-content/uploads/2015/08/LinkedIn-edit-example.jpg
>> 
>> *''Other Ideas''
>> **drag and drop considerations
>> ***copy/transclude via modifier keys to another tiddler doesnt include
>> nested children
>> **option to flatten a bullet list to one tiddler, for publishing/export
>> **context menu that applies to entire stream
>> **Consider different styling for default bullet
>> *''Version 2.0''
>> **''templating for list row items and row controls''
>> ***Allow for different kinds of stream tiddlers (todo, comments, etc)
>> **Use draft mechanism for editing
>> ***navigator.js L266
>>
>>
>>
>> On Fri, 16 Jul 2021 at 23:20, Frédéric Demers  wrote:
>>
>>> Greetings all,
>>>
>>> Using bits and pieces I cobbled together (like a plumber), I found a way
>>> to flatten a stream of nodes into another tiddler and preserve the
>>> hierarchy of the nodes.
>>>
>>> The key was to 1) use the recursive macro provide by Saq, 2) use the
>>> get-stream-root[]count[] filter to determine depth of the node, and 3)
>>> use the pad[]operator to turn said depth in the correct number of *
>>> characters.
>>> I had to work a bit to extract the wikitext correctly. I wrapped each
>>> node in a  tag pair to allow multi-line nodes... though a smarter
>>> filter set could do that only if line feeds are present in the node text.
>>>
>>> rendered preview enclosed, wikitext output below the sample code.
>>>
>>> \define print-row()
>>> \whitespace trim
>>> <$set name="depth"
>>> filter="[get-stream-root:includeall[]count[]]">
>>> <$set name="p

Re: [tw5] Re: NoteTaking in Streams - hierarchy-preserving flattening in wikitext

2021-07-16 Thread Frédéric Demers
Here's a version that wraps in  only the nodes that have line breaks
in them; there's certainly a cleaner way to do this, but here it is as
inspiration/proof-of-concept.

wikitext output below code; the screen capture sent previously is unchanged.

\define print-row()
\whitespace trim
 <$vars lb="
">
<$set name="depth"
filter="[get-stream-root:includeall[]count[]]">
<$set name="prefix" filter="[[*]pad,[*]removesuffix[*]]" select="0">
<$set name="prewrap"
filter="[regexp:text[\n]then[]]" select="0">
<$set name="postwrap"
filter="[regexp:text[\n]then[]]" select="0">
  <$list
filter="[get[text]addprefixaddprefixaddsuffixaddsuffix]"
select="0" variable="nodetext">
<$text text=<> />
<$list filter="[has[stream-list]]" variable="_NULL">
<$list filter="[enlist{!!stream-list}is[tiddler]]">
<>


  





\end

\define print-stream()
\whitespace trim
<$list filter="[enlist{!!stream-list}is[tiddler]]">
<>

\end

<$button> export
<$wikify name="flat" text=<> >
<$action-setfield $tiddler="report" text=<>/>



-

*''Version 1.0''
**Add affordance to collapse/expand all nodes of a  stream
**''CSS''
***Update css to respect color palette
**''Settings''
***''Configuration settings for context menu items''
Include other menu items like demote/promote that are disabled by
default
Config screen for enabling/disabling context menu items
Allow specifying that a contextmenu item should be displayed on narrow
screens (mobile) only?
***Config tiddler for node content template
*Have an option to detach a bullet from a list.
*''Version 1.1''
**//Provide a better UI to rename bullets while editing//
**UI ideas re: modals

https://getbootstrap.com/docs/3.4/javascript/#popovers

http://www.uxforthemasses.com/wp-content/uploads/2015/08/LinkedIn-edit-example.jpg

*''Other Ideas''
**drag and drop considerations
***copy/transclude via modifier keys to another tiddler doesnt include
nested children
**option to flatten a bullet list to one tiddler, for publishing/export
**context menu that applies to entire stream
**Consider different styling for default bullet
*''Version 2.0''
**''templating for list row items and row controls''
***Allow for different kinds of stream tiddlers (todo, comments, etc)
**Use draft mechanism for editing
***navigator.js L266



On Fri, 16 Jul 2021 at 23:20, Frédéric Demers  wrote:

> Greetings all,
>
> Using bits and pieces I cobbled together (like a plumber), I found a way
> to flatten a stream of nodes into another tiddler and preserve the
> hierarchy of the nodes.
>
> The key was to 1) use the recursive macro provide by Saq, 2) use the
> get-stream-root[]count[] filter to determine depth of the node, and 3)
> use the pad[]operator to turn said depth in the correct number of *
> characters.
> I had to work a bit to extract the wikitext correctly. I wrapped each node
> in a  tag pair to allow multi-line nodes... though a smarter filter
> set could do that only if line feeds are present in the node text.
>
> rendered preview enclosed, wikitext output below the sample code.
>
> \define print-row()
> \whitespace trim
> <$set name="depth"
> filter="[get-stream-root:includeall[]count[]]">
> <$set name="prefix" filter="[[*]pad,[*]removesuffix[*]]" select="0">
> <$vars lb="
> ">
>  <$list
> filter="[get[text]addprefix[]addprefixaddsuffix]"
> select="0" variable="nodetext">
> <$text text=<> />
> <$list filter="[has[stream-list]]" variable="_NULL">
> <$list filter="[enlist{!!stream-list}is[tiddler]]">
> <>
> 
> 
>
> 
> 
> 
> 
> \end
>
> \define print-stream()
> \whitespace trim
> <$list filter="[enlist{!!stream-list}is[tiddler]]">
> <>
> 
> \end
>
> <$button> export
> <$wikify name="flat" text=<> >
> <$action-setfield $tiddler="report" text=<>/>
> 
> 
>
>
> --
>
> *''Version 1.0''
> **Add affordance to collapse/expand all nodes of a  stream
> **''CSS''
> ***Update css to respect color palette
> **''Settings''
> ***''Configuration settings for context menu items''
> Include other menu items like demote/promote that are disabled by
> default
> Config screen for enabling/disabling context menu items
> Allow specifying th

[tw5] Re: Introducing: the Subsume plugin.

2021-07-16 Thread Frédéric Demers
I am a fan; nicely done; probably will become part of my core toolset!
thank you!

On Friday, 16 July 2021 at 23:07:55 UTC-4 David Gifford wrote:

> Hi Brian
>
> I thought about that. I wasn't sure if Subsume should be thought of more 
> for readers / web viewers, who might be confused by the sudden switch to 
> edit mode, or for writers, for whom edit mode would be one click less, thus 
> more efficient.
>
> On Friday, July 16, 2021 at 9:14:42 PM UTC-5 Brian Radspinner wrote:
>
>> I like it! Simple but effective. 
>>
>> An option to think about: you could change the asterisk link to instead 
>> be a button that opens the tiddler in edit-mode rather than view-mode.It 
>> will save a step to go right to editing.
>> On Friday, July 16, 2021 at 4:33:23 PM UTC-7 David Gifford wrote:
>>
>>> Hi everyone
>>>
>>> For a while it seemed the problems would never end. But with the help of 
>>> a lot of people, the Subsume plugin has finally landed. 
>>> https://giffmex.org/gifts/subsume.html
>>>
>>> Subsumes are a combination of links and sliders in one macro, so that 
>>> you can either open a link to a subsumed tiddler or open a slider to view 
>>> its contents without losing your place in the host tiddler. 
>>>
>>> Subsumes can be nested, so this plugin is also a way to do outlining in 
>>> TiddlyWiki similar to Dynalist and Workflowy. Includes an editor toolbar, 
>>> relinking of subsumes, excising as subsumes, and, with an addon, 
>>> autocompletion as subsumes.
>>>
>>> See the new video tutorial at the demo site. A big thanks to snowgoon88 
>>> and flibbles for their plugins, and to everyone who helped me out with 
>>> previous versions (hideme, det) and now subsume
>>>
>>> Feedback welcome and appreciated!
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c365754e-eea0-40d6-963b-544375065532n%40googlegroups.com.


Re: [tw5] NoteTaking in Streams

2021-06-26 Thread Frédéric Demers
exactly @PMario; thanks for the pointer; coupled with the TWCommander
 plugin, one can export based on a
filter result if I am not mistaken

+@saq: you will however note this pattern of moving nodes from one tiddler
to another also disrupts the powerful relink tool when you rename the root.
Only child nodes that match the title prefix are updated; meaning anything
you dragged from a different origin retains its old name. The alternative
would be the drag n' drop action also updates the child node title to the
destination tiddler.



On Sat, 26 Jun 2021 at 00:32, PMario  wrote:

> Have a look at the new filters:
> https://saqimtiaz.github.io/streams/#Streams%200.2%20improvements%2FFilters
> the last one.
>
> -m
>
> On Saturday, June 26, 2021 at 5:13:07 AM UTC+2 fred@gmail.com wrote:
>
>> @saq; certainly.
>> When dragging a node from one root tiddler to another, it retains the
>> naming convention of previous tiddler.
>> I believe this is working as intended. The parent and stream-list fields
>> are adjusted correctly.
>>
>> In my case, I sometimes wish to export and re-import a set of root
>> tiddlers and their stream nodes.
>> At that point, I can't just bulk select (check) all tiddlers (including
>> nodes) that start with the same title; a portion of those may actually now
>> belong to different root tiddlers (thus I don't want to import them).
>> Similarly, I can miss ones I should include because, whilst they are valid
>> node tiddlers, their name is not associated with what I am looking for in
>> the tiddler import dialog.
>>
>> So I need to more cleverly bulk export one or more root tiddlers with
>> their complete node hierarchy, regardless of title names, quite simply. I
>> don't believe this to be particularly challenging to be honest, so whenever
>> I need to do this, I should be able to do it smartly.
>>
>> Cheers,
>>
>> On Fri, 25 Jun 2021 at 16:47, Saq Imtiaz  wrote:
>>
>>> @Fred could you please elaborate on what this side effect is that you
>>> mention?
>>>
>>> I my workflow, I treat them as sub-tiddlers really. You could say I
 replaced larger tiddlers with multiple headings with much smaller streams
 nodes (but not single line ones); main advantage is I can move nodes
 around, indent them, etc... and drag them from one tiddler to another
 (although I have recently noted this has an unfortunate side effect).
>>>
>>>
>>> Thank you.
>>>
>>> --
>>> 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/-xTFWPwzq6g/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/5407c9c6-b723-4d61-88c1-ad3a1bef24e5n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/fc902336-413e-463b-8103-7767dc5d3cb2n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnO39%2B%2Br14PXPjvWdA%3DGz-hz1qbJp8bEWEsULPSCFzTg1Q%40mail.gmail.com.


Re: [tw5] NoteTaking in Streams

2021-06-25 Thread Frédéric Demers
@saq; certainly.
When dragging a node from one root tiddler to another, it retains the
naming convention of previous tiddler.
I believe this is working as intended. The parent and stream-list fields
are adjusted correctly.

In my case, I sometimes wish to export and re-import a set of root tiddlers
and their stream nodes.
At that point, I can't just bulk select (check) all tiddlers (including
nodes) that start with the same title; a portion of those may actually now
belong to different root tiddlers (thus I don't want to import them).
Similarly, I can miss ones I should include because, whilst they are valid
node tiddlers, their name is not associated with what I am looking for in
the tiddler import dialog.

So I need to more cleverly bulk export one or more root tiddlers with their
complete node hierarchy, regardless of title names, quite simply. I don't
believe this to be particularly challenging to be honest, so whenever I
need to do this, I should be able to do it smartly.

Cheers,

On Fri, 25 Jun 2021 at 16:47, Saq Imtiaz  wrote:

> @Fred could you please elaborate on what this side effect is that you
> mention?
>
> I my workflow, I treat them as sub-tiddlers really. You could say I
>> replaced larger tiddlers with multiple headings with much smaller streams
>> nodes (but not single line ones); main advantage is I can move nodes
>> around, indent them, etc... and drag them from one tiddler to another
>> (although I have recently noted this has an unfortunate side effect).
>
>
> Thank you.
>
> --
> 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/-xTFWPwzq6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/5407c9c6-b723-4d61-88c1-ad3a1bef24e5n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnN_PYzDAobtfGai%2BsimpEGjaz5dPKCXUxkr-ESqmx88qg%40mail.gmail.com.


Re: [tw5] NoteTaking in Streams

2021-06-25 Thread Frédéric Demers
@ludwa6
 the macrocall takes advantage of a new feature in 5.1.24 (or 5.2.0)

   - extended
   

unusedtitle
   macro to use the prefix parameter

(up until then I had copied/modified the unusedtitle macro to do the same)

On Fri, 25 Jun 2021 at 06:23, ludwa6  wrote:

> Hey @fred: Good to hear, thanks ; sounds like you too might make good use
> of the button script Si has provided
> , as
> i am now doing.
>
> Also, i am curious to try your node-naming macrocall... But i wonder what
> you mean by "requires pre-release".  Does that mean a specific version of
> TW and/or Streams is needed? If so, can you say which it is, specifically?
>
> /walt
> On Friday, June 25, 2021 at 4:01:37 AM UTC+1 fred@gmail.com wrote:
>
>> I use Streams daily (all my TW interactions are Streams-based). I my
>> workflow, I treat them as sub-tiddlers really. You could say I replaced
>> larger tiddlers with multiple headings with much smaller streams nodes (but
>> not single line ones); main advantage is I can move nodes around, indent
>> them, etc... and drag them from one tiddler to another (although I have
>> recently noted this has an unfortunate side effect). And the double-click
>> edit is very handy, focused to the one sub-tiddler I care to change.
>>
>> I have customized the node titles to be  <$macrocall $name="unusedtitle"
>> baseName=<> separator="/" /> (requires pre-release). In my
>> workflow however, the return key does not create a new nodes;
>> shift-return does (ctrl-return exits edit mode). This way I can enter
>> several lines, bullets, etc.. and when I am ready, shift-return for the
>> next node. I like that better. I use alt-right, alt-left to indent, so I
>> can manage lists of bullets, number or checkboxes.
>>
>> In all I am a big fan; I have on occasion wished for the ability to
>> flatten and move content around to overcome the unfortunate side-effect,
>> but have done so manually.
>>
>> Cheers; and thanks Saq!
>>
>>
>> On Thursday, 24 June 2021 at 19:01:09 UTC-4 Si wrote:
>>
>>> Hi Walt,
>>>
>>> SO this is to ask all of you with any experience of Streams plugin: Can
 you relate to the need i am expressing?  Or have you found a good way
 "flatten" your streams, and integrate your Streams content properly into a
 TW instance?  If so, anything you might care to share in terms of workflow
 and/or code would be most appreciated.
>>>
>>>
>>> I don't personally have any need to convert a stream into a bulleted
>>> list within a single tiddler*.* As you note, outliners very useful for
>>> agile note taking, but in my opinion a hierarchical list is not the best
>>> way to *present* a single idea. So in general once I have moved my
>>> streams nodes to their evergreen home, I aspire to convert my notes into
>>> more readable prose. I do this by rearranging the nodes into a flat list,
>>> re-writing as required, and then flattening with a button described here:
>>> https://groups.google.com/g/tiddlywiki/c/rEtegfiGYJE/m/L0-euDfWAAAJ
>>>
>>> In reality I rarely actually get to that stage, and am generally happy
>>> to leave my evergreen notes in "node-form". I don't personally see any
>>> benefit in converting them to a bulleted markdown list, but it depends on
>>> what your use case is?
>>>
>>> Meanwhile: i too would very much like to know who else is using Streams
 regularly, and in what sort of workflow(s).
 So if you are one, dear reader, please let us know!
>>>
>>>
>>>  Hi Saq,
>>>
>>> One of the things I would dearly like to know is how many people are
 actually using Streams on a regular basis, and what their workflow looks
 like. My feeling is its a very small handful and I'll admit that probably
 influences how much time I devote to working on Streams.
>>>
>>>
>>> You may have seen it but I roughly described my workflow here:
>>> https://groups.google.com/g/tiddlywiki/c/gbEHUyX8dc0/m/r1yF5JdXCAAJ
>>>
>>> For me Streams excels at quickly capturing information that I cannot yet
>>> fit into any main ideas within your knowledge. Being able to re-jig this
>>> captured information is helpful for making sense of it, eventually
>>> integrating them with the main ideas that I want to internalise. In
>>> particular this can help to break through some of the constraints of linear
>>> reading.
>>>
>>> I aspire to one day build some incremental reading
>>>  tools with
>>> TiddlyWiki, which may partially replace my use of streams, but for now I
>>> have found streams to be the best solution for non-linear reading.
>>>
>>> On the topic of how many people use it, maybe you could consider
>>> creating a Google Form and linking to it from the download page, asking
>>> users if they would take a second to answer some brief questions?
>>>
>>> I was also wondering if you had considered 

Re: [tw5] NoteTaking in Streams

2021-06-24 Thread Frédéric Demers
I use Streams daily (all my TW interactions are Streams-based). I my 
workflow, I treat them as sub-tiddlers really. You could say I replaced 
larger tiddlers with multiple headings with much smaller streams nodes (but 
not single line ones); main advantage is I can move nodes around, indent 
them, etc... and drag them from one tiddler to another (although I have 
recently noted this has an unfortunate side effect). And the double-click 
edit is very handy, focused to the one sub-tiddler I care to change.

I have customized the node titles to be  <$macrocall $name="unusedtitle" 
baseName=<> separator="/" /> (requires pre-release). In my workflow 
however, the return key does not create a new nodes; shift-return does (
ctrl-return exits edit mode). This way I can enter several lines, bullets, 
etc.. and when I am ready, shift-return for the next node. I like that 
better. I use alt-right, alt-left to indent, so I can manage lists of 
bullets, number or checkboxes.

In all I am a big fan; I have on occasion wished for the ability to flatten 
and move content around to overcome the unfortunate side-effect, but have 
done so manually.

Cheers; and thanks Saq!


On Thursday, 24 June 2021 at 19:01:09 UTC-4 Si wrote:

> Hi Walt,
>
> SO this is to ask all of you with any experience of Streams plugin: Can 
>> you relate to the need i am expressing?  Or have you found a good way 
>> "flatten" your streams, and integrate your Streams content properly into a 
>> TW instance?  If so, anything you might care to share in terms of workflow 
>> and/or code would be most appreciated.
>
>
> I don't personally have any need to convert a stream into a bulleted list 
> within a single tiddler*.* As you note, outliners very useful for agile 
> note taking, but in my opinion a hierarchical list is not the best way to 
> *present* a single idea. So in general once I have moved my streams nodes 
> to their evergreen home, I aspire to convert my notes into more readable 
> prose. I do this by rearranging the nodes into a flat list, re-writing as 
> required, and then flattening with a button described here: 
> https://groups.google.com/g/tiddlywiki/c/rEtegfiGYJE/m/L0-euDfWAAAJ
>
> In reality I rarely actually get to that stage, and am generally happy to 
> leave my evergreen notes in "node-form". I don't personally see any benefit 
> in converting them to a bulleted markdown list, but it depends on what your 
> use case is?
>
> Meanwhile: i too would very much like to know who else is using Streams 
>> regularly, and in what sort of workflow(s). 
>> So if you are one, dear reader, please let us know!  
>
>
>  Hi Saq,
>
> One of the things I would dearly like to know is how many people are 
>> actually using Streams on a regular basis, and what their workflow looks 
>> like. My feeling is its a very small handful and I'll admit that probably 
>> influences how much time I devote to working on Streams.
>
>
> You may have seen it but I roughly described my workflow here: 
> https://groups.google.com/g/tiddlywiki/c/gbEHUyX8dc0/m/r1yF5JdXCAAJ
>
> For me Streams excels at quickly capturing information that I cannot yet 
> fit into any main ideas within your knowledge. Being able to re-jig this 
> captured information is helpful for making sense of it, eventually 
> integrating them with the main ideas that I want to internalise. In 
> particular this can help to break through some of the constraints of linear 
> reading.
>
> I aspire to one day build some incremental reading 
>  tools with 
> TiddlyWiki, which may partially replace my use of streams, but for now I 
> have found streams to be the best solution for non-linear reading.
>
> On the topic of how many people use it, maybe you could consider creating 
> a Google Form and linking to it from the download page, asking users if 
> they would take a second to answer some brief questions?
>
> I was also wondering if you had considered setting up a way for users to 
> donate? Not necessarily to fund development, just to show appreciation for 
> great free software! I am not currently in a position to contribute much, 
> but in the future I would certainly be happy to subscribe to a patreon or 
> whatever.
>
> I would add that like Mario I am very happy with the current features of 
> streams, though I have made the following tweak to the text display for the 
> breadcrumbs. It's a very minor thing, but in my opinion looks nicer than 
> just cutting off the title mid-word:
>
> <$text text={{{ 
> [length[]compare:number:lt[40]then] 
> ~[split[]first[40]join[]trim[]addsuffix[...]] }}}/>
>
>  I wonder if you think it should be added when you next update?
>
> On Thu, 24 Jun 2021 at 14:22, ludwa6  wrote:
>
>> Picking up where this earlier thread 
>>  left off, i am 
>> following Saq's advice 
>>  to 
>> start another 

[tw5] Re: [question] plugin that turn a transclusion into a clickable link in edit mode ?

2021-06-10 Thread Frédéric Demers
Not exactly what you want but if you use the paragraphs plugin to 
transclude, you can edit the original tiddler's text directly when in view 
more. You may be able to tweak it so the view is nearly identical.

http://j.d.paragraphs.tiddlyspot.com/#paragraphs%20Macro%20(Examples)

On Thursday, 10 June 2021 at 19:33:53 UTC-4 Télumire wrote:

> Hello everyone!
>
> Does anyone know if there is a plugin that turn a transclusion into a 
> clickable link to the tiddler transcluded, in edit mode?
>
> The process would be as follows: 
>
> I want to edit a tiddler (A). When the editor opens, I see that I have 
> transcluded another tiddler (e.g. {{B}}) inside the tiddler A. 
>
> I want to edit what is in B, so rather than copy/paste the title of 
> tiddler B into the search bar, click on the relevant tiddler in the search 
> result, then edit the tiddler B, this plugin would allow me to simply click 
> on {{B}}, which open the tiddler B, ideally already in edit mode. This 
> would save a lot of time !
>
> CodeMirror is able to parse links, so maybe someone made an addon build 
> upon it allowing this functionnality ? I searched but ultimately found 
> nothing ..
>
> PS : I know that it's possible to use a macro instead of a standard 
> transclusion (like discussed here 
> https://tiddlywiki.narkive.com/dxOiR2Vn/tw-tw5-including-a-link-when-transcluding)
>  
> but I dont want to change the way the tiddler is displayed in view mode.
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f4a8a660-ce03-49ca-bb91-b3507fd7cf6cn%40googlegroups.com.


[tw5] Re: xlxs utilities not working in V22 or V23

2021-06-10 Thread Frédéric Demers
that should work for you: https://tiddlywiki.com/prerelease/

On Thursday, 10 June 2021 at 07:32:26 UTC-4 prbru...@gmail.com wrote:

> Thanks. I would like to upgrade and test the pre-release, but there is not 
> automatic updater yet? I'm not sure how to do manually (using tiddlydesktop 
> and windows desktop rather than node.js))
>
> On Thursday, 10 June 2021 at 05:21:16 UTC+1 History Buff wrote:
>
>> While I don't know the specific, there is a problem with those versions. 
>> The problem has been fixed in the 5.1.24 prerelease. I've used it there and 
>> confirms it works.
>>
>> On Tuesday, June 8, 2021 at 8:49:42 PM UTC-7 prbru...@gmail.com wrote:
>>
>>> I'm a big fan of Tiddlywiki, fairly new and not really a developer so 
>>> it's been a long slog to get past the basics!
>>>
>>> I've been using XLXS utilities to import chunks of text with dates and 
>>> sorting them using the timelines plugin. I need to upgrade a wiki from V16 
>>> which can't use Timelines. However when upgraded to V22 when xlxs files are 
>>> imported they show as binary files. 
>>>
>>> I've tried with V23 - same issue - can anyone help? 
>>>
>>> I use tiddlywiki with tiddly desktop so don't know how to upgrade 
>>> manually (have always used the drag and drop updater). There is no previous 
>>> updater versions, so i can;t try updating the V16 to V20. 
>>>
>>> kind regards
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/280e1d89-f5b7-4767-a0f9-a3bd939c5e74n%40googlegroups.com.


Re: [tw5] Re: Hard-replace macros at tiddler save

2021-05-25 Thread Frédéric Demers
Hi Taylor, I linked it in my previous post:
https://ibnishak.github.io/Tesseract/pluginsandmacros/hashtag2tag.html
or were you looking for something different?

The other option to run code upon tiddler save is to add wikitext
processing as in this example: https://danielorodriguez.com/TW5-AutoTag/


On Tue, 25 May 2021 at 18:15, Taylor Jensen  wrote:

> This seems like it could be modifiable into what I'm after, can you link
> it?
>
> -TCJ
>
> On Friday, May 21, 2021 at 9:23:34 PM UTC-4 TW Tones wrote:
>
>> Perhaps in a related solution I created a snapshot tool. It converts what
>> a tiddler displays into html and saves it in another tiddler, then displays
>> the snap shot in the original tiddler.
>>
>> The reason was to capture content at a point in time,  and to save
>> processing by not regenerating the tiddler until a refresh is requested.
>> This snapshot can be dragged to any wiki and will; look the same, because
>> the data and macros in the original where captured in the snapshot as fixed
>> html. If you are using special CSS you may need to incorporate that with
>> the snapshot.
>>
>> I mention this because you could design your own snapshot method to
>> include what you want in it, ie run macros and produce results, and capture
>> the results.
>>
>> The quick hack is to install the Internals core plugin, then use the
>> preview in a tiddler editor, and look at the RAW HTML preview, select and
>> copy the actual html, and paste this html into Another tiddler.
>>
>> Regards
>> Tones
>>
>>
>>
>>
>> On Saturday, 22 May 2021 at 09:09:10 UTC+10 t...@tcj.design wrote:
>>
>>> I'm interested, but I'm not sure how to go about it. How can I run a
>>> macro on tiddler save to make what is essentially text substitutions?
>>>
>>> On Saturday, May 15, 2021 at 5:51:33 AM UTC-4 Anjar wrote:
>>>
 Another use case was just posted (on how to combine the text from
 several tiddlers into a single tiddler so that the original tiddlers can be
 deleted): https://groups.google.com/g/tiddlywiki/c/xTCzMIj0uqs Good
 solutions were suggested, but it would also be very simple to just write
 <<>> and have it replaced with the
 text of those tiddlers or  <> if one
 wants to keep transcluding

 Best,
 Anders

 fredag 14. mai 2021 kl. 16:31:33 UTC+2 skrev PMario:

> On Friday, May 14, 2021 at 12:04:01 PM UTC+2 Anjar wrote:
>
> - You are guaranteed that the output will not change. In the permalink
>> case, I think, the example would be to replace <> with
>> something like <$button><$list
>> filter="[created[..aTitle!!created..]]"><$action-navigate
>> $to=<> />aTitle where 
>> ..aTitle!!created..
>> is not a reference but the actual value
>>
>> Thoughts?
>>
>
> I think in general this is a sensible idea. ... But I also think it's
> "over-engineering" ...
>
> If exporting "connected" tiddler is a problem, we may need to improve
> the "export" mechanisms. Which imo would be the right place to tackle this
> specific problem.
>
> just a thought.
> mario
>
>
> --
> 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/crnjiJ4Spq4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/7b80a6fd-9ed1-450c-8232-610bec0ce7cbn%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnP2S8dEG8JejpADB25aTp56v04XwRANcZnM3DcYcw6Jbw%40mail.gmail.com.


[tw5] Re: Hard-replace macros at tiddler save

2021-05-21 Thread Frédéric Demers
@t one option is to replace the save button as in this example: 
https://ibnishak.github.io/Tesseract/pluginsandmacros/hashtag2tag.html

Probably not super clean and it cripples the keyboard short cut when saving 
tiddlers...

On Friday, 21 May 2021 at 21:23:34 UTC-4 TW Tones wrote:

> Perhaps in a related solution I created a snapshot tool. It converts what 
> a tiddler displays into html and saves it in another tiddler, then displays 
> the snap shot in the original tiddler. 
>
> The reason was to capture content at a point in time,  and to save 
> processing by not regenerating the tiddler until a refresh is requested. 
> This snapshot can be dragged to any wiki and will; look the same, because 
> the data and macros in the original where captured in the snapshot as fixed 
> html. If you are using special CSS you may need to incorporate that with 
> the snapshot.
>
> I mention this because you could design your own snapshot method to 
> include what you want in it, ie run macros and produce results, and capture 
> the results.
>
> The quick hack is to install the Internals core plugin, then use the 
> preview in a tiddler editor, and look at the RAW HTML preview, select and 
> copy the actual html, and paste this html into Another tiddler.
>
> Regards
> Tones
>
>
>
>
> On Saturday, 22 May 2021 at 09:09:10 UTC+10 t...@tcj.design wrote:
>
>> I'm interested, but I'm not sure how to go about it. How can I run a 
>> macro on tiddler save to make what is essentially text substitutions? 
>>
>> On Saturday, May 15, 2021 at 5:51:33 AM UTC-4 Anjar wrote:
>>
>>> Another use case was just posted (on how to combine the text from 
>>> several tiddlers into a single tiddler so that the original tiddlers can be 
>>> deleted): https://groups.google.com/g/tiddlywiki/c/xTCzMIj0uqs Good 
>>> solutions were suggested, but it would also be very simple to just write 
>>> <<>> and have it replaced with the 
>>> text of those tiddlers or  <> if one 
>>> wants to keep transcluding
>>>
>>> Best,
>>> Anders
>>>
>>> fredag 14. mai 2021 kl. 16:31:33 UTC+2 skrev PMario:
>>>
 On Friday, May 14, 2021 at 12:04:01 PM UTC+2 Anjar wrote:

 - You are guaranteed that the output will not change. In the permalink 
> case, I think, the example would be to replace <> with 
> something like <$button><$list 
> filter="[created[..aTitle!!created..]]"><$action-navigate 
> $to=<> />aTitle where 
> ..aTitle!!created.. 
> is not a reference but the actual value
>
> Thoughts?
>

 I think in general this is a sensible idea. ... But I also think it's 
 "over-engineering" ... 

 If exporting "connected" tiddler is a problem, we may need to improve 
 the "export" mechanisms. Which imo would be the right place to tackle this 
 specific problem. 

 just a thought.
 mario




-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/caf96961-e60f-4b16-9365-83c516f077afn%40googlegroups.com.


Re: [tw5] Using <> inside SVG icon definition

2021-05-13 Thread Frédéric Demers
Brilliant! At least one of the solutions above works, I'll play around with
the other solutions as well.

Thanks everyone!

On Thu, 13 May 2021 at 12:34, Jeremy Ruston  wrote:

> Hi Fred
>
> The easiest way to accomplish what you require is simply to edit the SVG
> image to remove the fill="xx" attributes entirely; the default fill colour
> will then be inherited, or can be set via CSS.
>
> If you are interested in templating SVG images, there's an example I did
> here to make the text within an SVG image be translateable:
>
>
> https://manuals.annafreud.org/ambit/#%24%3A%2F_AMBITWheel%2FTemplate:Home%20%24%3A%2F_AMBITWheel%2FEnglish%20%24%3A%2F_AMBITWheel%2FStyles%20%24%3A%2F_AMBITWheel%2FMacros%20%24%3A%2F_AMBITWheel%2FTemplate
>
> If the link doesn't work, the tiddlers I'm pointing to are:
>
> * Home
> * $:/_AMBITWheel/English
> * $:/_AMBITWheel/Styles
> * $:/_AMBITWheel/Macros
> * $:/_AMBITWheel/Template
>
> Best wishes
>
> Jeremy.
>
> --
> Jeremy Ruston
> jer...@jermolene.com
> https://jermolene.com
>
> On 13 May 2021, at 03:36, Frédéric Demers  wrote:
>
> Hello everyone,
>
> probably an easy answer, but have been banging my head against this one
> for a while...
>
> I imported an SVG icon (
> https://morosanuae.github.io/tw-icons/#$:/images/icon-park/edit/list-checkbox-outline)
> and am trying to simply change the stroke/fill colour to the generic
> <> so it is most flexible when changing palette...
>
> Here's what I have so far, only one value to change really, and haven't
> managed to make it work; whenever I replace the string with the macro, the
> icon vanishes; tried a second define and tried using an external $(var)$
> inside the macro definition instead, and tried all types of quotes in three
> different places (main svg, around the variable and the macrocall
> parameter); alas no joy...
>
> \define drawIcon(foreground)
>  fill-opacity="0.01"/> stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/> fill-rule="evenodd" clip-rule="evenodd" d="M20 38H44H20Z"
> fill="none"/> stroke-linecap="round" stroke-linejoin="round"/> clip-rule="evenodd" d="M20 10H44H20Z" fill="none"/> stroke=$foreground$ stroke-width="4" stroke-linecap="round"
> stroke-linejoin="round"/> fill="none" stroke=$foreground$ stroke-width="4"
> stroke-linejoin="round"/> fill="none" stroke=$foreground$ stroke-width="4"
> stroke-linejoin="round"/> stroke=$foreground$ stroke-width="4" stroke-linejoin="round"/>
> \end
>
> <$vars icon_color="#c8ced8">
> <$macrocall $name="drawIcon"  foreground="<>" />
> 
>
> *thanks in advance!!!*
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/dc54b674-9045-45ab-be25-c00359af0143n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/dc54b674-9045-45ab-be25-c00359af0143n%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> --
> 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/TmnlaZvhjOI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/DAC37552-EE64-40C9-A221-B5E78A5A7643%40gmail.com
> <https://groups.google.com/d/msgid/tiddlywiki/DAC37552-EE64-40C9-A221-B5E78A5A7643%40gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnMQEG%3DQsXDb50o_grwoOpkqXMjGaMgB_WeEWcf5h6-HHQ%40mail.gmail.com.


Re: [tw5] Using <> inside SVG icon definition

2021-05-13 Thread Frédéric Demers
Hi Mohammad, not quite what I am after. I'll try to express myself better 
below.

The code I have in my original post works (just as well as the changes you 
proposed), but it uses a fixed value represented by the "#c8ced8" string => 
I'd like to change this hard coded value to <>.

Trying to substitute it using:

<$vars icon_color="<>">
<$macrocall $name="drawIcon"  foreground="<>" />


nor 

<$vars icon_color="<>">
<$macrocall $name="drawIcon"  foreground=<> />


nor  


<$vars icon_color=<>>
<$macrocall $name="drawIcon"  foreground="<>" />


nor the simpler:

<$macrocall $name="drawIcon"  foreground="<>" />

nor: 
<$macrocall $name="drawIcon"  foreground=<> />

does not seem to work. The <> macro by itself works well 
(outside of the SVG), but I am missing something to tie it all together. I 
tried a few things with single quotes and triple quotes to no avail. I 
tried the SVG tag directly in the tiddler text (not in a \define pragma), 
and tried to use \define mycolor() <> instead and tried 
changing the tidder type; still, I am short of finding something that works 
well. 
On Wednesday, 12 May 2021 at 23:53:27 UTC-4 Mohammad wrote:

> Use this example in tiddlywiki.com
>
> See the answer below, remove extra quotation marks!
>
> On Thu, May 13, 2021 at 7:05 AM Frédéric Demers  
> wrote:
>
>> Hello everyone, 
>>
>> probably an easy answer, but have been banging my head against this one 
>> for a while...
>>
>> I imported an SVG icon (
>> https://morosanuae.github.io/tw-icons/#$:/images/icon-park/edit/list-checkbox-outline)
>>  
>> and am trying to simply change the stroke/fill colour to the generic 
>> <> so it is most flexible when changing palette...
>>
>> Here's what I have so far, only one value to change really, and haven't 
>> managed to make it work; whenever I replace the string with the macro, the 
>> icon vanishes; tried a second define and tried using an external $(var)$ 
>> inside the macro definition instead, and tried all types of quotes in three 
>> different places (main svg, around the variable and the macrocall 
>> parameter); alas no joy...
>>
>> \define drawIcon(foreground)
>> > fill-opacity="0.01"/>> stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>> fill-rule="evenodd" clip-rule="evenodd" d="M20 38H44H20Z" 
>> fill="none"/>> stroke-linecap="round" stroke-linejoin="round"/>> clip-rule="evenodd" d="M20 10H44H20Z" fill="none"/>> stroke=$foreground$ stroke-width="4" stroke-linecap="round" 
>> stroke-linejoin="round"/>> fill="none" stroke=$foreground$ stroke-width="4" 
>> stroke-linejoin="round"/>> fill="none" stroke=$foreground$ stroke-width="4" 
>> stroke-linejoin="round"/>> stroke=$foreground$ stroke-width="4" stroke-linejoin="round"/>
>> \end
>>
>> <$vars icon_color="#c8ced8">
>> <$macrocall $name="drawIcon"  foreground="<>" />
>>
>
> <$macrocall $name="drawIcon"  foreground=<> />
>
>  
>
>> 
>>
>>
>
>
>  
>
>> *thanks in advance!!!*
>>
>> -- 
>> 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/dc54b674-9045-45ab-be25-c00359af0143n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/dc54b674-9045-45ab-be25-c00359af0143n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f1cf523a-a851-4ade-ab96-8b7d9f43159dn%40googlegroups.com.


[tw5] Using <> inside SVG icon definition

2021-05-12 Thread Frédéric Demers
Hello everyone, 

probably an easy answer, but have been banging my head against this one for 
a while...

I imported an SVG icon 
(https://morosanuae.github.io/tw-icons/#$:/images/icon-park/edit/list-checkbox-outline)
 
and am trying to simply change the stroke/fill colour to the generic 
<> so it is most flexible when changing palette...

Here's what I have so far, only one value to change really, and haven't 
managed to make it work; whenever I replace the string with the macro, the 
icon vanishes; tried a second define and tried using an external $(var)$ 
inside the macro definition instead, and tried all types of quotes in three 
different places (main svg, around the variable and the macrocall 
parameter); alas no joy...

\define drawIcon(foreground)

\end

<$vars icon_color="#c8ced8">
<$macrocall $name="drawIcon"  foreground="<>" />


*thanks in advance!!!*

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dc54b674-9045-45ab-be25-c00359af0143n%40googlegroups.com.


Re: [tw5] Streams 0.21 is now available - streams 0.212 quirks and workarounds

2021-05-08 Thread Frédéric Demers
A super Saq; I'd seen the bug a while back, but because of it's narrow use
case and the workaround, I didn't expect a fix.

Thanks all the same; any advice on the use of   baseName=<>
vs baseName=<> ?



On Sat, 8 May 2021 at 14:00, Saq Imtiaz  wrote:

> I've pushed an update to version 0.2.13 which resolves the bug reported by
> Fred.
>
> Interestingly the bug has been present since day one but only surfaces
> when using the unusedtitle macro to generate titles.
>
> --
> 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/Is1HBJ08RJA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/229d1e82-84ce-40e2-a67e-b29a63e33228n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnMDBjQ5b90hX2OHzpnRbsajJ4z1YKuB9fQAskG-R%2BAMMg%40mail.gmail.com.


Re: [tw5] Streams 0.21 is now available - streams 0.212 quirks and workarounds

2021-05-08 Thread Frédéric Demers
Hi Saq, and thanks for your note.

I only create two nodes, but then drag node 2 to become a child of node 1.
Then add a 3rd node and it creates two copies of that 3rd node.

I was using TiddlyDesktop, but just reproduced on the hosted source for the
plugin. Note that the the prereq is to set "Template wikified for node title
"
to

   - <$macrocall $name="unusedtitle" baseName=<>/>


[image: image.png]

On Sat, 8 May 2021 at 12:41, Saq Imtiaz  wrote:

> @fred
>
> I haven't been able to reproduce the scenario you describe below. The
> steps you list result in 3 nodes in total, whereas the screenshot below
> shows 4. Perhaps that is why? How are you adding the third node? Where does
> the fourth node come from?
>
>
>>  6) add a 3rd node -> edit mode is activated for two nodes simultaneously
>>  [image: streams_1.png]
>>
>>
>
>> a better solution is to combine the above template with a version that
>> includes a / and preserves relink-titles' nifty capabilities. This was
>> surprisingly challenging, and there may be simpler solutions I couldn't
>> figure out.
>>
>
> Note that the pre-release version of TW 5.1.24 has new options for the
> unustedtitle macro that might be useful here:
> https://tiddlywiki.com/prerelease/#unusedtitle%20Macro
>
>
>> 2. The match counter needs tweaking if using Streams with the excellent
>> Streams-search plugin
>> https://saqimtiaz.github.io/sq-tw/streams.html#$:/plugins/sq/streams-search
>>
>
> Please note that this search solution was a quick fix created for another
> user's specific use case. I do not recommend for others to use it and if
> you do so, it is at your own risk. With the new filters in Streams you can
> probably just modify the wikitext tiddlers responsible for search to get a
> similar search experience.
>
> Regards,
> Saq
>
> --
> 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/Is1HBJ08RJA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/2e76c8d5-e3fb-4808-8004-431dd554468bn%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnPGHahhQCKQLuJRP4oxs8XpUFiq0DSynNqX4Ua2Tie_Cg%40mail.gmail.com.


Re: [tw5] Streams 0.21 is now available - streams 0.212 quirks and workarounds

2021-05-08 Thread Frédéric Demers
Hello everyone; am a big fan of Saq's Streams plugins; my workflow includes 
a few other things such as Stroll and TiddlyMap (I know, I am asking for 
trouble). I have come across a few quirks and have a few solutions to share.

1. I prefer having the Streams nodes simply numbered rather than numbered 
with a time stamp. The potential solution of using the <$macrocall 
$name="unusedtitle" baseName=<>/> template breaks pretty 
quickly.
*steps to reproduce:*
 1) start from empty 5.1.23 (https//tiddlywiki.com); add Streams 0.212 
(https://saqimtiaz.github.io/streams/) (w/ relink)
 2) in the Streams' control panel, change *Template wikified for node title* 
to <$macrocall $name="unusedtitle" baseName=<>/> (option 
suggested in Streams' FAQs at https://saqimtiaz.github.io/streams/#FAQs)
 3) create a new Tiddler test, leave empty
 4) add 2 nodes
 5) move the second node as a child of the first node (drag'n drop)
 6) add a 3rd node -> edit mode is activated for two nodes simultaneously
 [image: streams_1.png]

The first workaround that worked for me was to replace the *Template 
wikified for node title* with <$macrocall $name="unusedtitle" 
baseName=<>/>; alas, it does not work well with the relink and 
relink-titles plugins when renaming (relink-titles does not successfully 
renames the nodes unless the node titles use the / separator?). Not a major 
issue in itself, but the root/node association (by name) is lost when 
looking at the list of all tiddlers (and does complicate future imports of 
specific root tiddlers with their nodes)
*steps to reproduce:*
 1) start from empty 5.1.23 (https//tiddlywiki.com); add Streams 0.212 
(https://saqimtiaz.github.io/streams/) (w/ relink and relink-titles)
 2) in the Streams control panel, change *Template wikified for node title* 
to <$macrocall $name="unusedtitle" baseName=<>/>
 3) create a new Tiddler test, leave empty
 4) add 2 nodes
 5) rename the root tiddler (and enable Use Relink to update test to mytest 
across all other tiddlers)
 6) verify that relink-titles was not effective by listing *More*->*All 
Tiddlers* 
[image: streams_2.png]

a better solution is to combine the above template with a version that 
includes a / and preserves relink-titles' nifty capabilities. This was 
surprisingly challenging, and there may be simpler solutions I couldn't 
figure out.
*steps to reproduce:*
 1) start from empty 5.1.23 (https//tiddlywiki.com); add Streams 0.212 
(https://saqimtiaz.github.io/streams/) (w/ relink and relink-titles 
https://flibbles.github.io/tw5-relink/#$:/plugins/flibbles/relink-titles)
 2) clone $:/core/modules/macros/unusedtitle.js, name it 
$:/core/modules/macros/unusedtitleslash.js with the following changes (and 
refresh your TiddlyWiki):
- title unusedtitleslash.js in comments (optional)
- title unusedtitleslash.js in exports.name
insert options={prefix:"/"}; before the function's return statement
 3) in the Streams' control panel, change *Template wikified for node title* to 
<$macrocall $name="unusedtitleslash" baseName=<>/>
 4) create a new Tiddler test, leave empty
 5) add 2 nodes
 6) rename the root tiddler (and enable Use Relink to update test to 
newtest across all other tiddlers)
 7) verify that relink-titles was effective by listing More->All Tiddlers :)
[image: streams_3.png]

2. The match counter needs tweaking if using Streams with the excellent 
Streams-search plugin 
https://saqimtiaz.github.io/sq-tw/streams.html#$:/plugins/sq/streams-search
*steps to reproduce:*
 1) start from empty 5.1.23 (https//tiddlywiki.com); add Streams 0.212 
(https://saqimtiaz.github.io/streams/) (w/ relink) and the excellent 
Streams-search plugin 
(https://saqimtiaz.github.io/sq-tw/streams.html#$:/plugins/sq/streams-search)
 2) create a new Tiddler test, leave empty
 3) add 2 nodes
 4) search for "test" and verify that the match counter is not reflecting 
search results
[image: streams_5.png]

this is quickly fixed by replacing, in $:/core/ui/SideBarSegments/search
<$set name="resultCount" value="""<$count 
filter="[subfilter] 
[subfilter]"/>"""> 
to 
<$set name="resultCount" value="""<$count 
filter="[!is[system]search{$(searchTiddler)$}sort[title]stream-root[]limit[250]]"/>""">

(warning; there may be unintended side effects with this approach; perhaps 
there exists a more elegant, comprehensive solution)

other than that, I was able to adjust the filters in the 
$:/.giffmex/ViewTemplate/... for Stroll's backlinks and the  
TiddlyTools/Time/SidebarCalendar plugin to also only show the root 
tiddlers' names, based off the example for the Recent tab example provided 
by Saq (https://saqimtiaz.github.io/streams/#FAQs) and feel I have a pretty 
sweet setup now!

cheers, and thanks for the awesome plugins

On Wednesday, 5 May 2021 at 10:13:34 UTC-4 si wrote:

> Thanks Saq - sorry I had not seen that setting.
>
> On Wednesday, 5 May 2021 at 12:25:17 UTC+1 saq.i...@gmail.com wrote:
>
>> @Si
>>
>> @Saq - Totally unrelated question. Is there a way to save and exit a 

Re: [tw5] Re: Streams 0.2 preview

2021-04-21 Thread Frédéric Demers
I am a big fan user of Streams also; any advice on how to enable 
double-click edit also on the root tiddler's text?

I have tried the https://danielorodriguez.com/TW5-2click2edit/ plugin, but 
it interferes and "overrides" the Streams node-edit feature. That said, I 
have a work-around now that works (only) double-clicking the root tiddler's 
title or subtitle, but I have had more challenges enabling the feature on 
the root tiddler's text because the ViewTemplate in play seems to 
carry-down through the Streams nodes

cheers,


On Wednesday, 21 April 2021 at 01:59:23 UTC-4 Mohammad wrote:

> 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 
> installed! To clear my suggestion, I mean when a plugin has Settings, it 
> can be appeared under official TW Settings tab See 
> https://github.com/Jermolene/TiddlyWiki5/issues/5520)
>
>
> Best wishes
> Mohammad
>
>
> On Tue, Apr 20, 2021 at 8:30 PM Saq Imtiaz  wrote:
>
>> 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 ensure that I haven't accidentally broken anything:
>> https://saqimtiaz.github.io/sq-tw/temp/streams-0.21-preview.html
>>
>> *Changes since the last version posted:*
>>
>>- Improved detection and error handling for whether codemirror is 
>>available
>>- Removed the indent/unindent swipe behaviour in favour of triggering 
>>the context menu
>>- Added a plugin priority field so other plugins can 
>>override/customize Streams tiddlers. Hopefully this means people will 
>> stop 
>>distributing modified version of Streams which are a real headache in 
>> terms 
>>of providing support.
>>- Tweaked the CSS for the settings UI to use color palette entries 
>>where possible
>>- Removed the option to double click to exit editing
>>- Introduced the filters get-stream-root and get-stream-nodes to make 
>>it easier to work with Streams tiddlers.
>>
>> *For anyone including Streams in editions or otherwise distributing the 
>> plugin:*
>>
>>- Please do not distribute modified versions of the plugin as this 
>>leads to my receiving support requests that are impossible to 
>> troubleshoot 
>>or manage. 
>>- If you need to customize the plugin, first look at the 
>>documentation to see if there is already a facility for extending or 
>>tweaking the plugin that you can use. If in doubt, ask or request a hook. 
>>- Otherwise, instead of modifying Streams please distribute Streams 
>>with your own plugin that overrides select tiddlers in Streams and 
>>implements the customization that you need.
>>
>> Regards,
>> Saq
>>
>>
>> -- 
>> 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/5ee2c2ca-65cb-4297-a5c8-d7734e3add16n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6ad4f31e-055c-433e-9b01-de4b53fe0cc6n%40googlegroups.com.


[tw5] TiddlyMap and FontAwesome 5 Free - a partial working solution

2021-04-03 Thread Frédéric Demers
Hello everyone; I am a big fan of TiddlyWiki and thought a partial 2-step 
solution would help a few of you.

The problem:
FontAwesome 4 integration with TiddlyMap works well using 
http://tobibeer.github.io/tw/fa/#GettingStarted. FontAwesome 5 splits up 
the font files in 3 (as of v5.14.0 included in the plugin: regular with 
~150 icons, solid with ~1000 icons and brands with ~450 icons). Turns out 
it also uses the same font family name for the regular and solid icons 
(generally a wise choice when "regular" vs "solid" styles are used to 
highlight the selection of an icon, and fine for general TiddlyWiki/web use 
which relies on CSS classes). However, the default font family naming 
convention includes spaces, which appears to be incompatible with vis.js 
(or at least the vis.js packaged with TiddlyMap - I get the sense TiddlyMap 
has not been updated in a while).

A partial & simple working solution:
The following steps will give you access to the ~1000 solid icons in 
TiddlyMap, and the full sets in the rest of TiddlyWiki. 
Prequisites:
- install FontAwesome 5 Free for TiddlyWiki here: 
https://thediveo.github.io/TW5FontAwesome/output/fontawesome.html (I 
usually also import the cheatsheet and tiddlers needed for that to work)
- install TiddyMap from here http://tiddlymap.org

Changes:
- change the font family name at the top AND bottom of 
"$:/plugins/TheDiveO/FontAwesome/fonts/Font Awesome 5 Free Solid.css" 
tiddler to remove the spaces in the font family name:
---> font-family: 'Font Awesome 5 Free'; -> font-family: 
'Font_Awesome_5_Free';

- change the font family name at the bottom of the 
"$:/plugins/felixhayashi/tiddlymap/js/Adapter" shadow tidder to match
(for the curious the unminimized source of this tidder is here: 
http://tiddlymap.org/api/services_Adapter.js.html):
---> ... t.icon={shape:"icon",face:"FontAwesome" ... -> 
t.icon={shape:"icon",face:"Font_Awesome_5_Free" (this step requires a 
TiddlyWiki refresh)

Outcome:
- you can now use any solid style icons in your maps by editing the node 
and populating the "FA-icon:" field with the appropriate unicode.
- in addition, if you need brand or regular icons, you can import (drag and 
drop) the SVG-based tiddler from https://fa5-free-svg.tiddlyspot.com and 
use it's tidder name (e.g. $:/images/fa5/brands/apple) in the "TW-icon:" 
field instead.


A more complete solution adding a few fields in the edit node dialog and 
some smarts to set the node icon according to their values, but I have not 
yet figured out how to do that elegantly.


Big thanks to the fine folks who brought us TiddlyWiki, FontAwesome 5 Free 
and TiddlyMap

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d9053a88-dbab-4c6d-aa3a-6f0ec04c1fb5n%40googlegroups.com.