Skip to content

Reports - Approve Button Greyed Out in Reports After Workspace Change Offline #68804

Closed

Description

@lanitochka17

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.1.97-1
Reproducible in staging?: Y
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: #68439
Email or phone of affected tester (no customers): applausetester+dp288@applause.expensifail.com
Issue reported by: Applause - Internal Team

Action Performed:

  1. Ensure user has at least two workspaces created, both with delayed submissions and approvals enabled
  2. Submit a manual expense to workspace 1
  3. Delete workspace 1
  4. Open Reports tab and open the just-created expense
  5. Go offline
  6. Press More and Change Workspace to workspace 2
  7. Observe Approve button is not greyed in the report itself
  8. Go back and open Reports tab

Expected Result:

Approve button in the Reports list should match the state of the Approve button inside the report

Actual Result:

Approve button in the Reports list is greyed out and not responsive, while the Approve button inside the report is active and works

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6921460_1755639616638.2_32_PM_2025-08-19.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    on Aug 19, 2025
  2. melvin-bot commented on Aug 19, 2025

    @melvin-bot

    Triggered auto assignment to @isabelastisser (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.

  3. github-actions commented on Aug 19, 2025

    @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.
  4. added
    Daily
    and removed
    Hourly
    on Aug 19, 2025
  5. melvin-bot commented on Aug 19, 2025

    @melvin-bot

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

  6. melvin-bot commented on Aug 19, 2025

    @melvin-bot

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

  7. lakchote commented on Aug 20, 2025

    @lakchote
    Contributor

    It seems tied to #68482

    cc @FitseTLT @mollfpr @jjcoffee

    It's not a blocker though as it's an UI bug for a specific edge case (changing workspace while offline)

  8. 1 remaining item

  9. FitseTLT commented on Aug 20, 2025

    @FitseTLT
    Contributor

    @lakchote This is not a bug approve action cannot be performed online.

  10. jjcoffee commented on Aug 20, 2025

    @jjcoffee
    Contributor

    I'm pretty sure I saw the same behaviour on staging whilst testing, because I also noticed this.

  11. lakchote commented on Aug 21, 2025

    @lakchote
    Contributor

    @lakchote This is not a bug approve action cannot be performed online.

    I think you meant offline 😄 , then why this approval is possible while offline?

    Image

    cc @trjExpensify

  12. FitseTLT commented on Aug 21, 2025

    @FitseTLT
    Contributor

    @lakchote This is not a bug approve action cannot be performed online.

    I think you meant offline 😄 , then why this approval is possible while offline?

    Image cc [@trjExpensify](https://github.com/trjExpensify)

    Only search actions are specifically made not to work offline. Here is the code

  13. isabelastisser commented on Aug 21, 2025

    @isabelastisser
    Contributor

    OOO Aug 22–Sept 1. Back Sept 2. Please reassign if further review is needed.

  14. jjcoffee commented on Aug 22, 2025

    @jjcoffee
    Contributor

    This should be external, a revert confirms it's not coming from #68482. When offline any expense with an approval button will show it as greyed out on the search listings but not greyed out on the expense details.

    revert-2025-08-22_10.43.17.mp4
  15. FitseTLT commented on Aug 22, 2025

    @FitseTLT
    Contributor

    This should be external, a revert confirms it's not coming from #68482. When offline any expense with an approval button will show it as greyed out on the search listings but not greyed out on the expense details.

    revert-2025-08-22_10.43.17.mp4

    I don't agree. @luacmartins Isn't it expected to disable search actions like approve offline?

  16. jjcoffee commented on Aug 22, 2025

    @jjcoffee
    Contributor

    @FitseTLT What don't you agree with? I'm not commenting on whether or not the behaviour is expected, only that this behaviour didn't come from your PR (#68482) as confirmed by the behaviour still being present after a revert, so it's not a regression and can be external 😄

  17. FitseTLT commented on Aug 22, 2025

    @FitseTLT
    Contributor

    I am sure it shouldn't be external. 😄 I am disagreeing only with that.

  18. luacmartins commented on Aug 22, 2025

    @luacmartins
    Contributor

    This is expected behavior. We don't support offline actions on the Search page, so the button is greyed out on the list. It's still possible to edit the report when viewing it in the RHP or main page though

  19. lakchote commented on Aug 25, 2025

    @lakchote
    Contributor

    Thanks for clarifying @luacmartins. We're good to close as this isn't a bug then.

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

Metadata

Metadata

Labels

BugDailyEngineeringOverdue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions