A Livenote Tool

306 views
Skip to first unread message

Mohammad

unread,
Oct 27, 2019, 3:51:50 AM10/27/19
to tiddl...@googlegroups.com
Based on the discussion here:


This is to announce the release of stable livenote tool.


--Mohammad

Livenote

Mohammad 27th October 2019 at 11:15am

Tiddlywiki5.1.18+
 
LicenseMIT
 
Release1.0.0
 
Statusstable

This is a demo to show how live note can be implemented using Tiddlywiki.

By livenote, it means just click to create a new tiddler and start writing no edit mode, no save tiddler required.

How to use

From page controls click on the 27 Create new livenote. A new livenote will be created and TW will navigate to it.

Note: The button uses a macro to generate new title with sequence number. The macro also prevents any overwritting previous tiddlers, i.e if some tiddlers with lower sequence number are deleted, the first free sequence number is selected.

How it works

  • A new livenote is created by click on the 27 from page controls on the right side bar.
  • A new livenote automatically comes under focus
  • A livenote actually displays a textarea (using a view template) connected to a tiddler. This tiddler has a name like $:/livenote/data/tidname, so every livenote uses two tiddlers one tagged with livenote and one prefixed with $:/livenote/data/
  • You can take note without going to edit mode and then save the tiddler
  • All livenote content tiddler can be found under sidebar tab Livenote Content
Note
Once a livenote is created, it has a 27 Create new livenote on the right side, so one can simply create new livenote by using this button.

Warning: If you delete a livenote, dont forget to delete its content tiddler accessed from Livenote Content tab on the right sidebar.

Install Livenote

To have the livenote tool working in your own wiki, simply drag and drop below tiddlers into your wiki.

  1. $:/kookma/livenote/button/create-new-note
  2. $:/kookma/livenote/macros/livenote
  3. $:/kookma/livenote/macros/newTitle
  4. $:/kookma/livenote/stylesheets/button
  5. $:/kookma/livenote/stylesheets/paper
  6. $:/kookma/livenote/template/viewtemplate

Acknowledgement

  • Marc Malignan for the great css

History

Livenote History

2019.10.27
Release 1.0.0
livenote now uses simple viewtemplate
documentation improved
a side button on every livenote to create new livenote from there
2019.10.26
Release 0.5.0
initial release

Jon

unread,
Oct 27, 2019, 5:10:53 AM10/27/19
to TiddlyWiki
Hi Mohammad,

This looks really nice and useful.

Once you've created a note, what's the method to then save it as a normal tiddler?

Regards
Jon

Mohammad

unread,
Oct 27, 2019, 5:24:35 AM10/27/19
to TiddlyWiki
Jon,
 It is directly saved into $:/livenote/data/<tidname> where <tidname> is the name of note you see
Look at the sidebar tab "Livenote Content"

--Mohammad

Jon

unread,
Oct 27, 2019, 5:29:57 AM10/27/19
to TiddlyWiki
So, I'd edit $:/livenote/data/2019.10.27-001 and change the title?

Regards
Jon

Mohammad

unread,
Oct 27, 2019, 5:43:24 AM10/27/19
to TiddlyWiki
No need!
 You have your note and can edit it live!
TW will automatically save it in the content tiddler!

For your new note just click the Create new livenote!
Everything will be done in the background!

If you have a single file wiki, don't forget to save your wiki time by time.

Jon

unread,
Oct 27, 2019, 5:59:27 AM10/27/19
to TiddlyWiki
Ah yes, but if I want use the livenote to create some initial thoughts which I then want to save as a standard tiddler with appropriate tags etc, I would then need to rename the whole $:/livenote/data/2019.10.27-001 filename or am I missing something?

Also, is it possible for the cursor to go into the new note after pressing the 'create new livenote' icon?

Regards
Jon

Mohammad

unread,
Oct 27, 2019, 6:35:24 AM10/27/19
to TiddlyWiki


On Sunday, October 27, 2019 at 1:29:27 PM UTC+3:30, Jon wrote:
Ah yes, but if I want use the livenote to create some initial thoughts which I then want to save as a standard tiddler with appropriate tags etc, I would then need to rename the whole $:/livenote/data/2019.10.27-001 filename or am I missing something?

That is true!
 
Also, is it possible for the cursor to go into the new note after pressing the 'create new livenote' icon?

It will bring the new tiddler under focus! but I don t know how to put cursor in the text area!

Jon

unread,
Oct 27, 2019, 6:53:16 AM10/27/19
to TiddlyWiki
OK, thanks Mohammad - it's another great tool!

Regards
Jon

Birthe C

unread,
Oct 27, 2019, 7:34:34 AM10/27/19
to TiddlyWiki
Hi Mohammad,

I tried to edit tiddler $:/kookma/livenote/macros/livenote like this:

\define livenote(tidName) <div class="paper"> <div class="paper-content"> <$edit-text tiddler="$:/livenote/data/$tidName$" field="text" placeholder="Start writing ..." default="" class="note" tag="textarea" focus="yes"/> </div> </div> \end

it seems already to write now.


Birthe

Jon

unread,
Oct 27, 2019, 8:38:09 AM10/27/19
to TiddlyWiki
Yes, that works Birthe - makes it even better.

Regards
Jon

Mohammad

unread,
Oct 27, 2019, 1:00:35 PM10/27/19
to TiddlyWiki
Many thanks Birthe!
Also thank you to correcting typo :-)
I revised the code as you sent!

Cheers
Mohammad

Jan

unread,
Nov 2, 2019, 2:29:47 PM11/2/19
to tiddl...@googlegroups.com
Hi Mohammad,
a very usefull idea and a cool look!
Thanks for sharing, this triggers some ideas for my work.

Ahoi
Jan



Am 27.10.2019 um 08:51 schrieb Mohammad:
Based on the discussion here:


This is to announce the release of stable lvenote tool.
--
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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9ed8ae11-00f6-4527-a4d8-0ecf89862bfe%40googlegroups.com.

PeterTheDog

unread,
Nov 6, 2019, 10:33:04 AM11/6/19
to TiddlyWiki
Hello,

I drag and drop tiddlers into my wiki but I haven't the "Livenote Content" in the sidebar.

Birthe C

unread,
Nov 7, 2019, 6:15:37 AM11/7/19
to TiddlyWiki
I guess you did not get Livenote Content Tiddlers http://livenote.tiddlyspot.com/#Livenote%20Content%20Tiddlers

Birthe
Reply all
Reply to author
Forward
0 new messages