Replace bespoke paginator with shared web-ui Pagination component
Lint / Lint (push) Successful in 34s
Tests / Go backend (push) Successful in 45s
Tests / Dashboard checks (push) Successful in 1m0s
Docker / Docker Build & Push (push) Successful in 4m19s

Swaps the custom paginator.svelte (used on the lists overview and list
detail pages) for the shared @gabriel20xx/web-ui Pagination component,
matching the workspace-wide pagination policy. Data fetching and
client-side slicing logic are unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Gabriel20xxandClaude Sonnet 5 committed 2026-09-11 23:33:24 +02:00
1 parent cfa06cd466
commit a5dfd3dc5a
3 files changed
+4 -99

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@
import { createDashboardViewMode } from '$lib/preferences/viewMode.svelte.js';
import Button from '$lib/components/ui/button.svelte';
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '$lib/components/ui/select';
import Paginator from '$lib/components/ui/paginator.svelte';
import { Pagination } from '@gabriel20xx/web-ui';
import ListsGrid from '$lib/components/lists/ListsGrid.svelte';
import ListsTable from '$lib/components/lists/ListsTable.svelte';
@@ -155,7 +155,7 @@
</div>
<section class="rounded-lg border border-border bg-surface">
<Paginator
<Pagination
{page}
{pageSize}
pageLength={pageItems.length}
+2 -2
View File
@@ -3,7 +3,7 @@
import { resolve } from '$app/paths';
import { ArrowLeft, LoaderCircle } from '@lucide/svelte';
import Button from '$lib/components/ui/button.svelte';
import Paginator from '$lib/components/ui/paginator.svelte';
import { Pagination } from '@gabriel20xx/web-ui';
import { createOverviewData } from '$lib/features/lists/listsData.svelte.js';
import { listFieldsFor, listItemsFor, itemValuesFor, valueFor, fmtDate } from '$lib/features/lists/listHelpers.js';
@@ -103,7 +103,7 @@
</tbody>
</table>
</div>
<Paginator
<Pagination
{page}
{pageSize}
pageLength={pageItems.length}