Something I think would be really helpful is the ability to pass filter notation to the tree macro or the toc macros.
Something like <<tree filter:"[creator[JohnDoe]]">> (or similar but using the toc macros) which would create a tree of all tiddlers made by JohnDoe, so that you can still follow the same title format as the core tiddlers which won’t break things like custom config tiddlers, and not need to worry about tagging them, and for some tiddlers finding a different method to find them since you can’t tag them (journal config tiddlers for example)
How could the core tree (or toc) macro be modified to use this over requiring a tag?
I was thinking that the tree macro specifically would have just listed all tiddlers made by JohnDoe, and excluded others, so instead of
$:/core/ui/A1 (Created by JohnDoe)
$:/core/ui/A2
$:/core/ui/B1
$:/core/ui/C1
$:/core/ui/C2 (Created By JohnDoe)
$:/config/value/D1 (Created By JohnDoe)
It’d end up as
$:/
core/ui/
A1 (Created by JohnDoe)
A2
C2 (Created By JohnDoe)
config/value/D1 (Created By JohnDoe)
But, yea thinking about it this probably wouldn’t work
Edit: Would there be a way for something to behave like these two segments though?
Or is it simply not possible?
Putting in a filter should be possible. But you probably need to re-think what you really want. A1, A2, and B1 are all at the same level - siblings. So the output would be simply A1. If there’s some connection you want to between the siblings, you need to specify how that would work.
Ah, yea your right, I didn’t really type that out correctly to what I meant, I was a bit half asleep
I think a closer representation would be something more along the lines of
$:/core/ui/A1 (Created by JohnDoe)
$:/core/ui/A1/A2
$:/core/ui/A1/A3
$:/core/ui/B1
$:/core/ui/C1
$:/core/ui/C1/C2 (Created By JohnDoe)
$:/config/value/D1 (Created By JohnDoe)
Hello There (Created By JohnDoe)
my goal would be using the filter [creator[JohnDoe]] that then separates them by / and turns them into dropdowns that appear like the tree macro renders them, listing it’s children as well
unfortunately I don’t know how the tree macro is turning what looks like <ol> elements into dropdowns, and showing singular tiddlers with the file icon
I don’t really know if that helps or not. My end goal is a tree of tiddlers that automatically lists new tiddlers made by a specific person, or even repurposed for other sorting, like by created
That’s amazing, honestly. I’ll likely try to remove the (0) portion through tinkering since it seems to break here, but this is seriously cool, thank you!
How exactly does this work? I can tell from reading it it’s replacing portions of the tree macro, but the part I couldn’t figure out is how it uses a filter instead? Ah, I was looking at the wrong tiddler… please excuse that
I can confirm this is working as intended haha
Thank you for making this, @Mark_S, this will help me better keep track of my tiddlers, and will be fun to learn from