Mat,

So I understand you want to modify $:/core/ui/Components/plugin-info?

Perhaps I am missing something but Plugins are displayed as such when they 
have the plugin-type=plugin  and uses $:/core/ui/ViewTemplate/plugin which 
itself transcludes the tiddler you want to edit. The fact is, that the 
plugin info view comes to us as a result of 
the $:/core/ui/ViewTemplate/plugin having the $:/tags/ViewTemplate tag.


   - Why not create you own alternative $:/core/ui/ViewTemplate/plugin 
   tiddler eg: $:/mats/plugin-info/ViewTemplate  having the 
   $:/tags/ViewTemplate   tag 
   - Which instead transcludes your own version of 
   $:/core/ui/Components/plugin-info lets call that $:/mats/plugin-info/custom.
   - Now add a checkbox to your $:/mats/plugin-info/ViewTemplate that 
   removes the $:/tags/ViewTemplate tag from $:/core/ui/ViewTemplate/plugin 
   and adds it to $:/mats/plugin-info/ViewTemplate and visa versa. This will 
   toggle your change in and out.
   - Now if it is a plugin you created, add to your readme or a config 
   tab,  \in the plugin definition, the checkbox toggle to alternate between 
   the core or your plugin info view. If it is only a macro place and document 
   this in $:/mats/plugin-info

Using this method your change is simple to reverse, documented in the 
plugin and driven by an existing tag. If removed and the tag is not 
restored to $:/core/ui/ViewTemplate/plugin it will show this is an 
overridden tiddler, and deleting it will restore the tiddler and tag.

The only thing that can be updated that will cause a possible problem is 
$:/core/ui/Components/plugin-info if you never get to see its change. But 
your change will most likely keep working.

Regards
Tony



On Monday, July 8, 2019 at 1:13:28 AM UTC+10, Mat wrote:
>
> Jeremy Ruston wrote:
>>
>> I tried to answer that earlier: we transclude components by their tag so 
>> that new components can be interleaved by creating a new tiddler with that 
>> tag.
>>
>
> I didn't realize that this was as universally appropriate everywhere. 
> So... the right thing for me to do now is then to request that a listwidget 
> is inserted in the template for those "plugin cards" listing everything 
> tagged with, say, the plugin title? Or the plugin title and a specific tag 
> like "plugin card" - or how would only the "plugin cards" be targeted?
>
> <:-)
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/37f9c3bb-40de-4311-a94f-943f700fe430%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to