optimize ui loading and dashboard performance

This commit is contained in:
hectorzhao
2026-08-27 15:17:47 +08:00
parent 7ff019e829
commit ecb567c0da
28 changed files with 1307 additions and 132 deletions
@@ -14,6 +14,12 @@ export class DashboardController {
return this.dashboardService.summary();
}
@Get('overview')
@RequirePermissions('dashboard.view')
overview(@Query() query: { hours?: string; bucketMinutes?: string }) {
return this.dashboardService.overview(query);
}
@Get('trends')
@RequirePermissions('dashboard.view')
trends(@Query() query: { hours?: string; bucketMinutes?: string }) {