-
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
[HOLD for payment 2023-09-27] [$500] IOS - Mention list open again after requesting money #26534
Comments
Triggered auto assignment to @tjferriss ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The Mentions list opens again after requesting money even if the composer is not focused. What is the root cause of that problem?The
Additionally, The What changes do you think we should make in order to solve the problem?Solution 1 const onSelectionChange = useCallback(
(e) => {
+ if (!textInputRef.current.isFocused()) {
+ return;
+ }
if (suggestionsRef.current.onSelectionChange(e)) {
return;
}
setSelection(e.nativeEvent.selection);
},
[suggestionsRef],
); Solution 2
Also update the areas where What alternative solutions did you explore? (Optional)None. 26534-demo.mp4 |
@tjferriss Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~014c468cc852a95d2d |
Current assignee @tjferriss is eligible for the External assigner, not assigning anyone new. |
I was able to reproduce the bug on staging. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
@jeet-dhandha Could you sum up the differences between your proposal and the earlier one? I know it was edited, but I'm referring to the state 1 minute before your comment was submitted. It's quite possible that you weren't familiar with that edit when you started investigating. |
I started investing and saw that onSelectionChange is getting called even when composer was not focused so the only solution came to my mind was to disable further execution of |
@jeet-dhandha It may be odd, but the timestaps suggest it happened. It looks that the proposal by @akinwale from 2023-09-05T19:45:10Z and your proposal from 2023-09-05T19:46:46Z are essentially the same. @akinwale Did you write down the "Solution 1" after getting familiar with this comment, which would suggest a glitch in GitHub timestamps, or before? |
That's a weird coincidence. I decided to take another look at the issue to find a root cause after the Help Wanted label was applied as I was trying to cover all my bases, which led me to the onSelectionChange implementation. My edit with the onSelectionChange solution looks to be about a minute and a half earlier than the other proposal, so there's no way I could've been able to see the other comment beforehand. |
Its upto @cubuspl42 now 🙌 |
@cubuspl42, @tjferriss Huh... This is 4 days overdue. Who can take care of this? |
I say we go with @akinwale ("Solution 1"). While @jeet-dhandha proposed essentially the same solution nearly at the same time, timestamps say that the edit by @akinwale happened slightly earlier. C+ reviewed 🎀 👀 🎀 |
Triggered auto assignment to @stitesExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @cubuspl42 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @hungvu193 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@cubuspl42 My PR is ready for review. Thanks. |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.71-12 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 2023-09-27. 🎊 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:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
|
Payment Summary:
Eligible for the 50% speed bonus |
Everyone has been paid out via Upworks. Closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
If composer is not focused, mention list shouldn't be opened.
Actual Result:
Mention list is opened even when composer is not focused.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.61.0
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
Notes/Photos/Videos: Any additional supporting documentation
RPReplay_Final1693134852.MP4
RPReplay_Final1693603547.MP4
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693194595071649
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: