Skip to content

Commit 2183ad0

Browse files
ersinkocclaude
andcommitted
ui(dashboard): change top list page sizes to 10/20/50/100/250
Default page size is now 10 instead of 50. Available options: 10, 20, 50, 100, 250. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ae88099 commit 2183ad0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

web/ui/src/pages/DashboardPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const CHART_SERIES_LABELS: Record<ChartSeriesKey, string> = {
5656
errors: 'Errors',
5757
}
5858
const CHART_SERIES_STORAGE_KEY = 'labyrinth.dashboard.chart_series_visibility'
59-
const TOP_PAGE_SIZE_OPTIONS = [25, 50, 100, 200] as const
59+
const TOP_PAGE_SIZE_OPTIONS = [10, 20, 50, 100, 250] as const
6060
const TOP_WINDOW_LIMIT = 2000
6161
const CHART_HEARTBEAT_MS = 1000
6262
const TIMESERIES_POLL_MS = 5000
@@ -155,8 +155,8 @@ export default function DashboardPage() {
155155
const [domainSortDesc, setDomainSortDesc] = useState(true)
156156
const [clientPage, setClientPage] = useState(0)
157157
const [domainPage, setDomainPage] = useState(0)
158-
const [clientPageSize, setClientPageSize] = useState<number>(50)
159-
const [domainPageSize, setDomainPageSize] = useState<number>(50)
158+
const [clientPageSize, setClientPageSize] = useState<number>(10)
159+
const [domainPageSize, setDomainPageSize] = useState<number>(10)
160160
const [clientTotal, setClientTotal] = useState(0)
161161
const [domainTotal, setDomainTotal] = useState(0)
162162
const [clientLoading, setClientLoading] = useState(false)

0 commit comments

Comments
 (0)