-
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
Chat - Space is added after selecting an emoji from dropdown #20705
Comments
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?there is a space purposely being added here:
What changes do you think we should make in order to solve the problem?We should remove the empty space from the code above. After removing the empty space the code will be this.updateComment(`${commentBeforeColon}${emojiCode}${this.trimLeadingSpace(commentAfterColonWithEmojiNameRemoved)}`, true); Result: Screen.Recording.2023-06-13.at.11.40.43.PM.movWhat alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - Space is added after selecting an emoji from dropdown What is the root cause of that problem?
See here when inserting emoji from suggestion, we always add a space What changes do you think we should make in order to solve the problem?We should update logic like that
to remain the entire text (include space) after the emoji We also should update the selection App/src/pages/home/report/ReportActionCompose.js Lines 623 to 624 in 23978e4
we should remove CONST.SPACE_LENGTH because we don't add space more What alternative solutions did you explore? (Optional)ResultScreen.Recording.2023-06-14.at.14.06.12.mov |
Still on my testing list |
Closing - the space is intentional. Here is the convo: https://expensify.slack.com/archives/C049HHMV9SM/p1682386879390169 |
@alexpensify The space might be intentional but it should be consistent around the app because this is currently the only method that inserts space trying to add emoji. |
Thanks for the feedback @getusha. I'm OOO tomorrow but will start another discussion with the team on Tuesday. |
@alexpensify any updates? 🙂 |
Thanks for the reminder, I bumped the internal conversation to confirm. |
@alexpensify it's being handled here: #21584 now |
I've reported the same issue in past, I think we need to update the reporter in the issue here. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #15951
Action Performed:
Expected Result:
There is no space added after selecting the emoji
Actual Result:
Space is added after selecting the emoji
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.27.4
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6091640_Recording__52.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: