From b0f72d069086dee8506758c643f953f9ec55f403 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Tue, 7 Dec 2021 13:17:15 +0000 Subject: [PATCH] Improve sidebar plugin listing Fixes #6167 --- core/ui/PluginListItemTemplate.tid | 16 +++++++++++++--- themes/tiddlywiki/vanilla/base.tid | 1 + 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/core/ui/PluginListItemTemplate.tid b/core/ui/PluginListItemTemplate.tid index 66a2e64b4..699e9c9fa 100644 --- a/core/ui/PluginListItemTemplate.tid +++ b/core/ui/PluginListItemTemplate.tid @@ -1,5 +1,15 @@ title: $:/core/ui/PluginListItemTemplate -
-<$link to={{!!title}}><$view field="description"><$view field="title"/> -
\ No newline at end of file +\whitespace trim +<$link to={{!!title}} class="tc-plugin-info"> +
+ <$transclude tiddler=<> subtiddler={{{ [addsuffix[/icon]] }}}> + <$transclude tiddler={{{ [get[plugin-type]addprefix[$:/core/images/plugin-generic-]] }}}/> + +
+
+

+ ''<$text text={{{ [get[name]] ~[split[/]last[1]] }}}/>'': <$view field="description"><$view field="title"/> +

+
+ diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 2781dddcb..09f1312bb 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -2369,6 +2369,7 @@ html body.tc-body.tc-single-tiddler-window { .tc-plugin-info { display: flex; + text-shadow: none; border: 1px solid <>; fill: <>; background-color: <>;