Apply shared UI and workflow fixes
Docker / Docker Build & Push (push) Successful in 8m26s
Lint / Lint (push) Failing after 20s
Tests / Go backend (push) Successful in 16s
Tests / Dashboard checks (push) Successful in 23s

This commit is contained in:
Gabriel20xx committed 2026-08-07 15:22:26 +02:00
1 parent fb22af5272
commit f208697859
15 files changed
+287 -62

No files matched your search

@@ -4,7 +4,9 @@
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './select';
import { SimpleTooltip } from './tooltip';
let { page, pageSize, pageSizes = [12, 24, 48, 96], pageLength = 0, totalLength = 0, onPaging } = $props();
const PAGE_SIZE_OPTIONS = [12, 24, 48, 96];
let { page, pageSize = 24, pageLength = 0, totalLength = 0, onPaging } = $props();
const hasPreviousPage = $derived(page > 1);
const firstItemIndex = $derived((page - 1) * pageSize + 1);
@@ -14,7 +16,7 @@
// Passed as `Select`'s `items` prop so the trigger shows the right label immediately, even
// before the dropdown has ever been opened - bits-ui can't rely on `Select.Item` having
// mounted to the DOM yet to read its label back off of it.
const pageSizeItems = $derived(pageSizes.map((size) => ({ value: String(size), label: String(size) })));
const pageSizeItems = PAGE_SIZE_OPTIONS.map((size) => ({ value: String(size), label: String(size) }));
</script>
<div class="flex flex-wrap items-center justify-end gap-4 px-2 py-3 text-sm">
@@ -9,8 +9,8 @@
let { children } = $props();
const auth = createAuthStore();
const navItems = [
{ href: '/', label: 'Overview' },
{ href: '/about', label: 'About' },
{ href: '/', label: 'Overview', icon: 'layout-dashboard', description: 'Browse shared tables and collaborate on structured data.' },
{ href: '/about', label: 'About', icon: 'info', description: 'Learn about CollabTable and its collaboration features.' },
];
let settingsOpen = $state(false);
let credentialsOpen = $state(false);
+16 -13
View File
@@ -1,18 +1,21 @@
<script>
<script lang="ts">
import { goto } from '$app/navigation';
import { AboutDialog } from '@gabriel20xx/web-ui';
import { Table2 } from '@lucide/svelte';
import TechStackSection from '$lib/features/about/TechStackSection.svelte';
let open = $state(true);
function closeAbout() {
void goto('/');
}
</script>
<main class="flex-1 overflow-y-auto p-5">
<div class="mx-auto max-w-2xl">
<div class="mb-4 flex items-center gap-3">
<Table2 class="size-8 text-primary" />
<div>
<h1 class="text-xl font-semibold text-fg">CollabTable</h1>
<p class="text-sm text-muted-fg">Collaborative list management server.</p>
</div>
</div>
<AboutDialog bind:open brand="CollabTable" description="Collaborative list management server." onClose={closeAbout}>
{#snippet icon()}
<Table2 class="size-8 text-primary" />
{/snippet}
{#snippet children()}
<TechStackSection />
</div>
</main>
{/snippet}
</AboutDialog>