Preview: RapidTiddler

302 views
Skip to first unread message

Michael Arndt

unread,
Jun 21, 2020, 10:09:04 AM6/21/20
to TiddlyWiki
Hi, I'm new to TiddlyWiki. However, I missed something for very quickly writing something down, so I played around a bit with the API and CodeMirror.
What do you think?


Some details: it's a new Mode for CodeMirror and it is used through a template to enable editing directly in view mode. The idea is to have it always editable and always viewed as markup format. The arrows you see in front of the Tiddler links are Codemirror widgets.
I could imagine adding something like /TODO or similar.

I think it'll be nice paired with saqimtiaz's streams :)

Greetings
Michael

Saq Imtiaz

unread,
Jun 21, 2020, 10:45:46 AM6/21/20
to TiddlyWiki
Hi Michael, thanks for sharing! At first blush it looks very interesting. 

I am wondering if we can be inventive and find a better alternative to the arrows though.. have some ideas but would need to take a peek :)

Cheers,
Saq

Michael Arndt

unread,
Jun 21, 2020, 11:42:14 AM6/21/20
to tiddl...@googlegroups.com
Yes, I’m not keen on the arrows myself, it’s just a quick and dirty proof of concept. It can by any inline html element. 

--
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/9f1f0d67-d47b-4900-b2bb-70a0fa9e77a5o%40googlegroups.com.

Saq Imtiaz

unread,
Jun 21, 2020, 11:57:25 AM6/21/20
to TiddlyWiki
It might also be possible to superimpose the link on the text (or vice versa) and only trigger navigation if a modifier key is used.

The big caveat of course is that the concept of always visible markup is only useful for simple text and not if using macros or widgets. Though even then it could make for an arguably better editing experience, even if not used in view mode.

If you need any input or assistance, especially with regards to TW internals, please just ask.

Michael Arndt

unread,
Jun 21, 2020, 12:21:52 PM6/21/20
to tiddl...@googlegroups.com
I didn’t want to use a modifier key because that would not work on mobile.
I agree that markup is limiting. My idea would be to use that format for short notes and switch back to regular TiddlyWiki format for longer texts where appropriate (in fact that’s why I came back to tiddly after looking at a dozen other things)
I’ll put the code up later or tomorrow, am on the road now

--
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.

Saq Imtiaz

unread,
Jun 21, 2020, 12:35:25 PM6/21/20
to TiddlyWiki
I think a lot of people just use simple text formatting for most of their content and might find something like this helpful.
Cheers,

Saq


On Sunday, June 21, 2020 at 6:21:52 PM UTC+2, Michael Arndt wrote:
I didn’t want to use a modifier key because that would not work on mobile.
I agree that markup is limiting. My idea would be to use that format for short notes and switch back to regular TiddlyWiki format for longer texts where appropriate (in fact that’s why I came back to tiddly after looking at a dozen other things)
I’ll put the code up later or tomorrow, am on the road now
Saq Imtiaz <saq....@gmail.com> schrieb am So. 21. Juni 2020 um 17:57:
It might also be possible to superimpose the link on the text (or vice versa) and only trigger navigation if a modifier key is used.

The big caveat of course is that the concept of always visible markup is only useful for simple text and not if using macros or widgets. Though even then it could make for an arguably better editing experience, even if not used in view mode.

If you need any input or assistance, especially with regards to TW internals, please just ask.

--
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 tiddl...@googlegroups.com.

TW Tones

unread,
Jun 21, 2020, 8:18:12 PM6/21/20
to tiddl...@googlegroups.com
Michael,

Looks interesting, thanks for contributing to the community. 
[[Minor typo Edits applied]]

a few quick thoughts;
  • I believe others have worked on predictive links including in the standard editor, but these things tend to not work in code mirror so this would be a good complement.
  • It would be nice if such a feature could be toggled in the editor, exactly what we need sometimes, a possible distraction at other times.
  • It would be nice if the method could be used elsewhere, on an input field, etc... 
Given your one line example in the video makes me ask can we use this to edit fields as well?, it would be great to be able to build a list field if tiddler titles from keyboard entry, as your example does (without the additional text). People could use it to build a list of tiddlers that want to include in an export from memory.

By the way my own convention is to call editing in the view template as update mode, ie one is updating the tiddler, not using the full tiddlywiki edit template. However users of a wiki without tiddlywiki knowledge may call it edit mode. What ever its called we designers and developers should make sure it is clear on our discussions.

So then I speculate
  • Could we enter a filter to select more than one title?
  • Could we allow transclusions rather than links to be placed in the text (Perhaps not transcluding in your view editor)?
  • Could we provide an additional list or filter to the predictive process such as a list of macronames that the predictive text would insert <<macroname>>  (Perhaps not rendering in your view editor)?
  • Perhaps the ability to toggle if transclusions or macros are rendered in this view/update mode.
Regards
Tony

Michael Arndt

unread,
Jun 23, 2020, 4:03:35 PM6/23/20
to tiddl...@googlegroups.com
Made a little live demo deployment here https://rapidtiddler.netlify.app/


Am Mo., 22. Juni 2020 um 02:18 Uhr schrieb TW Tones <anthony...@gmail.com>:
Michael,

Looks interesting, thanks for contributing to the community.

a few quick thoughts;
    • I believe others have worked on predictive links including in the standard editor, but these things tend to not work in code mirror so this would be a good complement.
    • It would be nice if such a feature could be toggled in the editor, exactly what we need sometimes, a possible description at other times.
    • It would be nice if the method could be used elsewhere, on an input field, etc... 
      Given your one line example in the video makes me ask can we use this to edit fields as well?, it would be great to be able to build a list field if tiddler titles from keyboard entry, as you example does (without the additional text). People could use it to build a list of tiddlers that want to include in an export from memory.

      By the way my own convention is to call editing in the view template as update mode, ie one is updating the tiddler, not using the full tiddlywiki edit template. However users of a wiki without tiddlywiki knowledge may call it edit mode. What ever its called we designers and developers should make sure it is clear on our discussions.

      So then I speculate
      • Could re enter a filter to select more than one title?
      • Could we allow transclusions rather than links to be placed in the text (Perhaps not transcluding in your view editor)?
      • Could we provide an additional list or filter to the predictive process such as a list of macronames that the predictive text would insert <<macroname>>  (Perhaps not rendering in your view editor)?
      • Perhaps the ability to toggle if transclusions or macros are rendered in this view/update mode.
      Regards
      Tony


      On Monday, June 22, 2020 at 12:09:04 AM UTC+10, Michael Arndt wrote:
      Hi, I'm new to TiddlyWiki. However, I missed something for very quickly writing something down, so I played around a bit with the API and CodeMirror.
      What do you think?


      Some details: it's a new Mode for CodeMirror and it is used through a template to enable editing directly in view mode. The idea is to have it always editable and always viewed as markup format. The arrows you see in front of the Tiddler links are Codemirror widgets.
      I could imagine adding something like /TODO or similar.

      I think it'll be nice paired with saqimtiaz's streams :)

      Greetings
      Michael

      --
      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/3476ce9b-3746-4518-af1e-277558e2be24o%40googlegroups.com.

      Michael Arndt

      unread,
      Jun 23, 2020, 5:49:48 PM6/23/20
      to tiddl...@googlegroups.com
      Hi Tony

      > Given your one line example in the video makes me ask can we use this to edit fields as well?, it would be great to be able to build a list field if tiddler titles from keyboard entry, as you example does (without the additional text). People could use it to build a list of tiddlers that want to include in an export from memory.
      That should be possible and single line is my goal. However CodeMirror doesn’t support that out of the box, it should work with some code though. 
      • Could re enter a filter to select more than one title?
      You mean a list of Tiddlers? That would be a different mode in CM terms, and each auto-complete invocation would likely only give a list where the user can choose one entry. That is done in JS so if you know likely combinations you could include that in the list. 
      • Could we allow transclusions rather than links to be placed in the text (Perhaps not transcluding in your view editor)?
      great idea, I just implemented that today. (See /todo). Once rendered the transclusions are not updated til something triggers a re-render though. And I needed to edit the CM plugin a bit. 
      • Could we provide an additional list or filter to the predictive process such as a list of macronames that the predictive text would insert <<macroname>>  (Perhaps not rendering in your view editor)?
      yes
      • Perhaps the ability to toggle if transclusions or macros are rendered in this view/update mode.
      not sure about that one. Would need some control to do that and wire that up wir the CM instance. Need to look further how that might work (first time TW and first time CM user here 😅)


      Thanks for your interest!
      Michael 
      Regards
      Tony


      On Monday, June 22, 2020 at 12:09:04 AM UTC+10, Michael Arndt wrote:
      Hi, I'm new to TiddlyWiki. However, I missed something for very quickly writing something down, so I played around a bit with the API and CodeMirror.
      What do you think?


      Some details: it's a new Mode for CodeMirror and it is used through a template to enable editing directly in view mode. The idea is to have it always editable and always viewed as markup format. The arrows you see in front of the Tiddler links are Codemirror widgets.
      I could imagine adding something like /TODO or similar.

      I think it'll be nice paired with saqimtiaz's streams :)

      Greetings
      Michael

      --

      TW Tones

      unread,
      Jun 23, 2020, 7:55:50 PM6/23/20
      to TiddlyWiki
      Michael,

      Nice work. I can see this combined with other prior methods and the recent command pallet a tiddlywiki user/designer could become a "speed machine" building content.

      Thanks
      Tony
      To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.

      V

      unread,
      Nov 1, 2020, 3:33:25 PM11/1/20
      to TiddlyWiki
      How it goes? I'm looking for smth like inline editor and seems like you were going to do it.


      среда, 24 июня 2020 г. в 02:55:50 UTC+3, TW Tones:
      Reply all
      Reply to author
      Forward
      0 new messages