Improved Plugin contents display - but Where is it?

Folks,

I wish to propose an improvement or two to the plugin contents tab which is “created” in the plugin tiddler view dropdown. However I have followed the process and can not quite see where I need to be able to do the following;

  • Add some header or footer content in the contents tab
  • Add a suffix or prefix when listing each content tiddler.

If I may ask if someone with deper tiddlywiki specific developer skills could just point me in the right direction I would appreciate it.

Thanks in advance.

Are you talking about the area in the screenshot?

No, But it would be useful to add another tab;

Here;

Snag_3b5db83

I understand this contents tab is built on the fly, I can’t even see how it obtains the list of tiddlers there in.

I think I have looked at the appropriate tiddlers and not found the code, so perhaps I am not reading it correctly eg perhaps in $:/core/ui/Components/plugin-info $:/core/ui/PluginInfo ?
$:/core/ui/ControlPanel/Plugins/Installed/Plugins

or perhaps within a macro such as plugin-table plugin-info ?

I may have found it $:/core/ui/PluginInfo/Default/contents by searching for {{{ [all[shadows]suffix[contents]] }}} given what I see in $:/core/ui/Components/plugin-info
<$set name="tabsList" filter="[<currentTiddler>list[]] contents">

This tiddler $:/core/ui/Components/plugin-info would also be the place to either;

  • Add an additional plugin internals tab, or modify it for hackability to allow additional tabs with a new system tag

Here is a rough example of a possible change
plugin-contents-tab-mode.json (410 Bytes)

Updated
plugin-contents-tab-mod.json (433 Bytes)

That’s interesting. What’s the reasoning behind it?

It looks like so now.

A newer Version on Menu Bar plugin

plugin-contents-tab-mod.json (610 Bytes)

Looks like

It counts the tiddlers, and those modified

When scanning the plugins content list of tiddlers it is easy to;

  • See which plugin tiddlers are tagged
  • This provides quick insight to the tiddlers use
  • Use the tag pill to learn more about that tags operation
  • If desired reorder the tag list order

Need to fix;

  • all of the same tag popup opening.

Futures perhaps in a new tab, also with a view to data plugins

  • Show the size in bytes
  • Delete all modified tiddlers
  • Save all modified tiddlers into the plugin so they become shadows.
    • Increment plugin version
  • Export the “plugin” with or without changes
  • Open all tiddlers in the story
  • Extract all tiddlers into the wiki with a modified prefix
  • Change the listitem template to an alternate with other info
    • Direct edit button
    • Direct delete modified button
    • Add details to see fields and values/
    • browse content eg peek

I do have to say. I did like the first version with the table more.

OK. … Seems to be some good reasons. I like them!

1 Like

Thanks @pmario

On Layout

I feel the ultimate presentation may be somewhere between the two, the table and the list. I am open to any layout suggestions. To me this is an outstanding problem in general in tiddlywiki making such lists with variable length title and fields look nice and work well.

  • Using “…” to fill between a list item and the tags
  • For longer titles or tag sets finding another way to break or size the results.

Any suggestions welcome.