Skip to content

Analytics ​

Analytics page screenshot

Overview ​

Displays portfolio analysis and distributions using service-provided analytics data.

  • Route: /analytics (protected)
  • Source: front/src/pages/Analytics.tsx
  • Layout: DashboardLayout

User actions and data flow ​

  • On mount, reads the default currency from GET /settings.
  • When currency or selected period changes, derives optional date filters and requests GET /analytics.
  • The response is held in component state and drives summary/distribution visualizations.

States ​

Loading spinner, error with Retry, and a no-data message are explicitly implemented. The exact chart rendering/fields are described by AnalyticsData in front/src/services/api/analyticsService.ts; exact backend response contract is not available from frontend source alone.

Source: front/src/pages/Analytics.tsx, front/src/services/api/analyticsService.ts.

See Analytics API.