Skip to content

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

Closed

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: @

Activity

  1. self-assigned this
    on Dec 22, 2025
  2. added
    ExternalAdded to denote the issue can be worked on by a contributor
    NewFeatureSomething to build that is a new item.
    on Dec 22, 2025
  3. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Dec 22, 2025
  4. melvin-bot commented on Dec 22, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (External)

  5. melvin-bot commented on Dec 22, 2025

    @melvin-bot

    Triggered auto assignment to @jliexpensify (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO. Remember to draft any necessary HelpDot updates by following the instructions here.

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

  7. melvin-bot commented on Dec 22, 2025

    @melvin-bot

    Auto-assign attempt failed, all eligible assignees are OOO.

  8. 30 remaining items

  9. melvin-bot commented on Feb 13, 2026

    @melvin-bot

    This issue has not been updated in over 15 days. @puneetlath, @mananjadhav, @trjExpensify, @abbasifaizan70 eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  10. abbasifaizan70 commented on Feb 18, 2026

    @abbasifaizan70
    Contributor

    @mananjadhav is this ready for payment?

  11. mananjadhav commented on Feb 21, 2026

    @mananjadhav
    Collaborator

    Yes this should be ready for payout. It's not a bug but I am assuming we'd want to add a regression test for this?

    @trjExpensify @puneetlath are you aware if QA is also tracking this?

  12. trjExpensify commented on Feb 23, 2026

    @trjExpensify
    Contributor

    Yeah, we have a testing steps doc to hand over to QA broadly for the Insights project. We're pretty much through this first set of Releases 1-7 that doc covers, so I can progress that this week. For Top Spenders, I'll want to modify it slightly after this PR gets deployed to update it to not seed the report for one member workspaces. 👍

  13. trjExpensify commented on Feb 23, 2026

    @trjExpensify
    Contributor

    On payment for this issue, how many PRs were there in the end?

  14. mananjadhav commented on Feb 24, 2026

    @mananjadhav
    Collaborator

    Following PRs:

    1. PR 1 - 78309: Added top Spenders default report #78410 added the default handling, linked to current issue.
    2. PR 2 - fix: Refetch expanded group data on toggle to prevent stale transactions after date edits #79207 added the refetch logic for group by reports. Already paid out.
    3. PR 3 - 79158: Reports - Expense that was removed from report, is still not displayed on 'Top Spenders' section #79168 - added additional filters.
    4. PR 4 - 79170: Reports-After moving expense to new report on 'Top Spenders', menu only shows 'Export' option #82590 - another issue for group search all reports.

    I think we should payout the PR 1 and 3. PR 4 is an existing bug in all group search reports.

  15. trjExpensify commented on Feb 25, 2026

    @trjExpensify
    Contributor

    Thanks. Let's handle payment for PR4 in the parent issue for that as it seems wider than "Top spenders".

    Payment summary as follows:

    • $500 for @abbasifaizan70 for the remaining PRs 1 and 2 in the list above (offer sent!)
    • $500 for @mananjadhav for the C+ review of those two PRs (Go ahead and request!)
  16. abbasifaizan70 commented on Feb 25, 2026

    @abbasifaizan70
    Contributor

    @trjExpensify offer accepted on upwork and waiting for your approval.

  17. trjExpensify commented on Feb 25, 2026

    @trjExpensify
    Contributor

    Paid, closing!

  18. trjExpensify commented on Feb 26, 2026

    @trjExpensify
    Contributor

    approved $250 for @mananjadhav

  19. twisterdotcom commented on Feb 26, 2026

    @twisterdotcom
    Contributor

    Confirming the payment summary is correct here.

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

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

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions