-
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-08-28] [$1000] There is Console log error when pressing ESC key while Composer is focused #24232
Comments
Triggered auto assignment to @puneetlath ( |
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?
App/src/pages/home/sidebar/SidebarLinks.js Lines 90 to 96 in e716286
App/src/pages/home/sidebar/SidebarLinks.js Lines 99 to 107 in e716286
Video For Logs3bdd25bc-cc6b-4f40-8bfd-0a2f9a771b5a.mp4What changes do you think we should make in order to solve the problem?
this.unsubscribeOnyxModal = onyxSubscribe({
key: ONYXKEYS.MODAL,
callback: (modalArg) => {
+ if (!modalArg) {
+ return;
+ }
modal = modalArg;
},
});
What alternative solutions did you explore? (Optional)
|
Job added to Upwork: https://www.upwork.com/jobs/~01751354c92045a580 |
Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.A console log error appears every time the ESC key is pressed. What is the root cause of that problem?We're not initializing the default value of the So it's a race condition and hard to reproduce, we should press ESC very quickly after signing in. For easier reproduction, can comment out this line and this line so the race condition is more visible. What changes do you think we should make in order to solve the problem?We should initialize the
This will make sure any future places that will be using What alternative solutions did you explore? (Optional)We can modify this line
Cannot just early return since if somehow the value is cleared in the future, the Or, since only
|
Proposal [UPDATED] => (#24232 (comment))Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
App/src/pages/home/sidebar/SidebarLinks.js Lines 90 to 96 in e716286
App/src/pages/home/sidebar/SidebarLinks.js Lines 99 to 107 in e716286
Video For Logs3bdd25bc-cc6b-4f40-8bfd-0a2f9a771b5a.mp4What changes do you think we should make in order to solve the problem?
this.unsubscribeOnyxModal = onyxSubscribe({
key: ONYXKEYS.MODAL,
callback: (modalArg) => {
+ // Using return as we have been using this code typo for other callbacks like in Report.js, ReportActionsUtils.js, etc.
+ if (!modalArg) {
+ return;
+ }
modal = modalArg;
},
});
What alternative solutions did you explore? (Optional)
|
Updated descriptions and added extra comment for showing why early return instead of |
@puneetlath, @eVoloshchak Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@eVoloshchak thoughts on the proposals? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
This comment was marked as outdated.
This comment was marked as outdated.
I can consistently reproduce only CASE 1 by repeatedly pressing esc after sign in. @jeet-dhandha's proposal does resolve this issue, but only this specific issue in 🎀👀🎀 C+ reviewed! |
Current assignee @puneetlath is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @eVoloshchak Please request via NewDot manual requests for the Reviewer role ($1000) |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
The PR is ready for review #24567 |
🎯 ⚡️ Woah @eVoloshchak / @tienifr, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
@puneetlath |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.55-8 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-08-28. 🎊 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:
|
@eVoloshchak friendly reminder on the checklist so that I can pay on monday. Thanks! |
@eVoloshchak bump on the checklist! |
|
@tranvantoan-qn can you please apply to the Upwork job? https://www.upwork.com/jobs/~01751354c92045a580 |
Payment summary:
@eVoloshchak can you create a manual request in NewDot and then ping me here when you have? |
@puneetlath, created the payment request |
@puneetlath |
@puneetlath do you mind adding the amount in the summary above. I see the automated confirmation and I reviewed the PR, though let's make sure we have those for the history. |
Reviewed the details for @eVoloshchak. $1,500 approved for payment via NewDot. |
My apologies! Added. Thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
PRECONDITION: Open Console log tool to capture console log
CASE 1:
CASE 2:
Expected Result:
There should be no console log error.
Actual Result:
A console log error appears every time the ESC key is pressed.
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?
Version Number: 1.3.50.3
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
Console-Log-Error-ESC.mp4
Recording.5767.mp4
Expensify/Expensify Issue URL:
Issue reported by: @tranvantoan-qn
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690914978662509
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: