Skip to content

Add a Modernizr check for v mode regexes - #27674

Merged
robintown merged 1 commit into
element-hq:developfrom
robintown:emoji-false-positives
Jul 4, 2024
Merged

robintown merged 1 commit into
element-hq:developfrom
robintown:emoji-false-positives

Conversation

@robintown

Copy link
Copy Markdown
Member

I plan to use v mode regexes to test for emoji sequences, and @t3chguy has advised me that we need to ensure that the "incompatible browser" screen shows if they are not supported.

I plan to use v mode regexes to test for emoji sequences, and Michael has advised me that we need to ensure that the "incompatible browser" screen shows if they are not supported.
@robintown robintown added the T-Task Tasks for the team like planning label Jul 4, 2024
@robintown
robintown requested a review from a team as a code owner July 4, 2024 16:55
@robintown
robintown requested review from dbkr and t3chguy July 4, 2024 16:55

@t3chguy t3chguy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane

@robintown
robintown added this pull request to the merge queue Jul 4, 2024
Merged via the queue into element-hq:develop with commit 4ffc77d Jul 4, 2024
@robintown
robintown deleted the emoji-false-positives branch July 4, 2024 17:43
dbkr added a commit that referenced this pull request Jul 23, 2024
This fixes Element on older versions of Firefox by adding a Polyfill
for Intl.Segmenter. The Polyfill is conditionally imported so it only
inflates the initial bundle size by about 100 bytes. On browsers that
need it, the polyfill is quite large at 317Kb.

Users on these browser will still see the 'unsupported browser' screen,
but will be able to click through to use the app anyway. This keeps the
Intl.Segmenter modernizr check but this would also happen due to
#27674
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Task Tasks for the team like planning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants