Skip to content

[Due for payment 2026-04-30] Undelete button is disabled on expense row, but expense can be undeleted by bulk select #88036

Closed

Description

@mitarachim

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: 9.3.60-0
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #86938
Email or phone of affected tester (no customers): soidnjsoidjoisjdiosj@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Mac 26.2 / Chrome
App Component: Search

Action Performed:

Precondition:

  • Have a deleted expense.
  1. Go to staging.new.expensify.com
  2. Go to Reports > Expenses.
  3. Click filters > Status > select Deleted > Save > View results.
  4. Click Display > Edit columns, select "Action", and click Save.
  5. Go offline.
  6. Click Undelete button on the expense row.
    → Undelete button is disabled on the expense row.
  7. Select the expense via checkbox.
  8. Click dropdown button > Undelete.
    → Expense can be undeleted via bulk selecting.

Expected Result:

In Step 6 and 8, Undelete button should behave the same on expense row and bulk selecting in offline mode.

Actual Result:

In Step 6. Undelete button is disabled on the expense row.
In Step 8, expense can be undeleted via bulk selecting.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Bug7131053_1776311813654.4.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @rojiphil

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    DeployBlocker
    on Apr 16, 2026
  2. melvin-bot commented on Apr 16, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #86938

  3. melvin-bot commented on Apr 16, 2026

    @melvin-bot

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

  4. github-actions commented on Apr 16, 2026

    @github-actions
    Contributor

    👋 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.
  5. OSBotify commented on Apr 16, 2026

    @OSBotify
    Contributor

    Investigation Summary: Frontend bug. Causing PR is 86938 (Deleted transactions on search V2) by @jnowakow. High confidence. Recommendation: REVERT. The causing PR introduced inconsistent offline behavior for the per-row Undelete button vs the bulk Undelete action. Root Cause: In ActionCell/index.tsx at line 92, all non-VIEW/PAY actions including UNDELETE are rendered with isDisabled={isOffline || shouldDisablePointerEvents}. The undelete operation via changeTransactionsReport uses Onyx optimistic updates and works offline, but the button is blocked by this offline check. By contrast, the bulk action path in useSearchBulkActions.ts has no offline guard for UNDELETE - it calls undeleteTransactions() directly. Files modified by PR 86938 that are relevant: ActionCell/index.tsx, useUndeleteTransactions.ts (new), useSearchBulkActions.ts, SearchList/index.tsx. Assigned: @jnowakow (author), @rojiphil (approving reviewer), @luacmartins (approving reviewer). Label update: Keeping DeployBlockerCash, removing DeployBlocker.

  6. removed
    DeployBlocker
    on Apr 16, 2026
  7. 6 remaining items

  8. melvin-bot commented on Apr 16, 2026

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    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.

  9. added
    Daily
    and removed
    Hourly
    DeployBlockerCash
    on Apr 16, 2026
  10. removed
    Reviewing
    on Apr 23, 2026
  11. changed the title [-]Undelete button is disabled on expense row, but expense can be undeleted by bulk select[/-] [+][Due for payment 2026-04-30] Undelete button is disabled on expense row, but expense can be undeleted by bulk select[/+] on Apr 23, 2026
  12. melvin-bot commented on Apr 23, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  13. melvin-bot commented on Apr 23, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.61-4 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 2026-04-30. 🎊

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

    • @rojiphil requires payment through NewDot Manual Requests
    • @jnowakow does not require payment (Contractor)
  14. melvin-bot commented on Apr 23, 2026

    @melvin-bot

    @rojiphil 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]

  15. melvin-bot commented on Apr 24, 2026

    @melvin-bot

    @rojiphil Still overdue 6 days?! Let's take care of this!

  16. luacmartins commented on Apr 27, 2026

    @luacmartins
    Contributor

    This was a followup to the main delete PR. No payment due. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyEngineering

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions