Skip to content

[Due for payment 2026-01-23] [CFI] Create super wide RHP modal to display expense reports when accessed via Reports page or report previews #71821

Closed
26 of 26 issues completed

Description

@shawnborton

Problem:
We've had a few conversations about our nav structure as it relates to viewing a report, particularly that it feels a bit odd that a report opens in the main pane on the Reports page with a back arrow but we don't do that elsewhere, like the Inbox for example. The report essentially opens as if it's a modal, but we don't present it that way in the navigation.

Solution:
On wide screens, when opening an expense report (or invoice/IOU with multiple expenses/etc) from either the Reports > Reports page, or from an expense report preview in a chat context, let's create a new super wide RHP to display the report. This will create a cascading effect of modals to better illustrate the hierarchy of content that the user is viewing. Here is what it would look like:

CleanShot.2025-09-30.at.19.55.03.mp4

This is a mapping of the navigation we'd expect in the app with these changes:

Navigation

  • Inbox Tab
    • LHN unreads:
      • Expense -> opens in main pane
      • Expense reports -> opens in main pane
  • Report previews:
    • Single-expense report -> opens in wide RHP modal
    • Multi-expense report:
      • Tap report area -> opens report in super wide RHP modal
      • Tap individual expense area -> opens expense in wide RHP modal
  • Reports Tab
    • type:expense results -> opens expense in wide RHP modal
    • type:expense-report results -> opens report in super wide RHP modal
    • group-by:x results -> expands to reveal the nested results:
      • Clicking anywhere on the expense row opens the expense in wide RHP modal

Displaying type:expense-report results

  • Add default report column headers:
    • Created
    • Status (use coloured status consistent with here)
    • Title
    • From
    • To
    • Total
    • Action
  • Default sort column:
    • “Created” (newest > oldest)
  • Allow all columns to be clicked to sort.

Displaying group-by: results

  • Add default group column headers:
    • group-by:from
      • From
      • Expenses
      • Total
    • group-by:card
      • Card
      • Feed
      • Expenses
      • Total
    • group-by:withdrawal-id
      • Bank account
      • Withdrawn
      • Withdrawal ID
      • Expenses
      • Total
  • Default sort column:
    • group-by:from: “From” (A-Z)
    • group-by:withdrawal-id : “Withdrawn” (newest > oldest)
    • group-by:card: “Card” (A-Z)
  • Allow all columns to be clicked to sort.

cc @Expensify/design @Expensify/product-pr @mountiny @WojtekBoman for visibility

Issue OwnerCurrent Issue Owner: @trjExpensify
Issue OwnerCurrent Issue Owner: @trjExpensify

Activity

  1. melvin-bot commented on Oct 6, 2025

    @melvin-bot

    Current assignee @trjExpensify is eligible for the NewFeature assigner, not assigning anyone new.

  2. melvin-bot commented on Oct 6, 2025

    @melvin-bot

    ⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

  3. melvin-bot commented on Oct 6, 2025

    @melvin-bot

    Current assignee @shawnborton is eligible for the NewFeature assigner, not assigning anyone new.

  4. mountiny commented on Oct 6, 2025

    @mountiny
    Contributor

    Started a thread here to better align on any sort of questions or problems https://expensify.slack.com/archives/C08CZDJFJ77/p1759763568172539

  5. changed the title [-]Create super wide RHP modal to display expense reports when accessed via Reports page or report previews[/-] [+][CFI] Create super wide RHP modal to display expense reports when accessed via Reports page or report previews[/+] on Oct 7, 2025
  6. trjExpensify commented on Oct 9, 2025

    @trjExpensify
    Contributor

    Discussing here about getting going on "Displaying type:expense-report results"

  7. WojtekBoman commented on Oct 16, 2025

    @WojtekBoman
    Contributor

    @Expensify/design I'd like to ask about one thing that's important from an implementation perspective:

    Will we allow users to open the expense report page in the Reports tab only in Super Wide RHP? More specifically, should this work as a Wide RHP, where reports can be opened in both narrow and Wide RHP?

    Now I see that expense reports in the Reports tab will only be opened in the Super wide RHP, but I want to make sure :)

  8. 114 remaining items

  9. mountiny commented on Jan 26, 2026

    @mountiny
    Contributor

    @trjExpensify We still have some follow ups but I think we can pay for the project, the agreed price with @ZhenjaHorbach is $1500 as the scope was large

  10. trjExpensify commented on Jan 27, 2026

    @trjExpensify
    Contributor

    Okay, I'll leave this issue open. What about regression tests for Applause?

    Payment summary as follows:

  11. garrettmknight commented on Jan 27, 2026

    @garrettmknight
    Contributor

    $1500 approved for @ZhenjaHorbach

  12. mountiny commented on Jan 27, 2026

    @mountiny
    Contributor

    @trjExpensify @shawnborton Are there some regression tests you want to add/ or adjust? if so, can you please take a look into that and then we can close 🙌

  13. trjExpensify commented on Jan 28, 2026

    @trjExpensify
    Contributor

    I'm not sure. @isagoico might though?

  14. isagoico commented on Jan 30, 2026

    @isagoico

    Hello! As this is a UI behavior change and our suite is focused on functional validations we should be ok with just updating the existing test cases to match the new format.

    Already did a review and we need to update the following TCs to accommodate this change:

    These are simple changes so no need to open a regression update issue.

  15. mountiny commented on Feb 2, 2026

    @mountiny
    Contributor

    Perfect, thanks!

  16. m-natarajan commented on Feb 2, 2026

    @m-natarajan

    Modified steps in the following test cases to verify the Super wide RHP on web view.
    Expense Report Views - Reports Page

    Invoice room and details page

    Create Report & Empty State UI

  17. nyomanjyotisa commented on Sep 22, 2026

    @nyomanjyotisa
    Member

    #77657 moved expense reports into a super-wide RHP but left the selection header using the standard shouldUseNarrowLayout flag. That flag remains true inside the RHP after widening, causing #100871 to retain “Select multiple” instead of the normal report header. Fixed in #100923 using the wide-RHP-aware flag while preserving selection and cleanup.

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2NewFeatureSomething to build that is a new item.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions