Tiddler Commander: Release Candidate

516 views
Skip to first unread message

Mohammad

unread,
Mar 14, 2019, 11:55:01 AM3/14/19
to TiddlyWiki
 I think tiddler Commander now is enough stable to be released as a plugin! I would ask Jeremy to see the possibility to distribute it as an OFFICIAL PLUGIN!

Commander has

  1. Bulk tiddler creation/deletion
  2. Tag operation (add, remove, replace)
  3. Field operation (add, remove, set value)
  4. SNR, search and replace in all fields including text, tags, title, and common fields)
  5. Inspect, to inspect bunch of tiddlers in one place, scroll among them and edit all fields, tag, common fields (title is an exception!)
  6. log, Commander create a logs of all operations
  7. Search, Commander lets save and load any combination of filter search
Tiddler Commander is a Swiss Knife. It will be a useful tool both for developers and users.

The below is the last update before packing into Commander plugin!

I highly appreciate your feedback. I will add documentation in two levels (developer docs and user docs) but this will be the next activity!


Tiddler Commander has new update



Major update: 14th March 2019

Critical change: Tiddler Commander search now needs two steps

  • Enter a filter expression in the filter search box
  • Click the search icon right of search box to apply the search criteria to enable Commander batch operation1
  • FIXED: Search and Select tiddlers now are seated together
  • NEW: numberof tiddlers matches and selected are shown
  • New: Help tab was added
  • New: Clear search box will clear selected selections
  • New: Select none in Select tiddlers will clear selected tiddlers
  1. The reason is, when filter search is changed, the selected tiddlers are still there! So, it needs to clear the previous selection on new search criteria!


Best regards
Mohammad 

Footenote

Original posts


Jeremy Ruston

unread,
Mar 15, 2019, 9:20:09 AM3/15/19
to tiddl...@googlegroups.com
Hi Mohammad


On 14 Mar 2019, at 15:55, Mohammad <mohammad...@gmail.com> wrote:

 I would ask Jeremy to see the possibility to distribute it as an OFFICIAL PLUGIN!

The official plugin library offers the plugins that live in the TiddlyWiki 5 GitHub repository. They are organised by publisher, with “tiddlywiki” being the publisher of all of the existing plugins.

The repository was originally organised that way so that it could accommodate plugins originating from different publishers. I was primarily concerned about TWC plugins that had been abandoned, thinking that the community could adopt such plugins by pulling them into the library.

In practice, the current plugin library carries several disadvantages for plugin authors who are actively developing their plugins:

* Plugin releases are tied to core releases, and it is not possible to issue a new version in between
* Plugin authors are reliant on core developers to merge their PRs

These limitations will go away when we have a more sophisticated plugin library, but for the moment for plugins that are being active developed I recommend setting up your own plugin library. That means your users import a tiddler tagged $:/tags/PluginLibrary that points to your plugin library, and then it appears in control panel as a separate library from which plugins can be installed.

I notice there’s no documentation for this at the moment, but I think Jed has set one up. I’ll try to set up a sample if you’re interested.

Best wishes

Jeremy

@TiddlyTweeter

unread,
Mar 15, 2019, 12:09:23 PM3/15/19
to TiddlyWiki
FYI Mohammad

Jed has done great work on Plugin Libraries ...


J.

Mohammad

unread,
Mar 15, 2019, 1:23:10 PM3/15/19
to TiddlyWiki
Hi Jeremy,

Many thanks for your kind reply.

So, the recommendation for now is to set a plugin library and lets user install plugins through that!
But, I can also go for the official plugin through GitHub pull requests!

As the Tiddler Commander is in its evaluation age, I go through my owns plugin library, but my in long term I prefer  to have it as
official plugin.

Best regards
Mohammad

Mohammad

unread,
Mar 15, 2019, 1:34:35 PM3/15/19
to TiddlyWiki
Thanks Josiah!
I will have a look to see how it works!
I would be happy if Jed or other developer can share the procedure for making plugin library here!

--Mohammad

Mohammad

unread,
Mar 15, 2019, 2:39:43 PM3/15/19
to tiddl...@googlegroups.com

Announcement: Tiddler Commander plugin release candidate
Date: Mar 15th, 2019

Dear all,
Tiddler Commander, plugin version is released!
You can simply drag and drop the plugin into your wiki to install it!

This is a release candidate and I will appreciate to receive your feedback!

After evaluation period, I hope I can publish it as an official plugin.

Watt

unread,
Mar 15, 2019, 9:01:56 PM3/15/19
to TiddlyWiki
Great stuff Mohammad, it's looking very good and will be an essential plugin for me.
What about a link to Tiddler Commander itself on that front page?
https://kookma.github.io/TW-Commander/#%24%3A%2FCommander


Mohammad

unread,
Mar 16, 2019, 2:51:52 AM3/16/19
to TiddlyWiki
Hello Watt,
 Thank you! Just press the Home button on the sidebar it is there!

--Mohammad

Watt

unread,
Mar 16, 2019, 4:06:32 AM3/16/19
to TiddlyWiki
You're right, it's there.
A strange anomaly looking at it today though, if I click Home, I then have 2 tiddlers open - Tiddler Commander and $:/Commander. If I close them both I'm getting the red java error message. Click Home again and it disappears, replaced by the 2 tiddlers. Is it just me?

Mohammad

unread,
Mar 16, 2019, 9:53:19 AM3/16/19
to TiddlyWiki
Hello Watt,
 I cannot reproduce the error!
Would you please check it again!

--Mohammad

@TiddlyTweeter

unread,
Mar 16, 2019, 11:09:59 AM3/16/19
to TiddlyWiki
Ciao Mohammad

I really appreciate the modularity.

I think in some ways SNR may need an additional (add-on?) module for teaching how to get the best from Regular Expressions?

I'm thinking about it.

I found a way to get around many of the issues with the current  diff. engine (the issues of which I comment on GitHub soon). 

Which is to preload Match & Replace for the user. 

It is how to LOAD examples to all the state tiddlers I am trying to work out.

At the moment without that its hard to control the replace enough to be illuminating.

Many thanks
Josiah

Mohammad

unread,
Mar 16, 2019, 11:28:00 AM3/16/19
to TiddlyWiki
Hi Josiah,
 Many thanks for your feedback!
Please follow the issues with diff engine!

At the mean time I appreciate your evaluation and comments for improving Commander.

--Mohammad

Watt

unread,
Mar 16, 2019, 2:16:51 PM3/16/19
to TiddlyWiki
It still gives me the red javascript error message when I close those 2 tiddlers Mohammad. I don't do anything else. I'm looking at it on a phone though - if nobody else gets it then it's probably just me. I'll wait and see.

Mohammad

unread,
Mar 16, 2019, 3:04:03 PM3/16/19
to TiddlyWiki
Hi Watt,
 I checked it on the phone (Android + Chrome) it works fine!
but the UI is not optimized for mobile phone! 

By the way, it seems something wrong in your side!

--Mohammad

Watt

unread,
Mar 16, 2019, 6:21:27 PM3/16/19
to TiddlyWiki
It'll be the Ecosia browser I was using - I tried firefox and it was fine, no javascript error. Thanks Mohammad.

Mohammad

unread,
Mar 17, 2019, 2:22:04 AM3/17/19
to TiddlyWiki
Good to know that Watt!

 I did test on Chrome, Firefox, Opera, and Edge (Internet explorer)

--Mohammad

Hewitt Chen

unread,
Jul 14, 2019, 4:17:17 AM7/14/19
to TiddlyWiki
I couldn't get the plug-in to work after several hours of fiddling. Here are the problems I encountered:

Q1: "search via filter" confusion

This description is rather confusing, Is this for the keywords in any part of the tiddler, or keywords in "filter" field? There is no mention in the Help Tab, either. But it doesn't matter as much because Q2 is the major problem.

Q2: No result

Is the result supposed to show under "select tiddlers"? There is nothing after any of my attemps. I even purposely typed "test" in the "filter" field for several tiddlers and search "test", no result either. See picture below:

tcommander issue 1.PNG



Q3: "Mohammad" under batch-created tiddler

Now I don't want to sound like a selfish bastard, but is there a way to remove your name under every tiddler created by this tool? Or even not have it in the first place?

tcommander issue 2.PNG




Thanks for your work!


在 2019年3月14日星期四 UTC+8下午11:55:01,Mohammad写道:

Mohammad

unread,
Jul 14, 2019, 4:51:12 AM7/14/19
to TiddlyWiki
Hi Hewitt,
 I am the author of Tiddler Commander!
Please wait to check your questions and answer one by one! First lets make sure you have the final release not a beta!

--Mohammad

Mohammad

unread,
Jul 14, 2019, 4:53:17 AM7/14/19
to TiddlyWiki
Would you please open control panel and then head over Plugins and see what version you have installed?




On Sunday, July 14, 2019 at 12:47:17 PM UTC+4:30, Hewitt Chen wrote:

Mohammad

unread,
Jul 14, 2019, 5:19:35 AM7/14/19
to TiddlyWiki

Q1: "search via filter" confusion

This description is rather confusing, Is this for the keywords in any part of the tiddler, or keywords in "filter" field? There is no mention in the Help Tab, either. But it doesn't matter as much because Q2 is the major problem.
The search here is a filter search like what you see in Tiddlywiki Advanced search so you have to enter a expression like

[search[checn]]


or 
[tag[test]]


Let me know if you are successful in this part?
 

Mohammad

unread,
Jul 14, 2019, 5:23:50 AM7/14/19
to tiddl...@googlegroups.com


Q2: No result

Is the result supposed to show under "select tiddlers"? There is nothing after any of my attemps. I even purposely typed "test" in the "filter" field for several tiddlers and search "test", no result either. See picture below:

The commander lets you to process tiddlers selectively! Consider your filter search results in 10 tiddlers but you like to process only few of them!
Under Select tiddlers you will see checkboxes to select desired tiddlers if you want all of them click select all!

IMPORTANT:
When you make a search dont forget to click on the magbifier close to filter search! 

Next your selected tiddlers are available in Commander tabs for example to apply tags, rename, ...

Hewitt Chen

unread,
Jul 14, 2019, 8:16:14 AM7/14/19
to TiddlyWiki
I left home for some urgent matter after making the post. I'll answer everything so far in 1 go.

Q0: plug-in version & tiddlywiki version

A0: plug-in 0.0.15, taken from https://kookma.github.io/TW-Commander/
      tiddlywiki 5.1.19

Q1: search with expressions

A1: worked perfectly

tcommander issue 3.PNG


Q2: function test

A2: Again, worked beautifully, renamed a few tiddlers effortlessly

tcommander issue 4.PNG


I am glad that it's working. But I have found a few bugs along the way, I'll state them in another entry.



在 2019年7月14日星期日 UTC+8下午4:53:17,Mohammad写道:

Hewitt Chen

unread,
Jul 14, 2019, 8:22:28 AM7/14/19
to tiddl...@googlegroups.com
A major bug found along the way:

B1: all drop-down menus don't work

When using both chrome and TiddlyDesktop, none of the drop-down menu works, they show no value or option when clicked, like this:

tcommander issue 5.PNG


Also that underlined word seems to be a typo, just mentioning.



Edit: are all my pictures corrupted? I can't see them after posting.

Mohammad

unread,
Jul 14, 2019, 11:00:41 AM7/14/19
to TiddlyWiki
Hello again,
 I am happy you get part the job done!
I will update a new version to address

  • template uses my name as author. I will modify templates and remove author/creator
  • drop down uses some state tiddlers when you freshly install TW-Commander they are not existed and cause that issue. I fix this
Hewitte,
 Keep in touch and let me know any issue you find I am here to help and fix them. Based on your posts, I understood a tutorial is required for new users!

Cheers
Mohammad

Mohammad

unread,
Jul 14, 2019, 11:06:52 AM7/14/19
to TiddlyWiki
I see all the pictures!
Thank you for reporting the typos!
Please let me know if there are other typos!.

--Mohammad


On Sunday, July 14, 2019 at 4:52:28 PM UTC+4:30, Hewitt Chen wrote:

TonyM

unread,
Jul 15, 2019, 7:21:52 AM7/15/19
to TiddlyWiki
A Side Tip and a bonus
  • Shorter user names are less intrusive in the subtitle
  • The Subtitle is generated in $:/core/ui/ViewTemplate/subtitle
  • If you delete the following from $:/core/ui/ViewTemplate/subtitle
<$link to={{!!modifier}}>
<$view field="modifier"/>
</$link>
The modifier will no longer appear in the tiddler subtitle

Bonus Tip
$:/core/wiki/title contains
{{$:/SiteTitle}} --- {{$:/SiteSubtitle}}
  • This becomes the title of the browser window/tab
  • It displays on mouse over on the tab
  • It is usually too long to read
  • Changing this to a shorter name makes sense
ToDo

Regards
Tony



Removing this will never show the modifyer 


$:/core/wiki/title

$:/core/wiki/title

Mohammad

unread,
Jul 15, 2019, 7:34:54 AM7/15/19
to TiddlyWiki
Hi Tony!
Many thanks for the tips!

Cheers
Mohammad

A Gloom

unread,
Jul 15, 2019, 7:23:13 PM7/15/19
to TiddlyWiki
Mohammad,

It says "5.1.18+", will it work on earlier versions or are major features dependent upon the newer core?

Mohammad

unread,
Jul 15, 2019, 10:42:29 PM7/15/19
to TiddlyWiki
H A. Gloom,
 Yes, part of that uses features from 5.1.18. By the way why not to update your wiki to newer version and enjoy the recent features.

--Mohammad

A Gloom

unread,
Jul 15, 2019, 11:33:14 PM7/15/19
to TiddlyWiki
Mohammad,

By the way why not to update your wiki to newer version and enjoy the recent features.

LoL,  i knew you were going to say that : )   The same reason I haven't set up a public wiki or a Githhub account--  I would have to stop working on my wiki : (

 perhaps tonight...

cause I'm definiitely interested in Commander-- to replace the similliar features I have cobbled together from various - often old or hacked sources.

Mohammad

unread,
Jul 16, 2019, 2:08:11 AM7/16/19
to TiddlyWiki
As I know Tiddlywiki has backward compatibility! If you use TW5 which I sure you use, it should be safe to upgrade from your older one to new one!

--Mohammad

A Gloom

unread,
Jul 16, 2019, 4:13:23 AM7/16/19
to TiddlyWiki

As I know Tiddlywiki has backward compatibility! If you use TW5 which I sure you use, it should be safe to upgrade from your older one to new one!

5.1.17

I'll probably do a test upgrade tomorrow - got sidetracked with a big svg experiment-- which I'll be posting of course.

Mohammad

unread,
Jul 16, 2019, 4:33:21 AM7/16/19
to TiddlyWiki
Okay!
Make sure you have backups before upgrade!
The only issue may raises if you use some special and old plugins!

--Mohammad

A Gloom

unread,
Jul 16, 2019, 3:55:50 PM7/16/19
to TiddlyWiki
did the upgrade  on one of my TW's and seemed not to break anything-- surprising with all the hacking of things I've done

Don't have any old plugin's-- your's will be the first 3rd party plugin I use

Mohammad

unread,
Jul 17, 2019, 10:51:14 AM7/17/19
to TiddlyWiki
Hi A Gloom,
 Happy to hear that!
I think it is good to keep to latest version!

Cheers
Mohammad

armlet

unread,
Jul 17, 2019, 12:16:18 PM7/17/19
to TiddlyWiki
Hi @Mohammad,

How do I open Commander from my TiddlyWiki?
The only way I can open it is go to Control Panel, Plugins tab, find Tiddler Commander plugin and either click a link in Readme, or  $:/Commander in contents tab. Is there any other way to open it?

Thanks! 

Mohammad

unread,
Jul 17, 2019, 1:32:35 PM7/17/19
to TiddlyWiki
That't true!
I use it with Favorite and keep it there!

But as per your request I will add a shortcut somewhere in sidebar!
I inform you

Thank you for reporting issues

Best
Mohammad

A Gloom

unread,
Jul 17, 2019, 2:05:28 PM7/17/19
to TiddlyWiki
How about using tagging and being able to have display in the "More" or "Tools" sidebar tabs with default TW tools?

Mohammad

unread,
Jul 17, 2019, 2:11:06 PM7/17/19
to TiddlyWiki
Yes, this is an option!
I would like to have Jeremy opinion if he sees this post by chance!

--Mohammad
Reply all
Reply to author
Forward
0 new messages