Add custom date range support to profit analytics

Introduces a date range picker to the profit analytics dashboard, allowing users to select custom date ranges for profit calculations. Updates ProfitAnalyticsChart and profit-analytics-service to handle both period and date range queries, improving flexibility and user experience.
This commit is contained in:
g
2025-11-28 18:32:38 +00:00
parent 28e292abb3
commit b10b2f2701
5 changed files with 98 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
# Disable telemetry for faster builds
NEXT_TELEMETRY_DISABLED=1
@@ -11,4 +12,4 @@ NEXT_LOG_LEVEL=error
GENERATE_SOURCEMAP=false
# API configuration
SERVER_API_URL=https://internal-api.inboxi.ng/api
SERVER_API_URL=https://internal-api.inboxi.ng/api