major refactor of the dashboard and react-openapi integration #1

Merged
aetos merged 44 commits from period-selection into main 2026-05-07 11:00:54 +00:00
Showing only changes of commit 5f85abdf86 - Show all commits

View File

@@ -15,7 +15,7 @@ export function useDashboardData(type: "expense" | "income") {
// Fetch reports for aggregation // Fetch reports for aggregation
const weeklyReport = useReportList({ period: "weekly", rolling: true }); const weeklyReport = useReportList({ period: "weekly", rolling: true });
const monthlyReport = useReportList({ period: "monthly", rolling: true }); const monthlyReport = useReportList({ period: "monthly", rolling: true });
const payeeReport = useReportList({ period: "weekly", rolling: true, group_by: "payee" }); const payeeReport = useReportList({ period: "full", rolling: true, group_by: "payee" });
const isLoading = const isLoading =
latestQuery.isLoading || latestQuery.isLoading ||