feat: replace overview with reports page

This commit is contained in:
juancwu 2026-02-15 23:00:58 +00:00
commit a7d5f21fe8
5 changed files with 12 additions and 200 deletions

View file

@ -212,10 +212,6 @@ func SetupRoutes(a *app.App) http.Handler {
mux.Handle("GET /app/spaces/{spaceID}/components/budgets", budgetsListWithAccess)
// Report routes
reportsPageHandler := middleware.RequireAuth(space.ReportsPage)
reportsPageWithAccess := middleware.RequireSpaceAccess(a.SpaceService)(reportsPageHandler)
mux.Handle("GET /app/spaces/{spaceID}/reports", reportsPageWithAccess)
reportChartsHandler := middleware.RequireAuth(space.GetReportCharts)
reportChartsWithAccess := middleware.RequireSpaceAccess(a.SpaceService)(reportChartsHandler)
mux.Handle("GET /app/spaces/{spaceID}/components/report-charts", reportChartsWithAccess)