-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-05-14] [$250] Expense - Context menu does not open when long pressing on expense preview in self DM #60808
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
Comments
Triggered auto assignment to @stephanieelliott ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-04-30 14:18:20 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Context menu doesn't show when long press self DM track expense. What is the root cause of that problem?It's a common problem on native where a nested pressable onLongPress is not propagated properly. That's why we attach the long-press callback to the preview.
However, App/src/components/ReportActionItem/TransactionPreview/index.tsx Lines 82 to 87 in d629de0
What changes do you think we should make in order to solve the problem?Pass the App/src/pages/home/report/PureReportActionItem.tsx Lines 810 to 832 in d629de0
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?When creating the test for this, I found that it behaves differently when running on the test environment. The issue we have here is basically if we have nested pressable, then only the inner pressable will receive the press/long-press event (which was observed first in this #12987). But when I recreate this on the test environment as simple as this: render(
) |
@stephanieelliott Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~021917072697446104109 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
@bernhardoj, your proposal looks good. Btw, can you update the automation test section please? Please avoid "N/A" |
Updated that section (I copied it from my another proposal which has the same root cause) |
@bernhardoj's proposal looks good to me Link to proposal #60808 (comment) 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @lakchote, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@bernhardoj's proposal LGTM. |
Do you still get them after merging latest |
Not anymore. Preparing the PR. |
PR is ready cc: @hoangzinh |
Reapplying the Status: The PR hit staging yesterday, not much to do here til we're ready to issue payment! |
Triggered auto assignment to @miljakljajic ( |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.40-7 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 2025-05-14. 🎊 For reference, here are some details about the assignees on this issue:
|
@hoangzinh @miljakljajic @hoangzinh The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Payment Summary
BugZero Checklist (@miljakljajic)
|
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
Requested payment in ND |
Requested in ND. |
$250 approved for @hoangzinh |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.1.32-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Samsung Galaxy Z Fold 4 / Android 14
App Component: Money Requests
Action Performed:
Precondition:
Expected Result:
When long pressing on the expense preview (Step 4), context menu will open.
Actual Result:
When long pressing on the expense preview (Step 4), context menu does not open.
When long pressing outside the expense preview on the same message row (Step 5), context menu opens.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6811462_1745486878344.Screen_Recording_20250424_172037_Expensify.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @miljakljajicThe text was updated successfully, but these errors were encountered: