element-portable/src/components/views
Robin c61eca8c24
Don't consider textual characters to be emoji (#12582)
* Don't consider textual characters to be emoji

We were using emojibase-regex to match emoji within messages. However, the docs (https://emojibase.dev/docs/regex/) state that this regex matches both emoji and text presentation characters. This is not what we want, and will result in false positives for characters like '↔' that could turn into an emoji if paired with a variation selector. Unfortunately, none of the other regexes provided by Emojibase do what we want either (https://github.com/milesj/emojibase/issues/174). In the meantime, browser support for the RGI_Emoji character sequence class has made it feasible to write an emoji regex by hand, so that's what I've done.

* Add a fallback for BIGEMOJI_REGEX as well
2024-07-04 17:48:07 +00:00
..
audio_messages Replace deprecated temporal proposal polyfill (#12636) 2024-07-03 17:02:10 +00:00
auth Remove unused state fields in qr oidc (#12588) 2024-06-19 08:50:53 +00:00
avatars Fix display of no avatar in avatar setting controls (#12558) 2024-06-06 17:35:44 +00:00
beacon Improve code-splitting of highlight.js and maplibre-gs libs (#12349) 2024-03-20 13:39:20 +00:00
beta Tooltip: migrate remaining tooltips from AccessibleTooltipButton to AccessibleButton (#12522) 2024-05-17 14:11:07 +00:00
context_menus Update dependency typescript to v5.5.2 (#12688) 2024-06-25 16:59:07 +01:00
dialogs Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
directory Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
elements Update dependency typescript to v5.5.2 (#12688) 2024-06-25 16:59:07 +01:00
emojipicker Improve types for sendEvent (#12335) 2024-03-25 12:48:48 +00:00
location Improve types for sendEvent (#12335) 2024-03-25 12:48:48 +00:00
messages Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
pips Use RovingAccessibleButton instead of RovingAccessibleTooltipButton (#12539) 2024-05-17 10:29:30 +00:00
polls Use new compound tooltip 2024-04-12 14:56:23 +02:00
right_panel Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
room_settings Change avatarsetting componment to use a menu (#12585) 2024-06-07 13:25:21 +00:00
rooms Don't consider textual characters to be emoji (#12582) 2024-07-04 17:48:07 +00:00
settings Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
spaces New theme ui in user settings (#12576) 2024-06-26 15:47:01 +00:00
terms Migrate more strings to translation keys (#11665) 2023-09-25 18:12:41 +01:00
toasts Tweak copy for user verification toast (#12605) 2024-06-13 16:04:33 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Add missing a11y label to dismiss onboarding button in room list (#12587) 2024-06-10 10:05:56 +00:00
verification Clean up some references to internal js-sdk classes (#12363) 2024-03-22 12:28:13 +00:00
voip Update dependency typescript to v5.5.2 (#12688) 2024-06-25 16:59:07 +01:00