The problem is more complicated with tag pane. For example, if you have #someTag, #someTAG, #SOMETAG, and #sometag, which one should be shown in the tag pane?
The easiest and straightforward answer would to be always use all lowercase (thus ā#sometagā), but that hurts readability for many tags.
Or we could count all possible combinations of the same tag (case-insensitive), and try to decide which is the most common spelling, but from our last internal discussion on this, this adds too much complexity to our code that itās not really worth the benefit (we could be wrong on this).
I know we cannot expect users to always create tags using the built-in autocomplete, but Iām kinda curious why do these tags exist in the first place. If WorkFlowy enforced only one spelling, why are there duplicates? Were they typed in manually?