Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Upgrade emojibase-bindings and remove local handling of emoticon variations #127

Merged
merged 7 commits into from
Oct 10, 2024

Conversation

langleyd
Copy link
Member

@langleyd langleyd commented Oct 7, 2024

Fixes element-hq/element-web#27989
Depends on matrix-org/emojibase-bindings#21

The emojibase repo now has a function for handling emoticon variations. This means we don't have to handle it locally, it work for RTE and the CIDER editor and also adds some additional variations.

Screen.Recording.2024-10-07.at.16.25.10.mov

@langleyd langleyd changed the title Updgrade emojibase-bindings and remove local handling of emoticon variations Upgrade emojibase-bindings and remove local handling of emoticon variations Oct 7, 2024
@langleyd langleyd marked this pull request as ready for review October 7, 2024 15:59
@langleyd langleyd requested review from a team as code owners October 7, 2024 15:59
@langleyd langleyd marked this pull request as draft October 7, 2024 16:26
@@ -427,7 +427,7 @@ describe("WysiwygComposer", () => {
});
it("typing a space to trigger an emoji replacement", async () => {
fireEvent.input(screen.getByRole("textbox"), {
data: ":P",
data: ":-P",
Copy link
Member

Choose a reason for hiding this comment

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

This implies that :P no longer works?

Copy link
Member Author

Choose a reason for hiding this comment

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

I was testing this locally, I didn't mean to push up this change. Will add as a second case. Thanks for pointing it out.

@langleyd langleyd added this pull request to the merge queue Oct 10, 2024
Merged via the queue into develop with commit c71dc6b Oct 10, 2024
27 checks passed
@langleyd langleyd deleted the langleyd/emoitcon_variations branch October 10, 2024 15:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RTE - the hyphen is not supported in Shortcuts for emojis
2 participants