-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] [HOLD for payment 2023-09-21] [HOLD for payment 2023-09-20] mWeb-LHN- Site crashes while interacting with Pinned and mark as unread menu options #27238
Comments
Triggered auto assignment to @johncschuster ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @cristipaval ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The application crashes when attempting to open the context menu using an LHN row. What is the root cause of that problem?This is a regression of #26741. App/src/components/LHNOptionsList/OptionRowLHN.js Lines 118 to 132 in 52c54f4
App/src/pages/home/report/ContextMenu/ReportActionContextMenu.js Lines 52 to 67 in 017c714
What changes do you think we should make in order to solve the problem?We need to ensure that the default parameter is correctly passed to the showContextMenu function. Here's the adjusted code: ReportActionContextMenu.showContextMenu(
ContextMenuActions.CONTEXT_MENU_TYPES.REPORT,
event,
"",
popoverAnchor,
props.reportID,
"",
"",
"",
() => {},
() => setIsContextMenuActive(false),
false,
false,
optionItem.isPinned,
optionItem.isUnread
); What alternative solutions did you explore? (Optional)N/A |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
The author of the PR that caused the regression, @dukenv0307 will be raising a PR to fix this. |
Yes, please assign me to this issue. |
@dukenv0307 You can just go ahead and raise the PR, linking this issue. There's no need to wait as it's a deploy blocker; we just want to push the fix as fast as possible! |
@jjcoffee The PR is ready to review. |
Fix tested on staging, removing the DeployBlocker label. |
@johncschuster looks like this is ready for payment. |
@francoisl, @johncschuster, @jjcoffee Eep! 4 days overdue now. Issues have feelings too... |
@johncschuster any update on payments? |
Sorry I missed your bump! Working on payment now. |
Job added to Upwork: https://www.upwork.com/jobs/~0108bdcafaa9f38eb5 |
Current assignee @jjcoffee is eligible for the External assigner, not assigning anyone new. |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@dukenv0307 and @jjcoffee, can you accept those offers? I'll get payment going right away! |
@johncschuster This was a regression from #26741 so no payment due here! |
@francoisl, @johncschuster, @jjcoffee, @dukenv0307 Eep! 4 days overdue now. Issues have feelings too... |
Thank you for calling that out, @jjcoffee! |
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:
The user must be able to to "mark as unread" or "Pin" the report in the LHN.
Long press any report and attempt to close it by tapping outside the menu, must not crash the site and menu alone must be closed.
When user long press the already pinned report, it must show unpin option in the menu.
When user long press the bold unread report, it must show" Mark as read" option in the menu.
Actual Result:
Marking conversation in LHN as Pinned and mark us read crashes the site
When user, Long press any report and attempt to close it by tapping outside the menu, the web page crashes.
When user long press the already pinned report, it again shows pin option in the menu.
When user long press the bold unread report, it again shows " Mark as unread" option in the menu.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.68-9
Reproducible in staging?: Y
Reproducible in production?: N
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
Bug6197390_crash.mp4
Bug6197390_lhn.mp4
utest-dl.s3.amazonaws.com_12102_26469_428866_6197390_bugAttachment_Bug6197390_crash.txt_X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230912T114336Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AKIAJ2UIWMJ2OMC3UCQQ%.txt
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: