Does TiddlyWiki have anything related to progress bars?

I often need to make bulk changes, sometimes to hundreds or even thousands of tiddlers. When these tiddlers are being modified, I’d like to know if there’s a progress bar or something similar that can be displayed. Or is the only option to print logs to the console? Maybe it’s possible to set up a separate tiddler to display this log. Also, bulk changes cause TiddlyWiki to lag. What’s the upper limit for this? Hundreds are manageable, but thousands are noticeably slow. Maybe five thousand or ten thousand is close to the limit.

With TiddlyWiki all actions are synchronous. So there is no asynchronous progress, that can be shown. Bulk actions are done in one run. – Except, if you use a client / server configuration.

But bulk action syncing with 1000th of tiddler may take hours, because file access is slow, compared to actions in PC memory.

If you’re asking strictly about the visual aspect, as in a widget, the Full Text Search plugin had a tiny companion for that: $:/plugins/hoelzro/progress-bar

while true, when developing a plugin to do bulk operations you could:

  1. first count the number of entries,
  2. group them into smaller batches and
  3. update a progress bar after each batch is complete.

so for example, for a 10000 tiddler operation it could break up the work into 10 x 1000 tiddler operations, with a call to update the progress bar to the next 10% after each.

i don’t know if there is a substantial performance hit from doing it this way, but it might at least make it feel faster to have an updating bar…

1 Like