Editor Button to Take Micro Notes from Tiddlers in Editing Mode

Ref: An Editor Toolbar Button to Store a Selection to Another Specified Tiddler
Credit: @saqimtiaz, @TW_Tones, @telumire

With the help of Saq, I was able to create an editor toolbar to take micro notes from tiddlers in editing mode!

To give a try

  • download (rev 2 - updated 202.01.26) micro-notes-button.json (1.0 KB)

  • drag and drop into https://tiddlywiki.com/

  • open the sidebar > My Daily Note (it is empty)

  • now edit the HelloThere tiddler

  • select some text and click on Add Micro Note

  • look at the side bar
    ** selection has been added as note
    ** link to source tiddler is created
    ** date and time is tamped!

You can customize this and make your own button!

Screencast

img_878_chrome

8 Likes

Nice !

You could reduce the size by a tiny bit with a get[draft.title] or get[draft.of] instead of using trim and removeprefix :slight_smile:

Thank you @telumire. The code updated! See rev 2.

1 Like

@Mohammad I only got to try. My first surprise was I can’t drag these snipits back into my text.

Perhaps alt-drag the tiddler name title or a small drag icon could do this?

You mean you want to drag and drop any note into another tiddler and you like a handle allows you to do that! Lets see!
If you have a solution please share your own version!

I discovered you are appending the text to a single tiddler so my idea is less practical.

Never the less your micro notes to a single tiddler is a valuable solution.

Perhaps if we had a reliable delimiter between snipits that is otherwise not visible eg <snipit>text</snipit>

Let me share some customizations with you:

Question: How to delete the My Daily Micro Notes, when they become useless?
Editing the tiddler and deleting the text field does not seem appropriate to me :neutral_face:

Customization

Useful precondition:
pmarios Link to tabs v2.3.0

This plugin makes it easy to locate and delete a My Daily Note tiddler that has become useless.

MicroNote Button

\define noteTid() MyComplexTiddlerName

Instead of the tiddler title MyComplexTiddlerName, the caption field is used.
I prefer the short name Notes to appear on the sidebar:

<$action-setfield $tiddler=<<noteTid>> caption="Notes" tags="$:/tags/SideBar" ...

When you do not need your Notes anymore, go to the original tiddler with the help of the Link-to-tabs plugin and delete the MyComplexTiddlerName tiddler.

Next time you want to create new Micro Notes, simply use the Add Micro Note button and Notes tab will appear again on the sidebar.

This customization is simple, but I like its workflow :slightly_smiling_face: