Skip to content

feat: Add dashboard analytics date controls - #32

Merged
codejagaban merged 2 commits into
mainfrom
codex/admin-analytics-ranges
Sep 27, 2026
Merged

codejagaban merged 2 commits into
mainfrom
codex/admin-analytics-ranges

Conversation

@codejagaban

Copy link
Copy Markdown
Owner

Summary

  • add Today, 7-day, 30-day, 90-day, year-to-date, and custom analytics ranges
  • compare KPIs against the previous period or previous year
  • apply the selected range to sales, orders, order health, and popular products
  • keep calculations aligned to the configured store timezone
  • validate custom dates and adapt sparse and long-range bars

Verification

  • typecheck
  • unit tests: 17 passed
  • integration tests: 21 passed
  • production build
  • browser-tested every preset, custom validation, both comparisons, light desktop, and dark mobile

@vercel

vercel Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nextjs-ecomstore Ready Ready Preview Sep 27, 2026 11:47am UTC

@codejagaban
codejagaban merged commit cc38c36 into main Sep 27, 2026
3 checks passed
@codejagaban
codejagaban deleted the codex/admin-analytics-ranges branch September 27, 2026 11:49

This branch was successfully deployed

2 active deployments
Production — cc38c36d Deployed Sep 27, 2026 by vercel[bot]
Preview — cc38c36d Deployed Sep 27, 2026 by vercel[bot]
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