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

Tags are not updated upon the note update #119

Open
powerarmorpatch opened this issue Oct 11, 2023 · 0 comments
Open

Tags are not updated upon the note update #119

powerarmorpatch opened this issue Oct 11, 2023 · 0 comments

Comments

@powerarmorpatch
Copy link

Hi @jasonwilliams awesome extension ⭐ , really helpful and time-saving! I've done some testing for tags. Used your example from readme.
Here are some findings:

  • tags with spaces, like [#binary tree]() are not uploaded. Seems like Anki does not support space as delimiter, though I was not able to find confirmation about it in the Anki documentation.
  • updating the card does not upload new tags / remove old tags.

Anki for VSCode v1.3.1, Anki Linux desktop 2.1.66, AnkiConnect 2023-04-11.

Some test cases:
  1. Initial upload from example:
## Binary tree 1

In computer science, a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child.

[#algorithms](./algorityms.md) [#OOP]() [#binary tree]()

only [#algorithms](./algorityms.md) [#OOP]() were upladed as tags.

  1. Next, I've added some tags with / without source and updated the cards. There were no new tags after the update in "Binary tree 1" cards
## Binary tree 1

<!-- notecardId: 1697010406495 -->

In computer science, a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child.

[#algorithms](./algorityms.md) [#OOP]() [#binary tree]() [#UPDATE_CAPS_NO_SOURCE]() [#UPDATE_CAPS_WITH_SOURCE](./fake_source.md) [#update_small_no_source]() [#update_small_with_source](./fake_small_source.md)
  1. I've created new card and added some tags with / without source in CAPS / small letters, all in snake_case.
## Binary tree 2

In computer science, a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child.

[#algorithms](./algorityms.md) [#OOP]() [#binary tree]() [#INITIAL_CAPS_NO_SOURCE]() [#INITIAL_CAPS_WITH_SOURCE](./fake_source.md) [#initial_small_no_source]() [#initial_small_with_source](./fake_small_source.md)

All tags were appeared in Anki except [#binary tree]()

  1. I've updated card Binary tree 2 with some #update tags with / without source in CAPS / small letters, all in snake_case. No updated tags were added to Anki.
## Binary tree 2

<!-- notecardId: 1697010877938 -->

In computer science, a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child.

[#algorithms](./algorityms.md) [#OOP]() [#binary tree]()
[#INITIAL_CAPS_NO_SOURCE]() [#INITIAL_CAPS_WITH_SOURCE](./fake_source.md)
[#initial_small_no_source]()
[#initial_small_with_source](./fake_small_source.md) [#UPDATE_CAPS_NO_SOURCE]() [#UPDATE_CAPS_WITH_SOURCE](./fake_source.md)
[#update_small_no_source]()
[#update_small_with_source](./fake_small_source.md)
  1. I've uploaded new card with various new tags - CAPS / small letters, underscore / space delimiter, with / without source.
## Binary tree 3

<!-- notecardId: 1697011783544 -->

In computer science, a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child.

[#ALL CAPS WITH SPACE NO SOURCE]() [#ALL_CAPS_NO SOURCE]() [#ALL CAPS WITH SPACE WITH SOURCE](./fake_source.md) [#ALL_CAPS_WITH_SOURCE](./fake_source.md)
[small with space no source]() [small_no_source]() [small with space with source](./fake_source.md) [small_with_source](./fake_source.md)

Only ALL_CAPS_WITH_SOURCE was added as a tag.

  1. I've uploaded new card with tag with spaces as delimiter inside the tag.
## Binary tree 4

In computer science, a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child.

[small with space no source]() [small with space with source](./fake_source.md)

No tags were uploaded to Anki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant