mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 10:00:34 +00:00
1c23059204
* First pass at dynamic loading/unloading * Show warning for changes to plugins containing JS modules * Use $:/config/RegisterPluginType/* for configuring whether a plugin type is automatically registered Where "registered" means "the constituent shadows are loaded". * Fix the info plugin The previous mechanism re-read all plugin info during startup * Don't prettify JSON in the plugin library * Indicate in plugin library whether a plugin requires reloading * Display the highlighted plugin name in the plugin chooser And if there's no name field fall back to the part of the title after the final slash.
23 lines
535 B
Plaintext
23 lines
535 B
Plaintext
title: $:/core/ui/PageTemplate/pluginreloadwarning
|
|
tags: $:/tags/PageTemplate
|
|
|
|
\define lingo-base() $:/language/
|
|
|
|
<$list filter="[{$:/status/RequireReloadDueToPluginChange}match[yes]]">
|
|
|
|
<$reveal type="nomatch" state="$:/temp/HidePluginWarning" text="yes">
|
|
|
|
<div class="tc-plugin-reload-warning">
|
|
|
|
<$set name="tv-config-toolbar-class" value="">
|
|
|
|
<<lingo PluginReloadWarning>> <$button set="$:/temp/HidePluginWarning" setTo="yes" class="tc-btn-invisible">{{$:/core/images/close-button}}</$button>
|
|
|
|
</$set>
|
|
|
|
</div>
|
|
|
|
</$reveal>
|
|
|
|
</$list>
|