Plugin: inline tags

The issue was occurring if you have more than 100 tags. There was a bug that caused the plugin to keep trying to get more and more tags even if there weren't any more.

I had only a few tags so completely missed that. Recently I have created ~5000 tags to test something else, and it became immediately obvious where the issue was.

1 Like

Great you found it @roman_r_m, now it works. However it fetched less than100 tags,with no obvious preference, I mean not consequent tags for example.May be this is due to me having lots of tags in the following format (tag/subtag/subsubtag)? The plugin didn't fetch any of those, but it also missed lots of other tags having just one word. I also noticed it fetched more arabic tags (my tags are in Arabic and English)

Thanks for raising this. Annoyingly there was another bug that caused the plugin to only show the first batch of tags (100 typically). I've just pushed the next version with a fix for this, it should propagate to the plugin repo soon.

Thanks for the fix. It's working for me now.

Maybe this is a feature and not a bug, but I noticed that after I add a tag, the text (#tag) stays in the note. Is there a way to make the text disappear? Since the tag has been added, it seems redundant to have it stay in the note, and I'm forced to manually delete the "#tag".

Bingo! Now you really nailed it @roman_r_m . Works like a charm.. thanks a million

I thought about it before, and I think it does make sense.

I wonder though if anyone would prefer to keep this #tag text?

maybe the best thing is to give the user the option to keep #tag or not?

Yes, I'd like to keep it because then I can use tags in a sentence, like normal words.

3 Likes

Just published a new version 1.1.3 that has the option to keep or remove #tag text. The default behaviour remains unchanged.

1 Like

Perfect! The responsiveness and skill of Joplin users/developers are awesome! Thank you. It's always nice to be given options so that we can make it fit our particular ways of working.

1 Like

Does anyone else see something this? The inline tag popup shows tags that I don't have in my tags list. I only have "1john" as a tag, but when I type 1, I see both "1 john" and "1john". What could be the cause, and more importantly, the solution?

Are there any errors in log? Are you using any other plugins that work with tags?
I suspect it might be related to this issue: Desktop: tags created via data API aren't visible in GUI · Issue #4501 · laurent22/joplin · GitHub

I don't know what you mean by log or how to see it. I don't have any other tag-related plugins, though I wouldn't know if there are some that work with tags somehow in the background. But just now, in a moment of inspiration, I fixed it thus: I created "1 john" as a tag so that it showed up in the list of tags. Then I deleted it. Voila! "1 john" doesn't show up anymore as an inline tag option.

Yes, that's a way to fix it. Not sure why it appeared though.

A very useful and needed feature! Thanks!

I think I've seen something like what @skim1124 mentioned when I tarted using the plugin - not sure it is still there or not, as I didn'tuse it for a while But these were tags I had in the past then deleted. So I guess they might be remaning in some kind of trash somewhere in the applicaton.

I can reproduce the hidden tag issue.

  1. Create a note and add a new tag, e.g. "1john"
  2. Delete the note
  3. I can see tag "1john" disappears from TAGS panel, however, it's still in inline tag list.

I can fix as above mentioned, by re-add the tag to a new note and delete it from TAGS panel.

Btw, if inline tag has an ability to delete tag, that will be very nice. so I can manage all tags at one interface.

1 Like

I suspect this is because the tags Joplin shows you in the side panel are those that have at least one note whereas the plugin shows all of them.

I assume you mean delete the tag when the corresponding text #tag is removed?
This has come up before but I think implementing it properly is not trivial. And it seems to me that adding tags is far more common than deleting. For these reasons I am reluctant to add this feature.

1 Like

I was using the auto tag generator plugin and it generated a bunch of tags which I removed but they are still showing with inline tags. So I think this feature should be considered considering there's a plugin which generates tags automatically

1 Like