The idiomatic way to do this in Tinderbox is to create a note for the email and another note inside it for the reply. This provides better granularity for linking and agents than âblockâ addressing, which Roam adapted from Engelbartâs NLS/Augment.
There are ways to do block addressing in Tinderbox (but no way to collapse part of the text of a note). But this is the simplest and most natural.
If you put both the source email and the reply into the same $Text, then you need a consistent want to tell one for the other. So before assembling the list of replies you first need to deal wity how to tell them apart.
For instance ad a divider line ~~~answer~~~ before the answer. Now, for any given such note the answer text is $Text.split("~~~answer~~~").at(1), list items #1 being the second item in the list, ie. the text after the split string, i.e. the answer to the email.
I moved the Agent (âCollect All Repliesâ) into a note (âAll the repliesâ).
Nothing happened i.e. the replies were not collated in either the Agent (âCollect all Repliesâ) or in the note it contained (âAll the repliesâ)
When I moved the Agent out of container note (âAll the repliesâ), the collated replies appeared on the Agent. However, it kept repeating i.e. The replies were kept being appended to the end of the note.
How can I stop the replies being continuously added to the Agent (âCollect All Repliesâ)?
@satikusala Thank you! Please find a mock-up attached to this email.
If you click the Agen (âCollect all repliesâ), it collates the replies to the Agent. (it did not work when I moved the Agent into a note (âAll the repliesâ).
I would be keen to learn your tidier solution using child.
Note I added one user boolean attribute: $AnswerAdded, a boolean, default value false.
Select container âMessagesâ and apply stamp âCollect answersâ. The answers in the email notes inside Messages will be set as the test of note âAnswersâ.
See two stamps: 1) Extract text, use this when the answer is in the text, 1) Child text, which extracts the answer form the emailâs child answer. To fascinate this I created an Email and Answer prototype.
There are LOTS of other ways you could go about this.