-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2024-06-20] [HOLD for payment 2024-06-18] [$500] Chat - Emoji gets inserted in front of entered text #43312
Comments
Triggered auto assignment to @blimpich ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@blimpich 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 that this bug might be related to #vip-vsp |
This bug seems to come from #43255 |
It seems like we're not triggering onSelectionChange to update the selection |
This comment was marked as off-topic.
This comment was marked as off-topic.
Job added to Upwork: https://www.upwork.com/jobs/~01888989e2a7176967 |
Upwork job price has been updated to $500 |
ProposalPlease re-state the problem that we are trying to solve in this issue.When a user opens the in-app emoji picker and selects an emoji, the emoji is inserted in front of the entered text instead of after it. This issue is reproducible in the staging environment but not in production. What is the root cause of that problem?The root cause appears to be related to the handling of the cursor position and text buffer management in the code responsible for emoji insertion. There may be differences between the staging and production code that affect this functionality. What changes do you think we should make in order to solve the problem?
|
Alright, it seems coming from my PR here: Expensify/react-native-live-markdown#370, so I would like to take on this issue and fix this ProposalPlease re-state the problem that we are trying to solve in this issue.The emoji is inserted in front of the entered text. This is a regression created by Expensify/react-native-live-markdown#370. What is the root cause of that problem?The history is a bit complex. Here's the concise version:
The solution's main idea is to use the
The root cause and suggested solution has been identified here: #41137 (comment). In summary, the
What changes do you think we should make in order to solve the problem?It seems to me that
I can open PR immediately for (1), which will unblock the blockers, and for (2) will be handled exclusively in this issue: #41137 What alternative solutions did you explore? (Optional)N/A |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Reverted the offending PR, proper fix will be handled in the original issue, we just need to get the deploy out Expensify/react-native-live-markdown#377 |
fixed in the -17 version |
I think we can close this one out, consolidating the payment here #43332 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.81-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-18. 🎊 For reference, here are some details about the assignees on this issue:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-20. 🎊 For reference, here are some details about the assignees on this issue:
|
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?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #42523
Action Performed:
and log in
Expected Result:
The emoji is inserted after the entered text
Actual Result:
The emoji is inserted in front of the entered text
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6505452_1717784333732.video_2024-06-07_14-18-39.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sobitneupaneThe text was updated successfully, but these errors were encountered: