You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UI displays quotation marks as "smart quotes" aka "curly quotes". This itself is good and not a problem.
When the user tries to leave a group whose name includes quotation marks, the user cannot easily leave because the groupName will use curly quotes but the user's input will not yet be converted to curly quotes.
The user can get around this by copy-pasting the quote from the UI, but that's poor UX
NOTE: This is not an issue with non-standard characters as a whole because a user can leave an emoji-named group with no trouble
Solution
For the "Leave Group" modal, revert any curly quotes to neutral aka typewriter aka ASCII quotes.
If there is any other similar auto-processing of the characters in groupName, revert it for the "Leave Group" modal.
The text was updated successfully, but these errors were encountered:
I'd say that technically the ' shouldn't be converted to ’ in that case, since U+0027 ' APOSTROPHE is the right Unicode character for an apostrophe and U+2019 ’ RIGHT SINGLE QUOTATION MARK is a quotation mark, but in practice they're used interchangeably.
However, if the code isn't already doing this, string comparison should (also) use String.prototype.normalize() to compare, because equivalent Unicode sequences can have different representations. For example, 'Amélie' !== 'Amélie'
Problem
The UI displays quotation marks as "smart quotes" aka "curly quotes". This itself is good and not a problem.
When the user tries to leave a group whose name includes quotation marks, the user cannot easily leave because the
groupName
will use curly quotes but the user's input will not yet be converted to curly quotes.The user can get around this by copy-pasting the quote from the UI, but that's poor UX
NOTE: This is not an issue with non-standard characters as a whole because a user can leave an emoji-named group with no trouble
Solution
For the "Leave Group" modal, revert any curly quotes to neutral aka typewriter aka ASCII quotes.
If there is any other similar auto-processing of the characters in
groupName
, revert it for the "Leave Group" modal.The text was updated successfully, but these errors were encountered: