-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tags for notes #299
Comments
Yes, we decided to use categories (based on sub-folders), see #8. We also decided to realize only one type (i.e. categories OR tags) in order to keep the app simple. However, I will leave this issue open in order to allow a discussion about this aspect. But I don't think that we will change the roadmap in this aspect soon. |
The subfolder/category-based method is very "rigid", the "tags" would be a lot more flexible and easy to use ! I mean, each of my notes could be in 2 or 3 categories (or tags)... Moreover, the integration with QOwnNotes is not full because of that, tags are the "modern categorisation method". Is there any chance that you change your mind about that roadmap ? |
zotero use both method (tags and folder) and it's very usefull :D |
Tags are already possible when accessing a note as txt/md via the Files app. However, you cannot see or access those tags from inside the notes app itself. The only options you see pertaining to the note are Favorite, current Category and Delete. Perhaps tags could become accessible from the Notes app, similar to how categories can be defined. A combination of tags and nesting covers many use cases, plus is a default design I'm used to from Evernote. |
I tried to follow @makayabou suggestion to put a bounty on this issue, but: Also, considering the huge amount of work involved in taking hundreds or thousands of notes, I would like to stress the importance of finding the single note you are searching, when you need it. If you are unable to find it, then the whole purpose of all your note taking work is wasted. The power to put multiple tags on a single note is critical in this sense. |
|
I have the same request now. Categories is a very important feature to manage notes, but tags are more useful to me than categories, notes with several tags at the same time are easier to search and read, BTW, I do NOT think it will be not simple if Notes support labeling notes while categorizing them. |
This comment has been minimized.
This comment has been minimized.
By the way: I totally support the request for tags. I don't think it's tags OR categories; they support different use-cases. The ability of tags to be assigned to multiple notes is very important for me (and others, I think). |
This comment has been minimized.
This comment has been minimized.
@carbontracking Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no new or relevant information to add. As explained multiple times we want to keep a folder & files based approach to avoid a vendor lock-in and allow simple export of the notes as well as synchronizing them with every WebDAV client and the Nextcloud Desktop sync client. |
It's possible to add tags to files, so shouldn't it be possible to add tags to notes (which are basically files)? How are tags stored in the files app? Is there a database for them? Or are they directly attached to the files as some kind of metadata? |
They are stored in the database, not as file meta data. |
How about storing #Tags in plain text and offering an interface which allows to filter notes by tags. This is done by Laverna, which also allows to format notes in markdown. Lavernas UI has some nice features like clicking on a tag to see all notes with the same tag. See below a screenshot of the editor, you are free to try it in your own browser. The strength of nextcloud is its file-based syncing capabilities using standard protocols. Using plain text tags does not require any complicated API and maintains maximum compatibility. Indexing of notes to search for tags is simply done by client side applications. |
Now this is an interesting idea. Hashtags. This is definitely worth further investigation and while we can't store separate attributes like colors, we could use it theoretically for searching or displaying an alternative navigation structure. |
I understand that the goal is to have a simple structure to make exports easy. I am coming from Carnet, which is a separate app, and it supports both, so when I used the Notes app I got surprised there was no tag support. I understand the concerns why though. Now, for the hashtags inside the text files, this would implies having to parse each file in order to extract the tags, in order to build a tag list. I don't think that's scalable with a large amount of files. In the end I have no solutions, as the Note app is based on the filesystem we can't have a single Note in multiple locations. Maybe if we could make some symlinks from inside Nextcloud... then we could have a single Note in multiple locations. That sounds hackish anyway. I think going with the Categorization instead of Tags here #8 was a mistake.
|
It's possible to parse notes once, cache tags to db and then only reparse edited notes while keeping text tags in notes as is thus maintaining easily exported notes. So I don't see much problem in that. |
yes, that's what I wrote
|
Can you elaborate on how app-specific db for cached breaks "exporting the notes easily"? It's really unclear to me. |
It depends on how the exporting is done:
I actually like the 2nd option which is what you are proposing, but I am not sure this conforms to the discussion in #8 where people seem to want to have a folder structure representing their "tags" |
@RedKage I see now, thanks. Welp, my guess is that you can show the tag structure in sidebar, building it in runtime from cached data from db, especially since there is no straighforward way to have multitagged notes on real filesystem. So you can have plain and simple exporting and folder structure with tags. |
One idea that seemed worth throwing here: modern OS should all have links (soft or hard) these days, right? If so, you could consider creating the following structure, when exporting:
Of course, this only works if the export is a snapshot of the current database state; it's not possible to have something that would reflect changes to this folder structure over time (renaming, moving things around). (bonus points for making a FUSE based on the notes' tags, so that it can actually reflect changes) |
@bnjbvr that's almost what @RedKage proposed as first possible solution. However you variant is even more complex in terms of final export artifact. Just copying seems more bulletproof and not copying at all is the simplest. If you're going to import notes somewhere else after export you're gonna do some manual work in any case so those complications aren't winning anything imo. |
Maybe take a look at how they mange their tags: https://github.com/pbek/QOwnNotes (sqlite, i guess) |
Another appreach to tagging and handling note metadata might be the addition of a "frontmatter" section to the markdown files. Such sections are becoming increasingly common1 and would help standardize the format and solve a bit of the pain in adding tags inside the files themselves (and thus having to completely extend/change the markdown parser). I still fully support the idea of parsing such frontmatter (and the tags therein) and putting them in an easier-to-search and easier-to-index format in a database somewhere else. This might be the biggest sticking point, as far as this feature goes, as well as adapting current Notes ui to handle this change. Footnotes |
I would argue that having tags as Hashtags Tags as hashtags would make shared note pool between nc notes and obsidian (or other apps with similar format) more usable. |
+1 on using tags in frontmatter like Obsidian. I'm importing notes from Obsidian, would be nice to have tags. |
I dindn't really think of frontmatter tags, but that would certainly be useful too. Personally, I prefer having |
Joplin uses frontmatter to export the tags (and other meta-information): ---
title: My title
updated: 2024-03-16 08:55:22Z
created: 2020-12-06 11:48:10Z
author: Peter Tandler
tags:
- tag1
- another tag
- even more tags
---
Note content |
Another vote for tags! They are essential. Would really appreciate seeing them in any further version of this app. |
Agree, although they are available, it is a bit hidden and cluncky, you have to click on "share" (dot menu in note title) |
Thanks for the "Share" workaround @TheNomad11 I will give that a go. I have many notes, and the Categories are just not enough (IMHO). I may have multiple Projects (which I place in a Projects Category), some of which use #Arduino's some use #3DPrint's some may be #Woodwork, and some all 3. Also the fact that changing categories cause the file to be moved has made linking to them more difficult in the past, and I seem to recall problems where embedded links to images were lost if I changed the category. A flat folder structure with tags would remove this issue. |
I know that in Nextcloud Notes I can use Categories that are subfolders,
but I would find it more convenient to have Tags.
I have this functionnality with QownNotes but it can't synchronize with Nextcloud Notes keeping tags.
I first started an issue on QownNotes (pbek/QOwnNotes#953) but here's what they answered:
What do you think of it ?
BountySource is no longer directly supported or endorsed by this repository. See #547 for more information. There is, however, an existing $100 open bounty on this issue.
The text was updated successfully, but these errors were encountered: