Skip to content
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 2024-11-20] [$250] Search - Unable to select expenses by tapping and holding #52202

Closed
3 of 8 tasks
IuliiaHerets opened this issue Nov 7, 2024 · 32 comments
Closed
3 of 8 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Nov 7, 2024

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: v9.0.59-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5193391
Issue reported by: Applause Internal Team

Action Performed:

Preconditions: User with existing expenses

  1. Log in with user from preconditions
  2. Tap on Search in the bottom
  3. Tap and hold an expense

Expected Result:

Select option should be displayed in the bottom.

Actual Result:

Nothing happens when tapping and holding an expense, user is unable to select expenses in search.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6657722_1730992573228.Record_2024-11-07-16-15-10.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021854876478688351316
  • Upwork Job ID: 1854876478688351316
  • Last Price Increase: 2024-11-23
Issue OwnerCurrent Issue Owner: @adelekennedy
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Nov 7, 2024
Copy link

melvin-bot bot commented Nov 7, 2024

Triggered auto assignment to @tylerkaraszewski (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Nov 7, 2024

Triggered auto assignment to @adelekennedy (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Nov 7, 2024

💬 A slack conversation has been started in #expensify-open-source

@melvin-bot melvin-bot bot added the Daily KSv2 label Nov 7, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Nov 7, 2024
Copy link
Contributor

github-actions bot commented Nov 7, 2024

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@Julesssss Julesssss added the External Added to denote the issue can be worked on by a contributor label Nov 8, 2024
Copy link

melvin-bot bot commented Nov 8, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021854876478688351316

@melvin-bot melvin-bot bot changed the title Search - Unable to select expenses by tapping and holding [$250] Search - Unable to select expenses by tapping and holding Nov 8, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 8, 2024
Copy link

melvin-bot bot commented Nov 8, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External)

@Julesssss
Copy link
Contributor

Hey @tylerkaraszewski, I have made this external to get more eyes on this deploy blocker.

@Krishna2323
Copy link
Contributor

Krishna2323 commented Nov 8, 2024

Edited by proposal-police: This proposal was edited at 2024-11-08 13:46:44 UTC.

Proposal


Please re-state the problem that we are trying to solve in this issue.

Search - Unable to select expenses by tapping and holding

What is the root cause of that problem?

What changes do you think we should make in order to solve the problem?


  • We can simply revert the PR. I believe the PR was trying to solve a very minor issue that we could ignore.

What alternative solutions did you explore? (Optional)

  • We can introduce a prop isScreenFocused in SelectionListWithModal and use it along with isFocused from useIsFocused();.
        if (!turnOnSelectionModeOnLongPress || !isSmallScreenWidth || item?.isDisabled || item?.isDisabledCheckbox || (!isFocused && !isScreenFocused)) {
            return;
        }
  • From Search we will pass the isScreenFocused prop.
    const activeCentralPaneRoute = useActiveCentralPaneRoute();
    const isActiveCentralPaneRoute = activeCentralPaneRoute?.name === SCREENS.SEARCH.CENTRAL_PANE;
    // Prop to "SelectionListWithModal"
    isScreenFocused={isActiveCentralPaneRoute}
  • We should also check other components which uses SelectionListWithModal.

Result

@FitseTLT
Copy link
Contributor

FitseTLT commented Nov 8, 2024

Looking into this 👀

@FitseTLT
Copy link
Contributor

FitseTLT commented Nov 8, 2024

Will prepare a fix shortly

@Krishna2323
Copy link
Contributor

I think this is already labeled external and we can go through the regular process. I have already prepared couple of solution here.

@FitseTLT
Copy link
Contributor

FitseTLT commented Nov 8, 2024

PR fixing the regression is raised.

@adelekennedy
Copy link

@tylerkaraszewski thoughts on this? Can this be worked on externally or do you see that this needs backend support? Also is this a blocker or can we deprioritize this?

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 12, 2024
@mountiny
Copy link
Contributor

Yep I think that is reasonable, thanks for help urgently addressing this PR review #52278

@mountiny mountiny reopened this Nov 12, 2024
@adelekennedy adelekennedy added the Awaiting Payment Auto-added when associated PR is deployed to production label Nov 12, 2024
@adelekennedy
Copy link

adelekennedy commented Nov 12, 2024

thank you @mountiny

PR deployed to prod yesterday - payment due on the 18th

Payouts due:

@Krishna2323
Copy link
Contributor

I think a 'regression located bounty' is reasonable here. I commented on #50851 (comment). Let me know if you disagree with this being reasonable.

@Julesssss, I respectfully disagree. I've identified the offending PR and also provided a solution, so I believe the payout should be $125, as I haven't opened a PR myself.

Please review these comments: #51885 (comment) #47054 (comment)

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Nov 13, 2024
@melvin-bot melvin-bot bot changed the title [$250] Search - Unable to select expenses by tapping and holding [HOLD for payment 2024-11-20] [$250] Search - Unable to select expenses by tapping and holding Nov 13, 2024
Copy link

melvin-bot bot commented Nov 13, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.60-3 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 2024-11-20. 🎊

For reference, here are some details about the assignees on this issue:

  • @eVoloshchak requires payment through NewDot Manual Requests
  • @c3024 requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Nov 13, 2024

@eVoloshchak / @c3024 @adelekennedy @eVoloshchak / @c3024 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]

@Julesssss
Copy link
Contributor

@Julesssss, I respectfully disagree. I've identified the offending PR and also provided a solution, so I believe the payout should be $125, as I haven't opened a PR myself.

Okay I agree. These regression fix cases are a bit blurry because solutions can be similar, but I am happy to suggest $125 here.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 19, 2024
Copy link

melvin-bot bot commented Nov 20, 2024

Payment Summary

Upwork Job

  • Reviewer: @eVoloshchak owed $250 via NewDot
  • ROLE: @c3024 paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@adelekennedy)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1854876478688351316/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@adelekennedy adelekennedy changed the title [HOLD for payment 2024-11-20] [$250] Search - Unable to select expenses by tapping and holding [HOLD for payment 2024-11-20] [$125] Search - Unable to select expenses by tapping and holding Nov 20, 2024
Copy link

melvin-bot bot commented Nov 20, 2024

Upwork job price has been updated to $125

@Krishna2323
Copy link
Contributor

@adelekennedy, I have already been paid here.

@c3024
Copy link
Contributor

c3024 commented Nov 21, 2024

@adelekennedy

I think this is the only payment due here given that other payments were handled elsewhere.

@melvin-bot melvin-bot bot added the Overdue label Nov 21, 2024
Copy link

melvin-bot bot commented Nov 22, 2024

@eVoloshchak, @Julesssss, @adelekennedy, @c3024 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@adelekennedy adelekennedy changed the title [HOLD for payment 2024-11-20] [$125] Search - Unable to select expenses by tapping and holding [HOLD for payment 2024-11-20] [$250] Search - Unable to select expenses by tapping and holding Nov 23, 2024
Copy link

melvin-bot bot commented Nov 23, 2024

Upwork job price has been updated to $250

@adelekennedy
Copy link

@c3024 will you apply to the job? https://www.upwork.com/jobs/~021854876478688351316

@melvin-bot melvin-bot bot removed the Overdue label Nov 23, 2024
@c3024
Copy link
Contributor

c3024 commented Nov 23, 2024

@adelekennedy , applied. Thanks!

@adelekennedy
Copy link

Sent!

@c3024
Copy link
Contributor

c3024 commented Nov 23, 2024

Accepted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

10 participants