Closed mat-m closed 4 years ago
It seems to me that this tags unification for all the apps was already considered. Maybe @nickvergessen can provide additional information and decide how to deal with this issue.
Related issue in Tasks repository: https://github.com/nextcloud/tasks/issues/89
I did not manage to find a similar issue for bookmarks and notes (I did a quick search...)
Yeah, we have "System tags" which should serve exactly this purpose. So in theory you should open a new issue in all of the affected apps and ask them to use the system tags instead of implementing yet another tagging system.
Maybe the way to integrate "System tags" could be a bit more straightforward?
@nickvergessen Is it useful to collect here the issues in all the different apps?
For example in deck there is https://github.com/nextcloud/deck/issues/201 ; in calendar there is https://github.com/nextcloud/calendar/issues/107
I will try to create an overall synthesis that can be useful to the developers. And then @MorrisJobke will have the possibility to manage the issue more quickly.
Two considerations:
list of App related issues:
I did not insert apps like Audio Player because I think that mixing the tags internal to Nextcloud with the tags that derive from metadata inserted in the file format (like MP3) is another issue.
Thanks @Spartachetto for consolidating information. I will try to open missing issues this week on notes & bookmarks. Mails are not shareable, I would rather ask for a "Save to nextcloud as HTML", in the same way we can save attachments. News can be shared, so that is another way to think about it. IMO, it makes sense for polls. A poll is rarely a standalone task, but rather an item in a project, a workflow, which is my purpose for tags. To reuse my example, I may set a poll to let my guests choose their recipe :)
Adding announcements https://github.com/nextcloud/announcementcenter/issues/2
@mat-m What do you mean by "Mails are not shareable"?
If you are interested in sharing different kinds of objects together, you could be interested in the idea of collections ( #11015 ).
As you were describing the use of system tags as a classification of all your different objects related to something, I have the impression that emails could be of interest.
Mind to clarify why you do not agree? Thank you in advance!
@Spartachetto , Mailboxes are only IMAP, so mails are on the server. I don't see a way to share a mail that is in your mailbox with others. Collections are one way to do it, but I also think that having a centralized tags definition is a key point for data and metadata consistency.
If this global use of system tags will be realized, #2143 would be even more useful....
I do not know if you would include also #16885 here. @nickvergessen what do you think?
Could someone point to documentation on how to integrate system tags?
Here is the api documentation for version 17.
This is probably the relevant public API, however, as usual, it's quite minimal. If there is a feature in core that is supposed to be used by apps, I would expect to see explanations and guides on how it works and how it is supposed to be used. The absence of documentation, makes it clear why no app developer has implemented this. As it is, the developer experience in general is quite underwhelming atm, IMHO.
As @marcelklehr is an experienced app developer, I think it is a warning sign if even he thinks that the documentation is lacking.
I do not know if @nickvergessen is the right one to solve the problem. Otherwise maybe he can pass the message to the right persons...
If you have a specific question I may be able to point you to some code. But I'm pretty bad at writing generic documentations. Mean while the API docu is down temporarily, but yeah https://github.com/nextcloud/server/tree/5bf3d1bb384da56adbf205752be8f840aac3b0c5/lib/public/SystemTag is your home. Use ISystemTagManager to get/create a tag and ISystemTagObjectMapper to add it to and remove it from items, or get the list of tags on an item.
Your items identify by the object type (files
e.g. for the system tags you can put on files) and an object id (the file id for files, in talk we would use the conversation token, etc). Hope that helps?
CLosing as dedicated tickets have been created
Is your feature request related to a problem? Please describe.
First problem:
So two terms and two behaviors, but they do not match.
Describe the solution you'd like
I would like to be consistent:
Additional context
Example: I use the tag recipe to track my recipes, and the tag cooking for the things to try in the kitchen I have a pdf of a recipe, which I tag with
cooking
andrecipe
I pasted another recipe in a note, which I only tagrecipe
because I already did it with my mother last week. I bookmarked a third recipe, and tag it withcooking
andrecipe
I uploaded a photo of a recipe from a book taken during a trip in Italy, which I tag withcooking
andrecipe
I create a task Schedule invitations for cooking tag which I tag withcooking
We may then envision to have a global tag search, so that if I search for tag
cooking
, it will show me all the objects tagged with it (files, photos, tasks, bookmarks, notes).