See the discussion here
You title says
[BUG] Users can add presets with the same name but different capitalization
but the issue isn’t really that users are able to add presets that have the same name with different capitalization. The issue is that the optimize button won’t work properly in this case.
Searching is broken when you have two presets with the same name but different capitalization. So you’d have to fix that too, or… you know, just don’t allow it.
Also, you can’t add decks with the same name but different capitalization.
Good point.
I didn’t know that. But to me, this is unexpected behavior and should be considered a bug.