App
App copied to clipboard
[HOLD #14676] Chat - Strikethrough markdown is applied to emojis on compose box
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.80-14 Reproducible in staging?: y Reproducible in production?: y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4606688 Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause internal team Slack conversation:
Action Performed:
Pre-requisite: user must be logged in.
- Go to any chat.
- Tap on the compose box.
- Enter " ~test (emoji) test~ ".
- Verify the markdown is applied to the emoji on the compose box.
- Send the message.
- Verify the markdown is not applied to the emoji on the chat.
Expected Result:
The strikethrough markdown should not be applied to emojis on the compose box.
Actual Result:
The strikethrough markdown is applied to emojis on the compose box.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
- [ ] Android: Native
- [ ] Android: mWeb Chrome
- [x] iOS: Native
- [ ] iOS: mWeb Safari
- [x] MacOS: Chrome / Safari
- [ ] MacOS: Desktop
Screenshots/Videos
https://github.com/Expensify/App/assets/43996225/07f4cb32-b1c3-436d-a68b-7f65f3bdd582
Triggered auto assignment to @mallenexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@mallenexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
We think this bug might be related to 3vip-vsb
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989
Holding on the below
- https://github.com/Expensify/App/issues/14676
https://github.com/Expensify/App/issues/14676 Still open
holding
Bumped to monthly cuz the issue we're held on isn't a priority https://github.com/Expensify/App/issues/14676
Still holding
- https://github.com/Expensify/App/issues/14676
Checking back ~monthly on the help issue
@mallenexpensify QA team found a similar issue, but the emoji is strikethrough after it had been sent too. Do we need to raise a new issue or is it the same as above?
https://github.com/user-attachments/assets/6518fe22-bf57-4cc9-a069-66b0120e21dc
No need for a separate issue @IuliiaHerets , best to keep in this one (for if/when we prioritize). Thx
Off the next week, in case this goes overdue
Below is the PR from the issue we're held on, it's under review
- https://github.com/Expensify/react-native-live-markdown/pull/534
Closing, for now, from this PR
We decided to close this PR and rewrite the solution to TypeScript at https://github.com/Expensify/react-native-live-markdown/pull/591. After the discussion, we agreed that after enabling custom parsers in the live markdown library, it would be better not to interfere with their results. Because of that, we moved the range splitting algorithm to the parseExpensiMark so all platforms get the split ranges. It also gives a choice in custom parser implementation if someone wants to remove styles from emojis