Hi Saq, Thanks for the reply. I will mention some of my doubts below.
1. I have a tiddler with title "Case template for command palette" with
code given below in the text field:
<$action-setfield $tiddler="New Case" what="case" case-number="" topic=""
keywords="" topic="" source="" edit-later="" url="" />
<$action-sendmessage $message="tm-edit-tiddler" $param="New Case"/>
Create~New Case
I use command palette plug-in in my wiki. I have made a custom command to
create new tiddlers for adding new cases easily. It's as given below:
Tiddler title - $:/plugins/souk21/commandpalette/New Case
tag -$:/tags/CommandPaletteCommand
text - {{Case template for command palette}}
field - command-palette-type - actionString
This help me to create new tiddlers using command palette plug in for
adding new cases with fields auto populated.
Can you suggest a way to incorporate the code which you shared into the
tiddler "Case template for command palette". I tried to do it, but failed.
2. I am ok with renaming of nodes, if needed.
3. Regarding export of a single stream tree - i asked it because one day i
tried to export a few of my cases which i had created as seperate streams
trees, in json format so that i could add them into another wiki of mine.
But i couldn't find a way to get the entire stream tree (parent and child
nodes)of those cases by filtering.
I tried to understand what's told in this link
<https://saqimtiaz.github.io/streams/#Working%20with%20streams%20tiddlers>
about
exporting, but it's beyond my current level of knowledge about TW i think.
4. Regarding customising Recents tab - Should i edit this tiddler for that
- "$:/core/Filters/RecentTiddlers". I tried to modify the filter field of
that tiddler by adding has[parent] to this
[!is[system]has[modified]!sort[modified]limit[50]]. But i couldnt find any
change.
On Thursday, January 14, 2021 at 11:24:17 PM UTC+5:30 [email protected]
wrote:
> @arun
>
> It is worth remembering that Streams is all about tiddlers and their
> relationships. As such I think most of what you need can and should be done
> without adding further complexity to the plugin.
>
>>
>> 1. Templates - This is my use case. I am a radiology doctor. So when
>> I take notes about the imaging findings of a certain topic, it usually
>> have
>> specific pattern. I will give an example. Name of the topic will form the
>> title of parent streams tiddler / node. Then there will be headings like
>> Definitions, Pathology, X ray findings, Ultrasound , CT, MRI findings,
>> treatment etc. which will be made into separate child nodes.
>>
>> There are several options available to you here. You could have a button
> that prompts for a a new case name or topic and then creates that tiddler
> and associated notes. Or you could create the root tiddler as usual and
> have a button in it (via toolbar or view template) to create the starting
> nodes as needed.
>
> For example, something like this in the root tiddler after having created
> the root tiddler:
>
> \define myactions()
> <$vars nodeSuffixes="Pathology [[X ray findings]] Treatment"
> root=<<currentTiddler>>
> >
> <$list filter="[enlist<nodeSuffixes>]">
> <$action-setfield
> $tiddler={{{ [<currentTiddler>addprefix[/]addprefix<root>] }}}
> parent=<<root>>
> text={{{ [<currentTiddler>addprefix[!!]]}}}
> stream-type="default" />
> </$list>
> <$set name="new-nodes"
> filter="[enlist<nodeSuffixes>addprefix[/]addprefix<root>]">
> <$action-listops $tiddler=<<root>> $field="stream-list"
> $subfilter=<<new-nodes>>/>
> </$set>
> </$vars>
> \end
>
> <$button actions=<<myactions>>>
> new case
> </$button>
>
>>
>> 1. As I said in the first point, in many of my streams trees, the
>> first word or sentence in the child nodes will be usually the name of the
>> headings or sub headings. Is there any way to incorporate this first word
>> or sentence of the child nodes into the title of that particular child
>> node
>> in place of the timestamp. For example - <<parent>>/<<first word or
>> sentence of child node>>
>>
>>
> Nodes are created before you start writing any content. As such this
> simply isn't possible. You can however rename nodes.
>
>
>>
>> 1. Ability to export a single streams tree in any of the available
>> format. Currently I don’t know of a way to select a single parent streams
>> tiddler with its entire child nodes and export them. I know only to use
>> the
>> filter [stream-type[default]] which will select all the streams tiddlers
>> in
>> my wiki. Am I missing something here?
>>
>>
> Have you looked at the docs:
> https://saqimtiaz.github.io/streams/#Working%20with%20streams%20tiddlers
>
>
>>
>> 1. When we use streams, our recents page will be over filled with the
>> child nodes of each streams tree. Is there any way to hide the child
>> nodes
>> within the recents page. Or else create a separate recents page for
>> streams
>> in addition to the default one with only parent nodes as it’s contents.
>>
>> Streams is a plugin meant to integrate with our customizations and
> plugins rather than a ready to use TiddlyWiki edition. As such it does not
> and should not try to change the Recent sidebar tab. However, you can
> customize this on your own to only show the parent or root tiddler for each
> node.
>
>>
>> 1. Option to select either wiki text or markdown format in the config
>> option of streams so that users who need it can make use of.
>>
>> You can currently set this via the template for new node tiddlers, I am
> unsure how well it will work after that in terms of rendering Markdown.
> Adding it as a separate configuration option would clash with the template
> configuration and I do not want to add further complexity unless I hear
> from more users that such a feature is needed.
>
> Regards,
> Saq
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1d640abe-381d-46d2-bc68-6f7ca233e22bn%40googlegroups.com.