Skip to content

Add a Last 60 days option to the usage time-range select#37882

Draft
rjimeno-mz wants to merge 1 commit into
mainfrom
rjimeno/sas-170-phase-5-add-a-last-60-days-option-to-the-usage-time-range
Draft

Add a Last 60 days option to the usage time-range select#37882
rjimeno-mz wants to merge 1 commit into
mainfrom
rjimeno/sas-170-phase-5-add-a-last-60-days-option-to-the-usage-time-range

Conversation

@rjimeno-mz

@rjimeno-mz rjimeno-mz commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds 60: "Last 60 days" to timeRangeOptions in TimeRangeSelect.tsx, giving a mid-range window between the existing 30- and 90-day options.
  • No other changes needed: timeRange flows through as a plain number to getDayAlignedRange/useDailyCostsBreakdown with no per-value special-casing, so the new option works structurally like the rest.

Test plan

  • yarn typecheck
  • yarn lint
  • New TimeRangeSelect.test.tsx: dropdown lists Last 60 days between Last 30 days and Last 90 days; selecting it calls setTimeRange(60)
  • Full src/platform/billing suite passes (37 tests)

Resolves SAS-170.

@linear-code

linear-code Bot commented Jul 25, 2026

Copy link
Copy Markdown

SAS-170

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant