Replies: 15 comments 27 replies
-
I did create a Bundler Plugin, which uses bundles (tiddler.json files). ... AddOn(s) will probably be taken by the "language AddOn" tab, which is part of a pending PR: "Translateable plugins - first try #5418" So I'd suggest "package", since it's free ;) |
Beta Was this translation helpful? Give feedback.
-
I did create a new version of the bundler-plugin some days ago. Then I thought, it should be simple, to export a "content-only" bundle as a plugin, Which is exactly what you suggest. A bundle can contain "content tiddlers" and they can also contain "plugin tiddlers". The core: $:/core/ui/ControlPanel/Plugins tiddler probably contains the only hardcoded "tab-list". ... May be we should change this and make it configurable. .. So users can add tabs there. .. It should be relatively simple. |
Beta Was this translation helpful? Give feedback.
-
Hi @kookma
There are also language plugins. Internally, the
Beyond being in a separate tab, does this additional plugin type require different functionality than existing If not, perhaps it would make more sense to just introduce a new subtype field for plugins that could be "ebook", "presentation" etc.? |
Beta Was this translation helpful? Give feedback.
-
Folks, I have spent some time on this myself. It is easy to achieve this with an existing hack. Just create a JSON tiddler, like renaming the $:/Import and add the plugin-type of your new name. As I favor, a plugin type of "data" which I could use to import say a list of "archaeological epochs" and their dates. Given even in this thread there are different views on alternate plugin types, can I suggest the tabs in $:/core/ui/ControlPanel/Plugins It appears as long as a tiddler has the plugin-type field, regardless of its value it behaves as a plugin with shadows etc...
Regards |
Beta Was this translation helpful? Give feedback.
-
#5694 addresses first step of this idea: e.g list tabs using system tags Now developer can adds new tab in ControlPanel/Tabs displaying another kind of plugins e,g |
Beta Was this translation helpful? Give feedback.
-
Awesome 😃
if you have many bundles they are all to find by the tag Kookma, and so on ... so one could copy the plugin or parts of it like the test or the whole chapter. or how should it be? |
Beta Was this translation helpful? Give feedback.
-
Personally I feel that a plugin type of data would be enough to cover imported databases, backups, books etc.. since they are basically content without macros and active widgets or functions. If we are going this way and naming a small subset of additional plugin types we need to try and predict future needs. I would rather maintain the status quot which is you can freely make up additional plugin types already. To access additional plugin types in the control panel $:/core/ui/ControlPanel/Plugins tabs need to be modified to include additional tabs for other plugin-type values found in the wiki. I would be happy to do this! |
Beta Was this translation helpful? Give feedback.
-
Here is an example, drop on TiddlyWiki.com then optionally edit the core tiddler $:/core/ui/ControlPanel/Plugins and add this tiddler "Other plugins" to the tabs. Now control Panel > Plugins > Others This will list all other "unregistered" plugin types. |
Beta Was this translation helpful? Give feedback.
-
@kookma and others. This is WIP atm. It's part of the "translatable plugins" project I'm working on. I did make the plugins tab dynamic. .. So it will be possible to extend it easily. I did use Content, because I think "Package" indicates something executable. The next step will be to list all plugins with "plugin-subtype : xxx", where xxx can be defined by the plugin Author. The text of the "plugin-subtype" field will be used "as is". So no lingo-definitions in the core are needed. |
Beta Was this translation helpful? Give feedback.
-
Hi @Jermolene, @pmario My recent findings and proposal on Talk
So, I am thinking may be just having a plugin-subtype is enough as @Jermolene said: No new functionality is required and this is only how they displayed in control panel! |
Beta Was this translation helpful? Give feedback.
-
Hi @Jermolene
On the other items, it seems there are open questions So, I appreciate if @Jermolene advice on this! I am available to help to implement this part (of course with no JS ;-) ) |
Beta Was this translation helpful? Give feedback.
-
Hi @kookma I'd like to step back to consider the goals behind the OP. I think that this is about being able to present specialised content as plugins, reusing the existing infrastructure, but without end users having to deal with the usual plugin UI to handle these specialised plugins. If that's the case, you might be interested in the work I've been doing on https://twpub-tools.org/. It presents a user interface for downloading and reading EPUBs that have been converted to a TiddlyWiki plugin-based format (the converter is currently a separate Node.js app). The idea is that the user need never know that these TWPubs are represented as plugins. To try it out:
So, the approach is to build a separate UI outside the control panel to handle the special TWPub plugins. The downside of this approach is that the plugins list in control panel gets longer, and I'm certainly not against measures to manage the resulting complexity. |
Beta Was this translation helpful? Give feedback.
-
@kookma Now that I see your implementation it should be a media-type field instead of a plugin-subtype field. If I import one of your plugins into tw-com I do get this: But there should be a top level as shown in your demo page linked above. ... WITHOUT the need to install the plugin into an existing default wiki. So the core should know about the new media-type field and use it accordingly. |
Beta Was this translation helpful? Give feedback.
-
Thank you @pmario
Then we will have a Media tab! It can be configured somehow to list all plugins are not belong to standard categories (plugins, themes, languages) |
Beta Was this translation helpful? Give feedback.
-
The fishing plugin @oflg is trying to distribute 33MB of English learning flash cards in https://github.com/oflg/fishing-cannedfish/tree/gh-pages These are JSON multitiddlers. They are too much, so placing in the CPL will overwhelm other plugins, so currently only distribute in github and netdisk... |
Beta Was this translation helpful? Give feedback.
-
Right now Tiddlywiki supports plugins with two types:
plugin
,theme
. Plugins have many useful features. Recently it was proved that plugins can be used very effectively for distributing e-books. During the pandemic I tried to distribute course notes using plugins. Student can open tiddlers, edit them, add comments and if they delete, they always have the original course notes intact.For Tamasha, I got request to be able to distribute presentations as course notes or learning resource as plugins.
Based on the above discussion I like to propose
I should note and emphasize that all above can be done using the current Tiddlywiki plugins technology, but having a specific type for distributing collection of tiddlers like e-books, course notes, presentations, ... is semantic and helpful.
Beta Was this translation helpful? Give feedback.
All reactions