{"action":"closed","issue":{"url":"https://api.github.com/repos/mattermost/platform/issues/4539","repository_url":"https://api.github.com/repos/mattermost/platform","labels_url":"https://api.github.com/repos/mattermost/platform/issues/4539/labels{/name}","comments_url":"https://api.github.com/repos/mattermost/platform/issues/4539/comments","events_url":"https://api.github.com/repos/mattermost/platform/issues/4539/events","html_url":"https://github.com/mattermost/platform/issues/4539","id":188831398,"number":4539,"title":"Custom emoji naming is case-insensitive while emoji picker is case-sensitive","user":{"login":"timrsmith","id":1857984,"avatar_url":"https://avatars.githubusercontent.com/u/1857984?v=3","gravatar_id":"","url":"https://api.github.com/users/timrsmith","html_url":"https://github.com/timrsmith","followers_url":"https://api.github.com/users/timrsmith/followers","following_url":"https://api.github.com/users/timrsmith/following{/other_user}","gists_url":"https://api.github.com/users/timrsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/timrsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrsmith/subscriptions","organizations_url":"https://api.github.com/users/timrsmith/orgs","repos_url":"https://api.github.com/users/timrsmith/repos","events_url":"https://api.github.com/users/timrsmith/events{/privacy}","received_events_url":"https://api.github.com/users/timrsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-11T19:23:23Z","updated_at":"2016-11-21T14:29:03Z","closed_at":"2016-11-21T14:29:03Z","body":"#### Summary\r\nEmoji picker is case-sensitive (e.g. :rainbow: works, while :Rainbow: doesn't), which is probably good/expected. However, custom emoji unique name validation is case-insensitive. \r\n\r\n#### Steps to reproduce\r\n1. Create a custom emoji, all lower (e.g. :foo:)\r\n2. Try to use it with a character upper cased (e.g. :Foo:)\r\n3. Try to create an upper-case variant of the emoji\r\n\r\n#### Expected behavior\r\nIf emoji picker is case-sensitive, then custom emoji naming should be too. We notice there are some upper/lower variants of standard emoji (e.g. :D: and :d:). We'd like to replicate this with custom emoji.\r\n\r\n#### Observed behavior\r\nWe have a custom thumbs-up emoji :y:\r\n<img width=\"209\" alt=\"screen shot 2016-11-11 at 11 01 26 am\" src=\"https://cloud.githubusercontent.com/assets/1857984/20226835/952cef74-a7fe-11e6-979e-5b858d55a7fb.png\">\r\n\r\nwhen matching case, picker works fine\r\n<img width=\"182\" alt=\"screen shot 2016-11-11 at 11 05 48 am\" src=\"https://cloud.githubusercontent.com/assets/1857984/20226918/f67d3bc6-a7fe-11e6-9d6c-6cef647b0a50.png\">\r\n\r\nWhen case isn't matched, doesn't\r\n<img width=\"63\" alt=\"screen shot 2016-11-11 at 11 06 17 am\" src=\"https://cloud.githubusercontent.com/assets/1857984/20226935/02210e62-a7ff-11e6-9ef0-34d919d01b9d.png\">\r\n\r\nBut when we try to create an upper-case variant, it isn't possible:\r\n<img width=\"657\" alt=\"screen shot 2016-11-11 at 11 01 10 am\" src=\"https://cloud.githubusercontent.com/assets/1857984/20226963/1df98d9e-a7ff-11e6-8def-2a0a246054ca.png\">\r\n\r\n#### Possible fixes\r\nMake custom emoji unique name validation case-sensitive.\r\n"}}
{"actor":{"display_login":"jasonblais"}}