App icon indicating copy to clipboard operation
App copied to clipboard

[Due for payment 2026-11-25] [Insights polish] [R1] Default the Spend dashboard to `This month`, `Previous period`, and `Running total`

Open JmillsExpensify opened this issue 3 weeks ago • 9 comments

Background

The Spend dashboard opens on a longer This year date range, with Compare off. That means a bigger first load, and a graph that doesn't answer the question most people open it with: "How is this month going compared to last month?"

This issue changes the Spend dashboard's defaults to This month, Compare: Previous period, and Running total on Spend over time. The Compliance dashboard's defaults don't change.

Product and design details

New defaults

Filter Default
Date This month
Compare Previous period
Spend over time grouping Running total

Who gets them

  • The defaults apply when someone hasn't picked their own Spend filters yet.
  • Filters someone has already picked stay as they are.
  • Workspace and Group currency keep their current defaults.
Issue OwnerCurrent Issue Owner: @mallenexpensify

JmillsExpensify avatar Nov 11 '26 10:11 JmillsExpensify

@MelvinBot assign daledah

mhawryluk avatar Nov 12 '26 11:11 mhawryluk

Assigned daledah.


view run

MelvinBot avatar Nov 12 '26 11:11 MelvinBot

@daledah

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.5.40-1 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/106691

If no regressions arise, payment will be issued on 2026-11-25. :confetti_ball:

The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]

melvin-bot[bot] avatar Nov 18 '26 00:11 melvin-bot[bot]

Contributor+ Checklist:

  • [x] [Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

    Link to the comment on the PR: N/A

  • [x] [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

    Link to discussion:

  • [x] [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

Regression Test Proposal

Precondition:

Test:

  1. Sign in with an account that has never opened Insights and has expenses
  2. Open Insights > Spend
  3. Verify the Date filter shows This month
  4. Verify the Compare filter shows Previous period
  5. Verify Spend over time shows Running total
  6. Set Compare to None and Group by to Month, then clear cache and restart
  7. Verify Compare stays off and Group by stays Month
  8. Open Compare, set it to Average, then press Reset
  9. Verify Compare goes back to Previous period
  10. Open Group by on Spend over time, pick Week, then press Reset
  11. Verify Spend over time goes back to Running total
  12. Open Insights > Compliance (requires insightsCompliance beta)
  13. Verify the Date filter shows Last month and Compare is off
  14. Open Group by on the headline chart, pick another grouping, then press Reset
  15. Verify the grouping goes back to Month
  16. Open Insights > Efficiency (requires insightsEfficiency beta)
  17. Verify the Date filter shows This year and Compare is off
  18. Sign in with an account that already has Spend filters saved, with Compare off
  19. Open Insights > Spend
  20. Verify the saved filters are shown and Compare is still off

Do we agree 👍 or 👎

daledah avatar Nov 18 '26 03:11 daledah

Triggered auto assignment to @mallenexpensify (Awaiting Payment)

Payment Summary

Resolving PRs:

  • https://github.com/Expensify/App/pull/106691

  • Contributor: @mhawryluk does not require payment (Contractor)

  • Contributor: @OlGierd03 does not require payment (Contractor)

  • Reviewer: @daledah owed $175 via NewDot

BugZero Checklist (@mallenexpensify)

  • [ ] I have confirmed assignees, roles, and Upwork contracts look correct
  • [ ] I have paid out Upwork contracts / manual NewDot requests
  • [ ] [BugZero Assignee] I have created a GH issue for creating/updating the regression test once above steps have been agreed upon

@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Matt's AI agent:

Prep notes for the CM. This is not a payment approval. Do not request payment until the CM posts the final amount.

Ready.

Job price: $250.

  • daledah (C+): 100%, via NewDot

Price basis: project started before 2026-09-19 (645498): bernhardoj assigned, 2026-09-10.

Next: press Caps+Y, then pay.

Evidence
  • C+ checklist by daledah, 21 steps: comment
  • No TestRail case yet.
  • Resolving PR 106691: mhawryluk, merged 2026-11-13, approved by aldo-expensify, daledah, luacmartins. Videos: author 1/5, C+ 1/1.

PAYPREP v1

mallenexpensify avatar Nov 30 '26 04:11 mallenexpensify

Payment Summary

Contributor+: @daledah due $250 via NewDot

mallenexpensify avatar Nov 30 '26 23:11 mallenexpensify