Description
Checklist
- I am using an up-to-date version.
- I have read the documentation.
- I have searched existing issues.
Description
Global tags - in other words, tags that are available in all libraries.
Solution
Since tags are defined in the .tagStudio
folders native to each library, I think the best way to implement this without needing a centralized location where libraries are defined would be to essentially let the UI merge a predefined list of global tags with library-specific tags (so that you can select them when tagging a file).
A global tag definition would be added to the library upon the first time a file in it is tagged with it.
Alternatives
One could also simply write a small script that takes a file, let's call it tags.json
that defines global tags, and manually merges it with the tags
property of the .TagStudio/ts_library.json
file in all libraries.
This would, however, result in all libraries containing all global tags, even the ones that won't be used in the library, not to mention, it would have to be run periodically as tags.json
is modified.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status