Skip to content

Open report To-dos in the RHP and auto-advance between reports to keep users on Home #106510

Open

Description

@JmillsExpensify

Background

On Home, the To-dos group lists one row per required action, e.g. Approve 5 reports, each with a Begin button. Where Begin goes depends on the count. With one report, we open it in the RHP on top of Home. With two or more, we navigate away to the matching to-do search on Spend.

That jump breaks the flow Home is built for. The user leaves the page they started on and lands on a filtered table that is more complicated than where they started. Review X expenses already avoids this: at any count, it opens the first flagged expense on top of Home and lets the user page through the rest.

This issue makes Begin open the first report in the RHP for all to-dos. After each successful report action, we confirm that with a toast and move the user to the next report automatically, so they can finish every report to-do without leaving Home.

Product and design details

Home with the report RHP open from Approve 5 reports, header showing 1 of 5 and the previous/next arrows

Image

Report 2 of 5 after auto-advance, with the Report approved toast

Image

Mobile, report opened full screen from Approve 5 reports, same header

Image

Rows covered

This applies to four rows:

  • Submit X reports
  • Approve X reports
  • Pay X reports
  • Export X reports

Row copy, icon, count, and the Begin button don't change.

Review X domain admin requests is out of scope because it opens a domain's Admins page rather than a report.

What Begin opens

  • One report: no change. We open the report in the RHP on wide layouts, and full screen on narrow layouts.
  • Two or more reports: we open the first report the same way, with the report navigation we already show when a report is opened from Spend > Reports: previous and next arrows plus a 1 of 5 counter in the header. We reuse that navigation as is; no new component.

The arrows move through the row’s reports:

  • Which reports: the same number the row counts, no more.
  • Order: the same order as the matching to-do search on Spend.
  • When the count is set: when the user presses Begin. If another report needs the action after that, we don’t add it to the open list. It shows up in the row’s count once the user is back on Home.

On narrow layouts, the arrows sit in the report header, as they do today when a report is opened from Spend on mobile.

Auto-advance and confirmation toast

When the user completes the row's action on the open report, we do two things:

  1. Show a success toast confirming the action. We reuse the existing success toast, the one that shows Report shared. On wide layouts it sits in the bottom-right corner, as the company cards success toast does, so it doesn't cover the report header and its arrows. On narrow layouts it shows at the top, as usual.
  2. Open the next report in the list that still needs this action.

Toast copy, one per row:

Row Toast
Submit X reports Report submitted
Approve X reports Report approved
Pay X reports Report paid
Export X reports Report exported

Rules for what triggers it and where it goes:

  • Only the row's action triggers auto-advance. Approving from the Approve list advances; holding, rejecting, or deleting a report doesn't. For those, the user stays on the report and uses the arrows. A partial approval counts as Approve, and marking a report as paid elsewhere counts as Pay.
  • "Next" means the next report after the current one that still needs this action. Reports the user skipped with the arrows are revisited after the end of the list. For example, with five reports to approve, a user who skips report 1 and approves reports 2 to 5 lands back on report 1 (1 of 5).
  • When an action opens a step first, like adding a bank account before paying, we advance only once the action is complete. If the user cancels that step, they stay on the report.
  • We advance as soon as the action is taken, without waiting for the server, like every other action in the app. If it later fails, the report shows its existing error and stays in the row's count.
  • If another approver acts on a report in the list first, we skip it when advancing. Paging onto it with the arrows opens it in its current state.

This applies only to reports opened from a Home To-dos row. Opening a report from Spend or Inbox works as it does today.

We use the existing transition between reports for now. Design will review it once built and may add a simple fade between reports.

Returning to Home

When no report in the list still needs the action, we close the report and return the user to Home, where the toast stays on screen. This includes the one-report case: completing the action now returns the user to Home instead of leaving the report open.

This is part of an internal initiative; it'll be worked on by the Home project team.

Issue OwnerCurrent Issue Owner: @adamgrzybowski

Activity

  1. added
    Weekly
    Improvement
    Internal
    on Nov 10, 2026
  2. adamgrzybowski commented on Nov 10, 2026

    @adamgrzybowski
    Contributor

    👋 I will be working on that

  3. added
    Reviewing
    on Nov 17, 2026
  4. mitarachim commented on Dec 1, 2026

    @mitarachim

    Deploy Blocker #108579 was identified to be related to the PR #107110 that attempted to fix this issue.

  5. Chandkia24 commented on Dec 1, 2026

    @Chandkia24

    Deploy Blocker #108580 was identified to be related to the PR #107110 that attempted to fix this issue.

  6. melvin-bot commented on Dec 1, 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.

  7. mitarachim commented on Dec 2, 2026

    @mitarachim

    Deploy Blocker #108587 was identified to be related to the PR #107110 that attempted to fix this issue.

  8. Chandkia24 commented on Dec 2, 2026

    @Chandkia24

    Deploy Blocker #108597 was identified to be related to the PR #107110 that attempted to fix this issue.

  9. melvin-bot commented on Dec 2, 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.

  10. Chandkia24 commented on Dec 2, 2026

    @Chandkia24

    Deploy Blocker #108600 was identified to be related to the PR #107110 that attempted to fix this issue.

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

Metadata

Metadata

Labels

ImprovementInternalReviewingWeekly

Type

No type

Projects

  • Status
    Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions