vrtmrz / obsidian-tagfolder

MIT License
221 stars 17 forks source link

Clarify documentation regarding the right-click options alternative label, change the mark, redirect #66

Open dudido opened 1 year ago

dudido commented 1 year ago

I was trying to figure out how to use these options work, and couldn't find anything in the docs. E.g. I was trying to 'virtually merge‘ two tags (w/o changing the actual tags across numerous files) into one using redirect so that #a is redirected to #b, however this doesn't work—setting the redirect option of #b to #a doesn't seem to do anything.

vrtmrz commented 1 year ago

Thank you for asking me! Yes, the document is not updated yet.

The functionality is as you say. If we want to redirect #b to #a, just only a needs to be configured.

dudido commented 1 year ago

Thank you for your response. However after testing again, this doesn't work for nested tags, or tags which contain other tags somehow. Also, I think there should be an icon or other marking on redirected tags.

Also could you clarify the difference between alternative label and change the mark? I would suggest changing the name of the latter. It seems unclear to me as a description.

vrtmrz commented 1 year ago

Thank you too. I missed mentioning the current limitations. All redirects would be processed before structuring the hierarchy to avoid the infinity loops. And it needs a full match. However, as you mentioned, it will be useful if it works for partially matched cases.

Also, I think there should be an icon or other marking on redirected tags.

This might be marvellous! If the folder possibly contains a redirected note, it will be better to express that.

I would suggest changing the name of the latter. It seems unclear to me as a description.

Well, I think so, I had not enough idea at the time. May I ask for some of your ideas?

dudido commented 1 year ago

Well could you clarify the difference between alternative label and change the mark? I played with it and don't get it. If I do maybe, I could make a suggestion for a different description.

vrtmrz commented 1 year ago

@dudido Perhaps it is easier to introduce my configuration.

My tags which are in this screenshot configured like this:

image

dudido commented 1 year ago

@vrtmrz Thanks for the screenshots. Now I'm starting to get it:

You seem to be using only emojis as prefixes. If you were to restrict the available prefixes to emoji, you could call it 'Change the icon' or 'Custom icon'.

But given that I can entry any text, I guess I would call that a '(non-sorting) prefix'. If you don't like that as a description you could call it 'Add a prefix', and clarify in the options that the prefix don't affect sort order (if that is actually the case). Hope that helps!

Could you also clarify, what you meant by 'And it needs a full match'? Still don't quite understand the limitations you speak of regarding the redirect-function.