Did you @Scott_Sauyet and @CodaCoder not read the second paragraph in the first post?
Scott, You have being in a range of activities over time, and only you can decide if your are going to make use of this. This solution is different to Flags in a number of ways, the notes are multiline/text area notes.
perhaps this could be how flags work, note enabled. Select from multiple notes data tiddlers to organise the resulting notes, more than one external note for a tiddler?
All the snippets are pulled out of the first code block and explained.
But the post is less about the solution and more about the details in the code.
Are you assuming there is nothing you can learn in the details? The code actually uses backticks crafting a tooltip, shows pragma inside procedures, leveraging the popup attribute for toggling content, shows short and long form of %if, using functions for easy to read conditions, doubling as the retrieval of database records, loading a button with multiple forms of action at once, highlighting the need for tc-popup-handle class, Using a macro in a filter, using blank lines and indents to make code more readable, leveraging other html tags on button content, multi-line data tiddlers, wikifying such content and more..
But its not all about anyone of us, in the community there are all matter of different knowledge levels, there are people like me who like to comb through “interesting” examples of how people do things. As my expertise grows I like to see the details and code tricks people use, so if someone else publishes something like this I will gobble it up.
As I said previously it was not about the solution so much as explaining the code to implement it. So I am somewhat reluctant to defend the solution, here. This is a Wiki Post permitting collaboration overtime to make it clearer. However;
This solution within this code discussion provide the ability to place notes against any tiddler without touching that tiddler, the note is multi-line and can include wikitext. The notes are all stored in a single tiddler which can be dropped on another wiki, so may be helpful to documenting the core tiddlers, or to send to a wiki author for review.
- It would be easy to adapt this to save notes in separate tiddlers
- I am currently preparing a view template to look at this standalone note data tiddler separately.
Well this is the first example of pre-emptive publishing with code description. Its a first example and can be improved with contributions. Improved for the reader not necessarily the solution. But yes I wanted to publish before I moved address tomorrow.
I want the community to help me explore this way of discussing concise solutions in detail, with a view to making “explicit” tips and tricks that are often “implicit only”.
I am open to constructive criticism but would prefer collaboration
Perhaps this will inspire similar sharing of Tips and Tricks or inspire different solutions ?