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

2021-08-08 Thread strikke...@gmail.com
fred,

Thank you so much for your streams-fusion plugin. Just what I wished for - 
do not know why it took me so long ;-) to find it.
With lots of notes using streams it will be needed at times. it worked well 
in my wiki.

Birthe

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 
>>> . 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+...@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/327295db-9d76-4326-aafd-4e4db054a46cn%40googlegroups.com.


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

2021-08-08 Thread ludwa6
Sounds like an interesting solution, @Maki, to a problem i also have, i.e. 
: How to get around the limitations of this mobile platform -Quine2 on iOS- 
to leverage the full power of TW+Streams application. 

Specifically: context menus requiring right-click (or control-click on Mac 
w/ 1 button mouse), i have not yet found a way to access on mobile.  Does 
this shift+z solution of yours address that specific problem?

If so, then: Can you tell us how that solution can be most easily installed 
on a standard TW instance?  I tried to find it on your site 
, but couldn't manage to navigate the Chinese 
character set.

/walt

On Sunday, August 8, 2021 at 7:36:43 AM UTC+1 ma...@makiaea.org wrote:

> just jumping in to share my experience with streams on mobile.
>
> i'm on an old iphone and i basically have tiddlywiki open all day using 
> quine2. been using saq's streams lately with a tweaked shortcut to save 
> tiddler+stream, shift+z. works really well for quick notetaking on ios. 
> have customised the layout quite a bit ( http://makiaea.org ) for mobile 
> but the heavy lifting is from streams and shift+z. 
>
> maybe there is an easier way but shift+z is not a key i use often and it's 
> easily available on the ios touch keyboard. not for everybody, but it made 
> it much easier (personally) to use streams. hope this helps!
>
> sorry for short message, have to send before gg eats my post
> On Friday, August 6, 2021 at 7:16:26 AM UTC+1 saq.i...@gmail.com wrote:
>
>> Hi Mark,
>>
>> That sounds very disconcerting. Please do let me know if you discover a 
>> way to recreate the problem.
>> It seems particularly odd that the configuration tiddlers were affected 
>> as neither the text splitting code nor relink should be touching those.
>>
>> There have been problems in the past where splitting longer text into 
>> nodes using alt+enter and having the configuration for new nodes to use the 
>> unusedtitle macro resulted in some nodes not being visible in the Stream. I 
>> have attempted to fix that but it is an area that needs further attention 
>> and upcoming changes in TW 5.2.0 will help clean it up. However, even if 
>> that bug is resurfacing, it would not explain the issue with configuration 
>> tiddlers. I will review the code for splitting longer text into multiple 
>> tiddlers once more.
>>
>> Saq
>>
>>
>> On Friday, August 6, 2021 at 3:55:15 AM UTC+2 Mark S. wrote:
>>
>>> There might be a problem with the text splitter, or maybe relink or 
>>> relink with the text splitter.  I was looking at my sample Streams file and 
>>> found I couldn't see any of the notes I had made previously. But all the 
>>> tiddlers were still in the TW. After some examination, I found that several 
>>> Streams configuration tiddlers had swapped titles (or swapped contents, 
>>> depending on your perspective) There were at least a half dozen such 
>>> configuration tiddlers. So Maximum node width 
>>> <#m_-5158747867511053490_m_7186877098821485007_m_5305531832700594985_%24%3A%2Fconfig%2Fsq%2Fstreams%2Fnode-max-width>
>>>  had \n\n in it and so forth. 
>>>
>>> I don't see how that could have happened without code that actually 
>>> changes things. So either relink got something messed up, or the text 
>>> splitter moved titles around. None of the code I've added (my own search 
>>> section) changes tiddler's names or contents. The only other code I've used 
>>> is the command palette, which I've now disabled.
>>>
>>> I know this isn't very helpful, but in case someone else encounters 
>>> similar problems it may help narrow things down. 
>>>
>>>

-- 
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/2574c8a1-7aeb-45ae-bc94-1fda316ad4c4n%40googlegroups.com.


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

2021-08-07 Thread maki aea
just jumping in to share my experience with streams on mobile.

i'm on an old iphone and i basically have tiddlywiki open all day using 
quine2. been using saq's streams lately with a tweaked shortcut to save 
tiddler+stream, shift+z. works really well for quick notetaking on ios. 
have customised the layout quite a bit ( http://makiaea.org ) for mobile 
but the heavy lifting is from streams and shift+z. 

maybe there is an easier way but shift+z is not a key i use often and it's 
easily available on the ios touch keyboard. not for everybody, but it made 
it much easier (personally) to use streams. hope this helps!

sorry for short message, have to send before gg eats my post
On Friday, August 6, 2021 at 7:16:26 AM UTC+1 saq.i...@gmail.com wrote:

> Hi Mark,
>
> That sounds very disconcerting. Please do let me know if you discover a 
> way to recreate the problem.
> It seems particularly odd that the configuration tiddlers were affected as 
> neither the text splitting code nor relink should be touching those.
>
> There have been problems in the past where splitting longer text into 
> nodes using alt+enter and having the configuration for new nodes to use the 
> unusedtitle macro resulted in some nodes not being visible in the Stream. I 
> have attempted to fix that but it is an area that needs further attention 
> and upcoming changes in TW 5.2.0 will help clean it up. However, even if 
> that bug is resurfacing, it would not explain the issue with configuration 
> tiddlers. I will review the code for splitting longer text into multiple 
> tiddlers once more.
>
> Saq
>
>
> On Friday, August 6, 2021 at 3:55:15 AM UTC+2 Mark S. wrote:
>
>> There might be a problem with the text splitter, or maybe relink or 
>> relink with the text splitter.  I was looking at my sample Streams file and 
>> found I couldn't see any of the notes I had made previously. But all the 
>> tiddlers were still in the TW. After some examination, I found that several 
>> Streams configuration tiddlers had swapped titles (or swapped contents, 
>> depending on your perspective) There were at least a half dozen such 
>> configuration tiddlers. So Maximum node width 
>> <#m_7186877098821485007_m_5305531832700594985_%24%3A%2Fconfig%2Fsq%2Fstreams%2Fnode-max-width>
>>  had \n\n in it and so forth. 
>>
>> I don't see how that could have happened without code that actually 
>> changes things. So either relink got something messed up, or the text 
>> splitter moved titles around. None of the code I've added (my own search 
>> section) changes tiddler's names or contents. The only other code I've used 
>> is the command palette, which I've now disabled.
>>
>> I know this isn't very helpful, but in case someone else encounters 
>> similar problems it may help narrow things down. 
>>
>>

-- 
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/6da5db09-1a13-4587-8ab2-7a317c3a5c49n%40googlegroups.com.


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

2021-08-05 Thread Saq Imtiaz
Hi Mark,

That sounds very disconcerting. Please do let me know if you discover a way 
to recreate the problem.
It seems particularly odd that the configuration tiddlers were affected as 
neither the text splitting code nor relink should be touching those.

There have been problems in the past where splitting longer text into nodes 
using alt+enter and having the configuration for new nodes to use the 
unusedtitle macro resulted in some nodes not being visible in the Stream. I 
have attempted to fix that but it is an area that needs further attention 
and upcoming changes in TW 5.2.0 will help clean it up. However, even if 
that bug is resurfacing, it would not explain the issue with configuration 
tiddlers. I will review the code for splitting longer text into multiple 
tiddlers once more.

Saq


On Friday, August 6, 2021 at 3:55:15 AM UTC+2 Mark S. wrote:

> There might be a problem with the text splitter, or maybe relink or relink 
> with the text splitter.  I was looking at my sample Streams file and found 
> I couldn't see any of the notes I had made previously. But all the tiddlers 
> were still in the TW. After some examination, I found that several Streams 
> configuration tiddlers had swapped titles (or swapped contents, depending 
> on your perspective) There were at least a half dozen such configuration 
> tiddlers. So Maximum node width 
> <#m_5305531832700594985_%24%3A%2Fconfig%2Fsq%2Fstreams%2Fnode-max-width>
>  had \n\n in it and so forth. 
>
> I don't see how that could have happened without code that actually 
> changes things. So either relink got something messed up, or the text 
> splitter moved titles around. None of the code I've added (my own search 
> section) changes tiddler's names or contents. The only other code I've used 
> is the command palette, which I've now disabled.
>
> I know this isn't very helpful, but in case someone else encounters 
> similar problems it may help narrow things down. 
>
>

-- 
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/8eac74ed-5cdc-4b5e-94d8-5fb2dee6n%40googlegroups.com.


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

2021-08-05 Thread 'Mark S.' via TiddlyWiki
There might be a problem with the text splitter, or maybe relink or relink 
with the text splitter.  I was looking at my sample Streams file and found 
I couldn't see any of the notes I had made previously. But all the tiddlers 
were still in the TW. After some examination, I found that several Streams 
configuration tiddlers had swapped titles (or swapped contents, depending 
on your perspective) There were at least a half dozen such configuration 
tiddlers. So Maximum node width 
<#%24%3A%2Fconfig%2Fsq%2Fstreams%2Fnode-max-width>
 had \n\n in it and so forth. 

I don't see how that could have happened without code that actually changes 
things. So either relink got something messed up, or the text splitter 
moved titles around. None of the code I've added (my own search section) 
changes tiddler's names or contents. The only other code I've used is the 
command palette, which I've now disabled.

I know this isn't very helpful, but in case someone else encounters similar 
problems it may help narrow things down. 

-- 
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/86324ac5-bfea-489b-a73c-0c261314122bn%40googlegroups.com.


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

2021-08-03 Thread arun babu
Saq

Is there a way to split long text within a tiddler into a streams tree. I 
am aware of the alt+enter shortcut in streams, but it works only in the 
child nodes. Is there a way to make it work for the parent streams tiddler? 
What I want is the the exact opposite of what streams-fusion plug in does.

My use case is here:
When I clip text from a website or pdf using tiddlyclip plug in, the 
clipped text gets saved into a single tiddler. I want to convert it into a 
streams tree. Currently I have to cut the whole text and paste it as the 
fist child node and then use the alt+enter shortcut to split it into 
multiple child nodes. If I could split the text from the parent tiddler 
itself it would be great and will reduce my work.

On Monday, August 2, 2021 at 4:25:26 PM UTC+5:30 saq.i...@gmail.com wrote:

> @fred
>  
>
>> 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?
>>
>
> When a streams node is presented in edit mode, the core edit-widget that 
> creates the input field gets focus. The edit-widget will not update its 
> content while it has focus. This I believe was implemented in this manner 
> in the core so that refreshes while typing would not lead to data loss or 
> the input field suddenly changing while typing.
>
> So it does sound like the node is switched to edit mode too early. The 
> timing of actions within a single block of action strings is a bit tricky 
> to work with in such situations. I have had issues in the past with the 
> opposite, where the editing input field doesn't yet exist when I try to 
> focus it with an action string. If you have code that I can look at, I may 
> be able to suggest workarounds.
>  
> 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c6643d97-3186-48cf-b729-642ed21256bdn%40googlegroups.com.


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

2021-08-02 Thread Saq Imtiaz
@fred
 

> 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?
>

When a streams node is presented in edit mode, the core edit-widget that 
creates the input field gets focus. The edit-widget will not update its 
content while it has focus. This I believe was implemented in this manner 
in the core so that refreshes while typing would not lead to data loss or 
the input field suddenly changing while typing.

So it does sound like the node is switched to edit mode too early. The 
timing of actions within a single block of action strings is a bit tricky 
to work with in such situations. I have had issues in the past with the 
opposite, where the editing input field doesn't yet exist when I try to 
focus it with an action string. If you have code that I can look at, I may 
be able to suggest workarounds.
 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d1ba9d09-586c-48ac-ac44-8f898712dec1n%40googlegroups.com.


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
 . 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+...@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 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

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

2021-08-01 Thread Saq Imtiaz
@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 
>>> . 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+...@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/2d073e79-1f96-4c1c-b931-e37faa6f8f1cn%40googlegroups.com.


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

2021-07-30 Thread TW Tones
Fred,

Thanks. I discovered the tiddler and  
$:/plugins/phiv/streams-fusion/fuse-button button with 
the $:/tags/streams/root-buttons. Yes it works elsewhere buit somehow not 
on my key wiki, I will do further debugging and post about it if it lloks 
like it may apply to others.

Tones

On Saturday, 31 July 2021 at 01:57:27 UTC+10 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 
>>> . 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+...@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/ae4225b9-82d5-476a-a87d-5e930a9b8895n%40googlegroups.com.


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

2021-07-30 Thread ludwa6
YES @fred: that fixed the problem.  Haven't yet tested all other functions, 
but will do over weekend.  Great productivity booster, this plugin!

/walt

On Friday, July 30, 2021 at 4:57:27 PM UTC+1 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 
>>> . 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+...@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/cb1685a2-5fd9-49c2-9429-076a9ea8c110n%40googlegroups.com.


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
>> . 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/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 ludwa6
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 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/553fc5ae-a897-42c3-a653-6f32b2a58118n%40googlegroups.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 TW Tones
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 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/4dc9c734-cd1c-4f9b-bc76-69045f8bd57an%40googlegroups.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.


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

2021-07-28 Thread arun babu
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 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/1f745482-a72b-4d81-a8ef-878beaaecc9cn%40googlegroups.com.


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

2021-07-27 Thread TW Tones
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 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/0b6c8ed6-78e4-461c-b0d6-bbfcfce1184fn%40googlegroups.com.


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

2021-07-27 Thread 'Mark S.' via TiddlyWiki
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 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/77206f2e-ab7c-461f-aadf-761b12667f8bn%40googlegroups.com.


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

2021-07-27 Thread 'Mark S.' via TiddlyWiki
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 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/a21a5157-a782-4f66-862b-89640948351en%40googlegroups.com.


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

2021-07-26 Thread 'Mark S.' via TiddlyWiki
Here's the search kit I came up with. Please make a back-up before using. 
It puts a streams search in the advanced search or a sub-search in the 
standard search allowing you to find either the stream root that contains a 
term or to display the first 80 characters of stream tiddlers with matching 
text (since the title is now effectively just an ID).

-- 
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/049743a7-a3a0-4adc-9839-5596965cc88an%40googlegroups.com.


streams_search_kit.json
Description: application/json


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

2021-07-24 Thread Frédéric Demers
@mark s; great, my pleasure!

If you are going to use the command palette
, maybe I can share a few
observations about it:
- the search steps system is a clever and flexible solution to give the
users control over the search results through the
$:/plugins/souk21/commandpalette/CommandPaletteSearchSteps tiddler. The
order of the results is specified by the order of the steps in json
configuration (I pasted a sample config in a previous reply), and the hint text
provides information about which of the steps returned a match. The caret value
is the position of the search term within the step's filter expression.
During the generation of search results, the plugin code inserts the search
term at the position specified by the caret. If you make changes to the
filter expression, you need to verify that the caret position is still
correct, else that step will be broken and not return any result. I use
notepad++  to figure it out, by pasting the
filter expression into a new document, placing the cursor where the search
term should be, and subtracting one.
-  If you make changes to the search steps, you will need to refresh the
command palette to have them re-loaded with your changes. You can refresh
the command palette from the command palette itself.
- I choose to disable the history at the top of the search results. You can
do so in the $:/plugins/souk21/commandpalette/CommandPaletteSettings
tiddler (or through the command palette itself)
- as alluded to previously, I am interested in improving the plugin so that
different ways to invoke the command palette would use different steps
definitions. This would allow the user to map different key strokes to
different search modes.


In your earlier note, you suggested you wanted to see search results in
their context. I am not sure if you have been able to achieve that with the
command palette. In any case, with some work, I have managed to bring out
the Context Search tab of the advanced search system using a single
keystroke (that does not fire when you are in a text field) using mousetrap
. It was
surprisingly more challenging than expected. For one thing, it feels like
Danielo's ContextSearch plugin 
predates some important improvements to the advanced search system in
TiddlyWiki. For my solution to work (particularly, getting the search text
field to focus correctly upon typing the keystroke), I had to modernize it.
Secondly, it is a bit tricky to trigger TW actions from the mousetrap
javascript
context (at least it is to me): some actions work and others not so well
(e.g navigate). I ended up having to use action-listops on the $:/StoryList
to bring up the advanced search system, for example, which is probably not
recommended. I can share details here if you were interested. Please note
it is also possible, and significantly simpler, to use the native keyboard
shortcut system in TiddlyWiki with key combination (e.g. ctrl+alt+A) if
that is sufficient, instead of mousetrap.

With that, have a great weekend everyone!

On Fri, 23 Jul 2021 at 08:26, maki aea  wrote:

>
> thanks @fred that really helped me, using it right now, it's great!
> On Friday, July 23, 2021 at 1:03:30 PM UTC+1 fred@gmail.com wrote:
>
>> @mark S
>> the screen caps shown in my previous reply do not use the Command Palette
>> . 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
>>  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 co

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

2021-07-23 Thread maki aea

thanks @fred that really helped me, using it right now, it's great!
On Friday, July 23, 2021 at 1:03:30 PM UTC+1 fred@gmail.com wrote:

> @mark S 
> the screen caps shown in my previous reply do not use the Command Palette 
> . 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 
>  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 
 ), 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

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
. 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 
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
>>> ), 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="[!

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

2021-07-23 Thread maki aea
@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 
>> ), 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="[!is[system]search{$:/temp/advancedsearch}sort[title]limit[250]]">
>> {{{ [get-stream-root[]] ||$:/core/ui/ListItemTemplate }}}
>> <$context term={{$:/temp/advancedsearch}}/>
>> 
>> ...
>>
>> after the change, you will note:
>>
>> [image: image.png]
>>
>>
>>
>>
>> On Fri, 23 Jul 2021 at 05:22, ludwa6  wrote:
>>
>>> Nice work, @Fred (and quick! now i know where the "FastFreddy" moniker 
>>> [1] comes from :-).  
>>> Streams-fusion plugin now ticks all the boxes, with no bugs, AFAICT;  
>>> will be testing this heavily through actual use over weekend. 
>>>
>>> [1] Re your choice of hosting this project at fastfreddy.gitlab.io : i 
>>> wonder why you've chosen this option over ...github.io?  
>>> I ask because my workflow for collaborative development ATM is based at 
>>> github.io, but -as it is still early in the game for me- i wonder if 
>>> maybe i shouldn't consider this gitlab alter

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

2021-07-23 Thread TiddlyTweeter
Ciao Mark S.

I kinda agree. Well, broadly, I agree, and waver too ...

It is interesting to me as the USE CASES seem to me to form the real 
INTERREGNUM here.

What do you need to SHOW FOR the use case?

Just a probe
TT

On Friday, 23 July 2021 at 05:23:42 UTC+2 Mark S. wrote:

> At the moment, I just want to know what you mean by search steps, since I 
> don't see that specifically documented.
>
> My overall thought about searches was that we need to see the text of 
> tiddlers, or maybe the first 100 characters of text, rather than the titles 
> since the titles are nearly meaningless.
>
> Thanks!
>
> On Thursday, July 22, 2021 at 7:29:25 PM UTC-7 fred@gmail.com wrote:
>
>> @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 <
>> tiddl...@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 

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

2021-07-23 Thread ludwa6
Nice work, @Fred (and quick! now i know where the "FastFreddy" moniker [1] 
comes from :-).  
Streams-fusion plugin now ticks all the boxes, with no bugs, AFAICT;  will 
be testing this heavily through actual use over weekend. 

[1] Re your choice of hosting this project at fastfreddy.gitlab.io : i 
wonder why you've chosen this option over ...github.io?  
I ask because my workflow for collaborative development ATM is based at 
github.io, but -as it is still early in the game for me- i wonder if maybe 
i shouldn't consider this gitlab alternative... ?

/walt


On Friday, July 23, 2021 at 3:29:25 AM UTC+1 fred@gmail.com wrote:

> @walt released 0.0.3-beta https://fastfreddy.gitlab.io/streams-fusion/   not 
> thoroughly tested, be very careful and clone/backup extensively
>

-- 
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/cdf65dc7-e0f4-4083-ae28-ccb9fbea2330n%40googlegroups.com.


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

2021-07-22 Thread 'Mark S.' via TiddlyWiki
At the moment, I just want to know what you mean by search steps, since I 
don't see that specifically documented.

My overall thought about searches was that we need to see the text of 
tiddlers, or maybe the first 100 characters of text, rather than the titles 
since the titles are nearly meaningless.

Thanks!

On Thursday, July 22, 2021 at 7:29:25 PM UTC-7 fred@gmail.com wrote:

> @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 <
> tiddl...@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 customizati

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 rece

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

2021-07-22 Thread 'Mark S.' via TiddlyWiki
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 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/1ab33144-87d6-4d95-8c77-e05565891025n%40googlegroups.com
>>  
>> 

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 
https://groups.google.com/d/msgid/tiddlywiki/CAAY2DnMyHGFYPE8xKTVBWzNVwE7D0cNqiM7kUt%3DdEV-i%3DLu9%3

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

2021-07-22 Thread Saq Imtiaz


> 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 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/1ab33144-87d6-4d95-8c77-e05565891025n%40googlegroups.com.


$__streams_addons_ui_SearchResultList.json
Description: application/json


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 'Mark S.' via TiddlyWiki
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? 

>
>>>

-- 
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/6cff3995-bfae-443f-82f4-d0ae09f15c79n%40googlegroups.com.


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

2021-07-22 Thread ludwa6
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 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/b7152a98-70a0-4da2-adb6-8b5abba03cf9n%40googlegroups.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 ludwa6
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 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/6d2c42b9-f03b-47f8-a224-1957520366cen%40googlegroups.com.


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

2021-07-22 Thread Saq Imtiaz


> 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 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/77b1e8bc-ca6f-48fc-aed9-2ab1f3f0c97en%40googlegroups.com.


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

2021-07-22 Thread ludwa6
Yes, @Fred: just replicated your process, and got the same result 
-success!  Thanks for prompting me to try again :-)

Now i just have to remember to click the 1st button (yours), not the 2nd 
(Jan's)... 

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... 

/walt

On Thursday, July 22, 2021 at 12:15:45 PM UTC+1 fred@gmail.com wrote:

> @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+...@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/8c33f3ac-dec8-4357-bfdb-b708503926bfn%40googlegroups.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 Saq Imtiaz
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 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/dc3ac1af-c0d1-4b2c-9085-ca8682d427fdn%40googlegroups.com.


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

2021-07-21 Thread 'Mark S.' via TiddlyWiki
So, you have to add manual config even though it's set up in the relink 
plugin config? 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.

Thanks! 

On Wednesday, July 21, 2021 at 1:17:49 PM UTC-7 saq.i...@gmail.com wrote:

> @Mark S
>
> $:/config/RelinkOnRename is in fact not enabled by default on the Streams 
> site. I'll ensure that is next time I push an update.
>
> For now create  $:/config/RelinkOnRename with a text field value of yes
>
> On Wednesday, July 21, 2021 at 10:12:02 PM UTC+2 Mark S. wrote:
>
>> Yes. I'm using direct from your site.
>>
>> On Wednesday, July 21, 2021 at 11:46:06 AM UTC-7 saq.i...@gmail.com 
>> wrote:
>>
>>> @Mark S
>>>
>>> Is  $:/config/RelinkOnRename set to yes?
>>>
>>> Streams does add configuration for Relink to act on the stream-list 
>>> field:
>>> [image: Screenshot 2021-07-21 204538.png]
>>>
>>> On Wednesday, July 21, 2021 at 7:35:24 PM UTC+2 Mark S. 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 ... 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

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

2021-07-21 Thread Saq Imtiaz
@Mark S

$:/config/RelinkOnRename is in fact not enabled by default on the Streams 
site. I'll ensure that is next time I push an update.

For now create  $:/config/RelinkOnRename with a text field value of yes

On Wednesday, July 21, 2021 at 10:12:02 PM UTC+2 Mark S. wrote:

> Yes. I'm using direct from your site.
>
> On Wednesday, July 21, 2021 at 11:46:06 AM UTC-7 saq.i...@gmail.com wrote:
>
>> @Mark S
>>
>> Is  $:/config/RelinkOnRename set to yes?
>>
>> Streams does add configuration for Relink to act on the stream-list field:
>> [image: Screenshot 2021-07-21 204538.png]
>>
>> On Wednesday, July 21, 2021 at 7:35:24 PM UTC+2 Mark S. 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 ... 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 <
>>> fred@gmail.com> wrote:
>>>
 nevermind, I think I solved it at least, significant 
 progress

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

>>

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

2021-07-21 Thread 'Mark S.' via TiddlyWiki
Yes. I'm using direct from your site.

On Wednesday, July 21, 2021 at 11:46:06 AM UTC-7 saq.i...@gmail.com wrote:

> @Mark S
>
> Is  $:/config/RelinkOnRename set to yes?
>
> Streams does add configuration for Relink to act on the stream-list field:
> [image: Screenshot 2021-07-21 204538.png]
>
> On Wednesday, July 21, 2021 at 7:35:24 PM UTC+2 Mark S. 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 ... 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 man

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 ludwa6
Yes @Fred : this does indeed work... Though there is no streams-to-text 
addon in Saq's instance, so i'm guessing that's where the conflict lies.  
Anyway: i think i can deal w/ this conflict, so... All good Fred; your 
plugin's a real gem!

Walt

On Wednesday, July 21, 2021 at 8:02:04 PM UTC+1 fred@gmail.com wrote:

> 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 
>>
>> 
>>  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 

 
  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 req

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

2021-07-21 Thread Saq Imtiaz
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 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/75d57208-8942-4c2e-806f-db4846a16775n%40googlegroups.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
>
> 
>  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
>>>
>>> 
>>>  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

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

2021-07-21 Thread Saq Imtiaz
Streams 1.2.22 is now live and should allow other plugins to add buttons at 
the end of a stream.

-- 
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/5467a988-6882-40b9-9408-7a942247085fn%40googlegroups.com.


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
   

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
>>
>> 
>>  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/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 Saq Imtiaz
@Mark S

Is  $:/config/RelinkOnRename set to yes?

Streams does add configuration for Relink to act on the stream-list field:
[image: Screenshot 2021-07-21 204538.png]

On Wednesday, July 21, 2021 at 7:35:24 PM UTC+2 Mark S. 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 ... 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 [[Strea

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 ... 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
>> improvements/Filters]]
>> * 
>>

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

2021-07-21 Thread ludwa6
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 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/1d281b7c-c2de-4aaf-93e1-c752dd4fdb8fn%40googlegroups.com.


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

2021-07-21 Thread 'Mark S.' via TiddlyWiki
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 ... 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 
> 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="

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 ... 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 
 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:

 ```
 <

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 ... 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 
>>> 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()

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

2021-07-21 Thread ludwa6
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
>
> 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 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

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 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 (assum

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

2021-07-21 Thread Saq Imtiaz
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 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?
>>
>
>

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 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 

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; 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

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 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/CAAY2DnNRE1aSaR7f%3DTUDcS7bZjkXscbUphpKWk4SVeES7sYWJQ%4

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 Saq Imtiaz
@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 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/a0431024-302d-4433-95f0-021234984ab0n%40googlegroups.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="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 contextm

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

2021-07-17 Thread Saq Imtiaz
@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="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 rena

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 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''
>