Skip to content
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

Capitalization of Tag names #864

Closed
Jakethethird opened this issue Oct 7, 2018 · 6 comments
Closed

Capitalization of Tag names #864

Jakethethird opened this issue Oct 7, 2018 · 6 comments
Labels
stale An issue that hasn't been active for a while... tags tag related issue

Comments

@Jakethethird
Copy link

Jakethethird commented Oct 7, 2018

Operating system

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Application

  • Desktop
  • Mobile
  • Terminal

When I import notes from Evernote into the desktop client, the tags are imported with the original capitalisation. I can use these in Joplin e.g. SPR, Laptop, BBC. They are presented in the tag list as such, and available when I add tags to notes.

However, when I create new tags, they will not accept capitalisation e.g. type in ABC and the tag name is abc. The tag LaptopX gives laptopx etc.

In the list of tags on the left, the new tags lacking the capitalisation are presented added to the end with alphabetical ordering restarting e.g.

  • Apple
  • Xylophone
  • Zebra
  • bbc
  • candy

Is it deliberate that the new tags generated in Joplin are not capitalised and not ordered in the imported list?

A workaround might be to rename my Evernote tags e.g. BBC > bbc, Laptop > laptop.

@Jakethethird Jakethethird changed the title Capitilisation of Tag names Capitalization of Tag names Oct 8, 2018
@ksl1989
Copy link

ksl1989 commented Dec 2, 2018

I would say this is a bug, and relatively serious, because it is making Joplin duplicate tags. Say I was using the tag BBC on the notes I imported from Evernote, and as I kept using Joplin, I added the BBC also to new notes. Not I have two different tags on Joplin: BBC on the notes I imported from Evernote, and bbc on the notes I created in Joplin.

Either Joplin doesn't allow capitalization in tags, and, as such, needs to convert tags in Enex files to lowercase, or it does and needs to not convert tags to lowercase when adding them.

@ksl1989
Copy link

ksl1989 commented Dec 2, 2018

Update: I just realised this issue is more serious -- even when manually renaming the tags, they are not merged. E.g.: in my previous example, renaming BBC to bbc will create two identical bbc tags, not merge them.

@archont00
Copy link
Contributor

Indeed, it does not work to rename the tags. I also tried to Capitalise the tag directly in .md file, but no go - the change is ignored Joplin (current linux AppImage).

@archont00
Copy link
Contributor

I eventually renamed the tags (culture => Culture) in both locally cached database.sqlite (linux desktop app) and in md files stored on server (nextcloud). The tag names in the android app got updated fine after sync.

Since I do use a pretty stable list of tags, this "approach" is okay for me.

@tessus tessus added the tags tag related issue label May 18, 2019
@stale
Copy link

stale bot commented Sep 22, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Sep 22, 2019
@stale
Copy link

stale bot commented Sep 29, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Sep 29, 2019
@lock lock bot locked and limited conversation to collaborators Oct 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale An issue that hasn't been active for a while... tags tag related issue
Projects
None yet
Development

No branches or pull requests

4 participants