standardnotes / folders-component

GNU Affero General Public License v3.0
16 stars 15 forks source link

use slash instead of period for hierarchy #5

Open samuelallan72 opened 7 years ago

samuelallan72 commented 7 years ago

I noticed this extension uses a period to manage hierarchy in tags - eg. uni.units.thisunit. Is there a reason why periods were chosen? Perhaps it would make more sense to use a slash for a more standard approach to hierarchy (parallels filesystems, etc.) - eg. uni/units/thisunit?

moughxyz commented 7 years ago

It's arbitrary. But periods were chosen as to not mimic a filesystem too much, since it's nowhere near that. In the future, I plan to expose the delimiter as an option so the user can choose a slash.

leafcutterant commented 5 years ago

I also kinda prefer a slash because the extension is not yet available on mobile, and a slash makes it easier to visually identify the logic. E.g.:

For now I either have to edit each new tag, or change my naming logic. An option for this would be helpful, thank you for considering it!

moughxyz commented 5 years ago

Perhaps this would be an option at some point..