Closed kbecciv closed 9 months ago
Job added to Upwork: https://www.upwork.com/jobs/~01e5ce38ee6504ce3e
Triggered auto assignment to @strepanier03 (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are β
)Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan (External
)
The text is doubled when pressing a key while the composer is not focused.
We have a key-down listener that will:
The reason it added a duplicate character is, that the native input first receives the pressed key (because we focus on it, proof video below) and we manually add the pressed key to the composer.
https://github.com/Expensify/App/assets/50919443/04292de8-fcbe-4341-94c5-3f7b74d670ae
Remove replaceSelectionWithText
after focusing on the composer.
An alternate solution is to call preventDefault
so the input won't receive any key and we will still manually add it with replaceSelectionWithText
.
@strepanier03, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!
@strepanier03, @situchan Huh... This is 4 days overdue. Who can take care of this?
I've been OoO, taking a look now.
Weird, but reproducible.
Chrome/Web
https://github.com/Expensify/App/assets/10925636/b0812f12-6f13-413e-8bc6-47722cce4f1f
Checking internally, here, to see if it's a good fit for Wave 5.
This issue is already fixed in this PR. Sadly the review is blocked for quite some time now.
π£ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? πΈ
Seems like https://github.com/Expensify/App/pull/30955 has been stale for long time. I am not sure we should hold this for that. This issue is never related to emoji.
The current behavior is weird and I think we should fix this as urgency
https://github.com/Expensify/App/assets/108292595/607578ee-e049-4a83-b637-2dfc22e84b40
@bernhardoj please do regression test on these issues:
Raised again to try to tie to another project for priority purposes. Will update as soon as possible.
@situchan I tested all 3 issues reproduction steps and the solution here won't cause that issue again.
Remove
replaceSelectionWithText
after focusing on the composer.
@bernhardoj can you find the exact PR which added that line?
It was added since the first time of the feature https://github.com/Expensify/App/pull/21583.
Probably we need it before because the focus
is delayed inside InteractionManager.
I think it has the same root cause as https://github.com/Expensify/App/issues/31210 https://github.com/Expensify/App/pull/24482/files#r1429943408.
@bernhardoj's proposal (main solution) looks good to me π π π C+ reviewed
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
π£ @situchan π An offer has been automatically sent to your Upwork account for the Reviewer role π Thanks for contributing to the Expensify app!
π£ @bernhardoj π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
PR is ready
cc: @situchan
What's the update on this? Who is doing what, and when will it be done? It looks like we have a 2-week old undeployed fix?
Currently waiting for review. cc: @situchan
Provided feedback. Was testing and finding any possible regressions
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.4.30-1 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-01-31. :confetti_ball:
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:
Pay date is tomorrow so I'll handle this then.
@situchan - Feel free to @ mention me when you post the checklist.
Be back to this tomorrow.
We can skip regression test as this was discovered by QA team
Awesome, thank you @situchan! Handling payment now for everyone.
Both @bernhardoj and @situchan have been paid. Closing this out as complete. Thanks everyone!
If you havenβt already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v1.4.18-2 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: Applause - Internal team Slack conversation:
Action Performed:
Expected Result:
When a single key is pressed only a single character should be displayed inside the compose box
Actual Result:
When pressing only a single key duplicate characters are displayed inside the compose box
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/272a4186-f69a-41a3-91df-fb33b936b2a9
View all open jobs on GitHub
Upwork Automation - Do Not Edit