tw5-locator icon indicating copy to clipboard operation
tw5-locator copied to clipboard

"folders" on top

Open xeor opened this issue 4 years ago • 6 comments

I've just started to test out tw5-locator, and I like it a lot. One thing I see will become a huge problem for me tho is the list of tiddlers that shows in the list.

I am trying to create a hierarchy like this:

  • Personal
    • Project-x
      • something.tid
    • Project-y
    • 2020-06-17 some journal.tid
  • Work
    • A project
      • some notes.tid
    • 2020-06-17 another journal.tid

This is the list I am trying to get, but instead, the projects (nested tags) are showed up below the normal notes that only have Personal or Work as a tag.

Is there any way to have "folders" on top? I have many hundreds of notes with Personal as tag, and they are all in the format above. So it's not optimal scrolling to the bottom to look for the projects..

xeor avatar Jun 17 '20 19:06 xeor

I think I understand what you mean, but I’m afraid I can’t do this kind of arrangement. I'll see what I can do, but I don't promise anything.

Not a perfect solution, but you can sort the items manually through the tag dropdown menu. For example, open Personal tiddler and click on its tag to bring up the dropdown menu, and drag-n-drop to rearrange the order of the tiddlers.

(see bottom of https://bimlas.gitlab.io/tw5-locator/#Locator%20view%3A%20Table%20of%20contents%20macro)

bimlas avatar Jun 19 '20 06:06 bimlas

Thanks for the tip @bimlas . I also noticed that there was a way to force a label using the caption field. I ended up using that, and one extra level of hierarchy.. The only thing now is I want a shortcut to a location, a link that opens the Locator and goes to the correct place in the tree. But I can start a new issue on that if you think it might be possible? :)

xeor avatar Jun 19 '20 07:06 xeor

Sorry, didnt mean to close it if you where still trying to figure out a solution? Or shall I close it to see if anyone else wants this?

xeor avatar Jun 19 '20 07:06 xeor

Leave it open to remind me.

bimlas avatar Jun 19 '20 08:06 bimlas

The only thing now is I want a shortcut to a location, a link that opens the Locator and goes to the correct place in the tree. But I can start a new issue on that if you think it might be possible? :)

You can open any tiddler in the sidebar with the >> button in the toolbar: https://bimlas.gitlab.io/tw5-locator/#Locator%20view%3A%20Table%20of%20contents%20macro -> View the "table of contents" of any tiddler

bimlas avatar Jun 19 '20 08:06 bimlas

The only thing now is I want a shortcut to a location, a link that opens the Locator and goes to the correct place in the tree. But I can start a new issue on that if you think it might be possible? :)

You can open any tiddler in the sidebar with the >> button in the toolbar: https://bimlas.gitlab.io/tw5-locator/#Locator%20view%3A%20Table%20of%20contents%20macro -> View the "table of contents" of any tiddler

Thanks for the pointer, I can modify it's logic and create some shortcuts from it :) Awesome!

xeor avatar Jun 19 '20 08:06 xeor