You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add unlimited pagination and date filtering to Dashboard
API Changes:
- Support pageSize=0 to fetch all records (up to 10,000 max)
- OrdersController and SupportTicketsController now handle unlimited queries
- Prevents pagination bugs where not all data is returned
Dashboard Features:
- Added date range filter UI (7 days, 30 days, 90 days, year, all-time)
- Dashboard now correlates with MCP tool timeframes
- Defaults to 'Last Year' to match MCP Business Dashboard tool
- Persists timeframe selection across refreshes
MCP Tool Updates:
- All MCP tools updated to use pageSize=0 for complete data
- Ensures consistency across Dashboard, MCP, and API
Fixes:
- Dashboard was only showing 20 orders due to default pageSize
- MCP tools were limited to 100-1000 records
- Data mismatch between Dashboard and MCP resolved
Benefits:
- Scales to millions of records (real business scenario)
- Workshop participants can correlate MCP data with Dashboard
- No functionality lost (all-time filter still available)
- Production-ready pagination pattern
0 commit comments