joshuafontany / TW5-JsonMangler

A JSON extension plugin for TiddlyWiki5
https://joshuafontany.github.io/TW5-JsonMangler/
MIT License
15 stars 2 forks source link

Indexes Filter's new Verbose function needs work #9

Closed joshuafontany closed 4 years ago

joshuafontany commented 4 years ago

If fed the 'verbose' keyword, i.e. [indexes[verbose]] it should list root indexes seperately from children.

Ref shadow tiddler: $:/core/modules/filters/indexes.js

joshuafontany commented 4 years ago

https://groups.google.com/forum/#!topic/tiddlywiki/aPfgfD3WdTM

c pa | Mar 7 (20 hours ago) Joshua,

I've been using the plugin for a couple of weeks. Excellent useful plugin. I have one request. Is it possible to add an "attributes" operator or something like that that would return the direct children of each item? I've found that I have to manually maintain and index in the JSON so that I can keep track.

{ "item one": {"one": "content", "two": "content", "indexes": "one two"}, "item two": {"aye": "content", "bee": "content", "indexes": "aye bee"}, "item three": "content", "indexes": "[[item one]] [[item two]] [[item three]]" }

The indexes operator returns all children and I only need the direct children.

joshuafontany commented 4 years ago

Fixed v2.1.0

joshuafontany commented 4 years ago

https://groups.google.com/d/msg/tiddlywiki/z9DjVvm3Q1M/eUWGTtBDBgAJ