thesamim / TickTickSync

GNU General Public License v3.0
159 stars 12 forks source link

Tag case recognition #178

Open thesamim opened 1 month ago

thesamim commented 1 month ago

TickTick has added (may have always had, but I'm just now finding it) an API to get the Label of tag. The Label contains the label's actual case, whereas the tag Name is all lower case.

To date TickTickSync has only dealt with names.

TickTickSync will have to:

  1. Get the tag information periodically and store it locally.
  2. On processing tags, look up the tag name in the local tag store to use the Label field when syncing to Obsidian and the Name field when syncing to TickTick

NB: TickTick use of the Name field means that you can only have one variant of a Tag. IE : #ThisNewMixedCaseTag is the same as #thisnewmixedcasetag it only uses the Name field.