-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Awaiting checklist completion] [$500] No space after emoji or cursor displayed before emoji on android chrome and ios native #29405
Comments
Triggered auto assignment to @twisterdotcom ( |
Job added to Upwork: https://www.upwork.com/jobs/~0164d5ee2c19ee0a5a |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
I investigated this issue and I couldn't reproduce it on Android (the space appeared after the emoji on mobile website on Chrome). |
📣 @roksanaz! 📣
|
It does work on the iOS app and on web, just not the Android app. And for Slack, they do render it after you remove the space: 29405.mp4 |
@twisterdotcom About iOS: in Expensify the emoji appears immediately after you remove the space (meaning your cursor is after the first colon symbol), while on Slack you need to manually set the cursor after the second colon symbol. That is why the cursor is in the correct position on Slack and on Expensify it's not. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I am Roksana from Callstack - expert contributor group. I’d like to work on this job. |
@twisterdotcom, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@aimane-chnaif - could we please just assign @roksanaz here? |
yes, but still @roksanaz needs to submit proposal before PR |
ProposalPlease re-state the problem that we are trying to solve in this issue.In the native iOS application if the user types the emoji manually, but they unintentionally put a space after the first colon mark (e.g. “: joy:”) and then remove the space, the emoji is converted successfully, but the cursor goes before the emoji instead of after the emoji. What is the root cause of that problem?There is a method for setting the cursor position programatically: App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions.js Lines 230 to 235 in e968637
But What changes do you think we should make in order to solve the problem?
App/src/components/Composer/index.ios.js Lines 112 to 113 in eee46dc
|
@twisterdotcom @aimane-chnaif this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Ah, missed your comment! Sorry @artus9033. You're assigned now. Thanks! |
@artus9033 how's it going? |
Still working on fix update due to the unfavorable behaviour of RN's TextInput on iOS, which fires a series of |
ProposalPlease re-state the problem that we are trying to solve in this issue.In the native iOS application if the user types the emoji manually, but they unintentionally put a space after the first colon mark (e.g. “: joy:”) and then remove the space, the emoji is converted successfully, but the cursor goes before the emoji instead of after the emoji. This is an updated approach with regards to #30835 (comment) What is the root cause of that problem?There is a way to set the cursor position programatically through a prop passed to The previous proposal involved a momentary behaviour of the cursor jumping to What changes do you think we should make in order to solve the problem?A solution would be to set a flag to sync cursor position inside |
@youssef-lr since original proposal didn't work on this case, @artus9033 updated proposal with completely different solution. |
@twisterdotcom, @youssef-lr, @artus9033, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@twisterdotcom, @youssef-lr, @artus9033, @aimane-chnaif Still overdue 6 days?! Let's take care of this! |
@twisterdotcom, @youssef-lr, @artus9033, @aimane-chnaif 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@twisterdotcom, @youssef-lr, @artus9033, @aimane-chnaif 10 days overdue. I'm getting more depressed than Marvin. |
@kavimuru Based on the comment here this issue was not resolve on ios native @roksanaz @aimane-chnaif Could you provide more details on this one/ verify this is still not fixed in staging? |
I am not able to reproduce. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.19-2 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-01-05. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Wow, this is an old one! Okay. Payment Summary:
Awaiting checklist completion by @aimane-chnaif. |
Not able to find offending PR. As the root cause was in upstream, I think this bug always existed from the beginning. Regression Test Proposal
|
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.3.81-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696939352410509
Action Performed:
Expected Result:
App should add space after emoji on converting emoji text to emoji
Actual Result:
App does not display space after emoji on android chrome and displays cursor before emoji on IOS native on converting emoji text to emoji when typed in specific way
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
az_recorder_20231011_202142.1.mp4
android.chrome.space.after.emoji.issue.mp4
iOS: Native
ios.native.space.after.emoji.issue.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @aimane-chnaifThe text was updated successfully, but these errors were encountered: