How can I find recent imports in TW Commander?

114 views
Skip to first unread message

Glenn Dixon

unread,
Jan 1, 2021, 5:46:28 PM1/1/21
to TiddlyWiki

Just managed to convert a batch of markdown+YAML files to a JSON, then cleaned up the file and imported it.

When I go to $:/import I see my 137 book files.

How can I add a tag to all of them using Commander? So far I have been unable to search or filter these files...

Saq Imtiaz

unread,
Jan 1, 2021, 6:28:50 PM1/1/21
to TiddlyWiki
If Commander accepts a filter:

[[$:/Import]links[]]

Glenn Dixon

unread,
Jan 1, 2021, 7:30:35 PM1/1/21
to TiddlyWiki
Theoretically it does, but I've been unable to get it to show me the files I just imported...

Glenn Dixon

unread,
Jan 1, 2021, 7:36:33 PM1/1/21
to TiddlyWiki
ok, finally used the Commander to add tags by filtering for ```[has[layout]]``` since each of the new tiddlers had a field named layout

Mohammad Rahmani

unread,
Jan 2, 2021, 12:50:36 AM1/2/21
to tiddl...@googlegroups.com
@Saq
Very smart solution. Thank you! I will add it to the Commander documentation.

@Glen
  1. I did a test, I opened https://tiddlywiki.com/ and https://kookma.github.io/TW-Commander/ in my browser
  2. I see HelloThere open in https://tiddlywiki.com/ 
  3. I drag and drop the the tag pill TableOfContens from  HelloThere to  https://kookma.github.io/TW-Commander/
  4. I see the Import UI, so I clicked on the import button
  5. Then, I clicked on the Commander from page controls in  https://kookma.github.io/TW-Commander/
  6. In the Combo Search input I entered the filter is given above by Saq  [[$:/Import]links[]]
  7. I see all of them are displayed
  8. I then can do many operation in my example I tried to add a new tag e.g. successful
  9. You can see the log section at the bottom of Commander tiddler and see what happened 

Best wishes
Mohammad
Message has been deleted

Saq Imtiaz

unread,
Jan 2, 2021, 6:10:14 AM1/2/21
to TiddlyWiki
@Mohammad try the following:

1. In https://kookma.github.io/TW-Commander/ import the attached .json file
2. After that, import any other tiddler

This is how I personally think the core should handle complex manipulation of imported tiddlers, that is keep the import process as simple as possible but make it easier to trigger batch manipulation after the import.
$__plugins_kookma_commander_import-view-template.json

Saq Imtiaz

unread,
Jan 2, 2021, 6:19:34 AM1/2/21
to TiddlyWiki
In fact this version is better as it automatically opens Commander. See attached file.
$__plugins_kookma_commander_import-view-template.json

Mohammad Rahmani

unread,
Jan 2, 2021, 8:33:51 AM1/2/21
to tiddl...@googlegroups.com
This is awesome Saq!

Very useful! Thanks a million!

I absolutely add this lovely feature to Commander right away! This will answer many questions on how to process a list of imported tiddlers.

Best wishes
Mohammad


--
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/6fab2a99-3eb1-4e80-b811-bfe5a09c1623n%40googlegroups.com.

Glenn Dixon

unread,
Jan 2, 2021, 8:47:59 AM1/2/21
to TiddlyWiki
@Mohammad I tried steps 1-7 as you listed them. Still ZERO results.

Tried in Chrome - worked!

Back to Firefox - turned off uBlock - worked!

Turned uBlock back on (since it wasn't actually, theoretically, blocking anything on that page) - still works!

Not sure if something in uBlock was cached? Not sure about a lot of things with TiddlyWiki :(

Mohammad Rahmani

unread,
Jan 2, 2021, 8:58:16 AM1/2/21
to tiddl...@googlegroups.com
@Glen
In such a case I normally repeat the steps with an empty.html + plugin in question if everything worked then I suspect there are issues with my Tiddlywiki
if not then I may think there is an issue with plugin and then Tiddlywiki or brower etc.

I use ublock and have no problem in importing tiddlers.


Best wishes
Mohammad


--
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.
Reply all
Reply to author
Forward
0 new messages