Skip to content

[Insights] [Release 0] Add Top Spenders default report #78309

@puneetlath

Description

@puneetlath

Part of the Insights project

Main issue: https://github.com/Expensify/Expensify/issues/570577
Doc section: https://docs.google.com/document/d/1zMWsgWBXY5Lx4V1M8LVTovOaTX-q34LempKIKWH8rwI/edit?tab=t.0#heading=h.mvmf31h2iib
Project:

Feature Description

Add a new default report called Top Spenders to the Reports page.

In order to do this, we will:

  1. Add a new section to the Reports page LHN called Insights that lives above explore
    a. This section will only be shown when there is at least one Insights report to display
  2. Within the Insights section add a Top Spenders report
    a. The report should only be shown if the user is an admin, auditor, or approver on a workspace
    b. The query for this report is type:expense group-by:from date:last-month sort-by:groupTotal sort-order:desc
Image

When there is nothing to display, we'll use the same empty state as Reports > Expenses

Image
Issue OwnerCurrent Issue Owner: @

Metadata

Metadata

Labels

ExternalAdded to denote the issue can be worked on by a contributorMonthlyKSv2NewFeatureSomething to build that is a new item.ReviewingHas a PR in review

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions