Mohammad,

Some ideas and "history"

The simple way to do this is to show a tiddlername-note title/link on every 
tiddler, if clicked you open and/or create the note, a note is present if 
the tiddlername-note title is not in italics. this however does not update 
if the title changes.

In the past I would have used an additional tiddler, tagged with the 
current, and named with the suffix "tiddlername-note", in this case 
renaming the tiddler would update the tag in the note tiddler even if that 
note tiddler has the old title in its name. 

Do look at the comments plugin in the 5.1.18 Pre-release, depending on your 
needs that may be what you want, no further work. See also the issue thread 
on GitHub <https://github.com/Jermolene/TiddlyWiki5/issues/3378> 

Now, If I were building this I may create a TiddlerButton that creates a 
$:/notes/tiddlername-notes and places this name in a field on the tiddler 
called notes 
Then in the view template if the notes field exists provide a link/button 
at the bottom of the tiddler, and/or a toggle to display/edit them inline.

I expect I may also allow notes-anyname fields so more than one note can be 
created on a given tiddler.

Regards
Tony


On Thursday, August 9, 2018 at 2:34:52 AM UTC+10, Mohammad wrote:
>
> I tried to have a note for tiddlers tagged with slide or someTag.
> Several options available 
>
>    1. Have a child tiddler (tagged with parent) and named parent-note
>    2. Have a filed named `note`
>    3. Have textarea bounded to a filed
>    4. Have a textarea bounded to an index in a data tiddler
>
> Each of these has some pitfalls and prevent to have a clean solution yet 
> simple to use!
>
> Pitfalls:
>
>    1. Very simple but you have two separate tiddler and keeping them with 
>    together is rather problematic
>    2. This is very simple, but fileds only support single line edit box
>    3. Versatile and bounded to tiddler but you have a text area and a 
>    filed with the same content and it is confusing
>    4. May be the better method, but reading and writting from a bounded 
>    text area into data tiddler is not simple
>
>
> The first and second method are trivial. The third method is discussed 
> here https://groups.google.com/d/msg/tiddlywiki/iXAi7RISKGc/XLgGlFyJAQAJ and 
> the solution was given by Mat.
> A revised version is attached and a demo is available on: 
> http://addnote.tiddlyspot.com/
>
> Please advise!
>
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91ce84ba-afda-4b83-90e7-fb470ebdcc01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to