From 7ab80ac3f4ac55bfdfca74279b963595f2225c1a Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Fri, 25 Sep 2026 11:06:48 -0700 Subject: [PATCH 1/2] add a dashboard table state --- client/src/Features/UI/uiSlice.ts | 5 +++++ client/src/Pages/Dashboard/index.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/Features/UI/uiSlice.ts b/client/src/Features/UI/uiSlice.ts index aad3b63f5..c06889fcb 100644 --- a/client/src/Features/UI/uiSlice.ts +++ b/client/src/Features/UI/uiSlice.ts @@ -9,6 +9,7 @@ type ThemeMode = "light" | "dark"; type ChartType = "histogram" | "line"; type TableName = + | "dashboard" | "monitors" | "team" | "maintenance" @@ -26,6 +27,7 @@ interface SidebarState { } interface UIState { + dashboard: TableState; monitors: TableState; pagespeed: TableState; team: TableState; @@ -51,6 +53,9 @@ const initialMode: ThemeMode = window?.matchMedia?.("(prefers-color-scheme: dark : "light"; const initialState: UIState = { + dashboard: { + rowsPerPage: 10, + }, monitors: { rowsPerPage: 10, }, diff --git a/client/src/Pages/Dashboard/index.tsx b/client/src/Pages/Dashboard/index.tsx index fac8d15fc..d41827fef 100644 --- a/client/src/Pages/Dashboard/index.tsx +++ b/client/src/Pages/Dashboard/index.tsx @@ -34,7 +34,7 @@ const Dashboard = () => { types: [...MonitorTypes], checksLimit: 1, refreshInterval: 30000, - rowsPerPageTable: "monitors", + rowsPerPageTable: "dashboard", rowsPerPageDefault: 100, }); From 574078bdc8816ad7cf517791415b3694e07c2387 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Fri, 25 Sep 2026 11:11:45 -0700 Subject: [PATCH 2/2] fix default --- client/src/Features/UI/uiSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/Features/UI/uiSlice.ts b/client/src/Features/UI/uiSlice.ts index c06889fcb..e6245e892 100644 --- a/client/src/Features/UI/uiSlice.ts +++ b/client/src/Features/UI/uiSlice.ts @@ -54,7 +54,7 @@ const initialMode: ThemeMode = window?.matchMedia?.("(prefers-color-scheme: dark const initialState: UIState = { dashboard: { - rowsPerPage: 10, + rowsPerPage: 100, }, monitors: { rowsPerPage: 10,