On Tuesday, February 18, 2020 at 8:49:57 AM UTC+1, Mat wrote:
...

> which gives this:
>
>> action-createtiddler
>> action-deletefield
>> action-deletetiddler
>> action-listops
>> action-navigate
>> action-sendmessage
>> action-setfield
>> browse
>> button
>> <http://editormagic.tiddlyspot.com/#button>
>
>
I know, that an algorithm will be more flexible, if new widgets are 
included, but for me this looks like a problem, that could be easily solved 
using a lookup table. 

eg. widget-docs-lookup .. a data-tiddler ... see attachment.

This code: 

<$list 
filter='[all[shadows]prefix[$:/core/modules/widgets/]removeprefix[$:/core/modules/widgets/]removesuffix[.js]splitbefore[/]!suffix[/]]'><$text
 
text={{{[[widget-docs-lookup]getindex<currentTiddler>]}}}/><br></$list>

Will list all the docs tiddlers. and needed 15 minutes to create it and 10 
minutes to test. 

There are several widgets, which have no docs. That's intentional. The data 
tiddler gives us a possibility to address this, with links to explanations. 
Or use n/a as an additional filter to remove those elements. 

just a thought. 
mario


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cdabffca-e0ad-4a2e-bc4a-5ea68315e2e2%40googlegroups.com.

Attachment: widget-docs-lookup.json
Description: application/json

Reply via email to