Skip to content

[Insights] Stop plotting future periods and future-dated expenses on Spend, also don't show months with no data on Compliance - #106514

Open
OlGierd03 wants to merge 11 commits into
Expensify:mainfrom
software-mansion-labs:@OlGierd03/Insights-Plotted-Periods
Open

OlGierd03 wants to merge 11 commits into
Expensify:mainfrom
software-mansion-labs:@OlGierd03/Insights-Plotted-Periods

Stop the open period's drill-down at today

ed41480
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 12, 2026 in 1s

63.27% (+0.12%) compared to 996c360

View this Pull Request on Codecov

63.27% (+0.12%) compared to 996c360

Details

Codecov Report

❌ Patch coverage is 60.90909% with 43 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ges/Insights/charts/InsightsFutureExpensesNote.tsx 0.00% 10 Missing ⚠️
src/pages/Insights/charts/InsightsChartNote.tsx 0.00% 8 Missing ⚠️
src/pages/Insights/useInsightsChartData.ts 0.00% 8 Missing ⚠️
src/components/Search/SearchChartView.tsx 0.00% 5 Missing ⚠️
.../pages/Insights/charts/InsightsTrackedFromNote.tsx 0.00% 4 Missing ⚠️
src/pages/Insights/InsightsDashboard.tsx 40.00% 3 Missing ⚠️
src/pages/Insights/details/InsightsDetailsPage.tsx 0.00% 3 Missing ⚠️
src/pages/Insights/charts/InsightsChartWidget.tsx 86.66% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/CONST/index.ts 96.09% <ø> (+0.06%) ⬆️
src/ROUTES.ts 34.33% <100.00%> (+0.14%) ⬆️
src/components/Search/buildChartSeries.ts 100.00% <100.00%> (ø)
src/pages/Insights/dashboardSpecs.ts 100.00% <ø> (ø)
src/pages/Insights/getInsightsDateRange.ts 100.00% <100.00%> (ø)
src/pages/Insights/getInsightsLastDay.ts 100.00% <100.00%> (ø)
src/pages/Insights/insightsCompare.ts 92.30% <100.00%> (-1.45%) ⬇️
src/pages/Insights/insightsGroupByUtils.ts 97.91% <100.00%> (+5.60%) ⬆️
src/pages/Insights/insightsQueries.ts 94.73% <100.00%> (+1.29%) ⬆️
src/pages/Insights/insightsTrackedFrom.ts 100.00% <100.00%> (ø)
... and 8 more

... and 124 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.