Feature request: please automatically remove the >> untagged << tag as soon as you add a tag. And put it back if you remove all tags. In my workflow, sometimes I just go through my untagged items and tag them in bulk. When I add a tag, the ">> untagged <<" tag must be manually clicked (the X) to remove it. It would be nice if this tag just disappeared the second any real tag was added. There's no need to manually remove it since it could be programmed to be automatic, right?
At this point I don't know when or if this search query API will be added. In the meantime is there anything that can be done to fix the above bug or prevent the plugin from running at 100% cpu all the time?
The bug should be fixed in the latest build (2.4.0). Let me know if it still persists
The CPU issue should be resolved as well. Apologies for any possible database impact.
For posterity, the source code can be found at: Code / joplin-plugin-untagged ยท GitLab
@laurent is it possible to update the first post on this topic with the updated links and details?
It is possible. Send me a PM with the text that should be in the first post.
Great! But could you tell me how to navigate to that setting? When I go to Tools > Options, I don't see a plugin section on my left-hand menu as you have in your screenshot.
The plugin must be installed, enabled and joplin restarted for the plugin to be activated. Perhaps that is not the case?
I do not see the mail icon to send you a PM
Yeah, the plugin has been installed and running for a while. You can contact me directly using the form at Contact | Cody Burleson
@BeatLink, we get reports now and of them about Joplin taking 100% cpu due to the Untagged plugin taking up a lot of resources. I wonder if if you're aware of this issue? Do you know if it can be solved, or is it something we need to address application side?
If there's no easy immediate solution would you be ok with temporarily removing the plugin from the official repo?
To solve this, Joplin would need a plugin API to connect a callback function for any realtime changes including tagging (basically onNoteChange but for any changes). For the time being, I recommend removing it for now. Untagged notes can be found with a simple search using -tag:*
in any case
As an additional alternative, the Agenda plugin could serve as a replacement by creating a profile with the above search criteria to find untagged notes.
Ok thanks, I'll remove it from the repo for now then. Rather than adding an onNoteChange that works for any change (as I think that would cause problems during sync), maybe we could extend the /events endpoint to return more details including tag changes.
The problem with the /events endpoint is that polling it is a relatively slow and expensive operation. That limits polling for changes using it to every 30s at best, not fast enough for real time needs.
I just had an idea. Keep untagged in the repos for now. I am going to push an update later today so that it is triggered manually by the user rather than polling for changes. That should solve the CPU and performance issues while still allowing the user to find untagged tags when they need to
Hello I hope it's appropriate to post this here - the "remove tag from notes if they have another tag" feature has never worked for me. I'm currently on the latest Joplin & Untagged on multiple MacOS computers + Android (synced) in case that matters. The "Untagged" tag is added appropriately to notes but is not removed when I add other tags to currently "Untagged" notes. Is there something else I have to do?
Untagged has been updated to 2.5.0. The code has been simplified and the existing event based updating system has been replaced with a periodic updating system. So instead of updating whenever a note changes, untagged will update every number of seconds that you specify in settings. If you want to update right away, there is also a menu option under tools. This should improve performance.
@laurent The performance issues should be resolved. Can it be restored to the repo now?