From 03b7e4f67febca6995cceb1b29cb9c720cd8f3f0 Mon Sep 17 00:00:00 2001 From: busya Date: Wed, 17 Jun 2026 17:29:35 +0300 Subject: [PATCH] fix(migration): add Status column back to DashboardDataGrid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restored the Status column (published/draft badge) that was dropped during the DashboardGrid→DashboardDataGrid migration. The text filter now searches status values as intended. Validate/Git columns remain removed as they are irrelevant to the migration workflow. --- frontend/src/routes/migration/+page.svelte | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/frontend/src/routes/migration/+page.svelte b/frontend/src/routes/migration/+page.svelte index 7b88ed86..4a2de489 100644 --- a/frontend/src/routes/migration/+page.svelte +++ b/frontend/src/routes/migration/+page.svelte @@ -263,6 +263,17 @@ columns={[ { key: 'title', label: $t.dashboard?.title || 'Title', sortable: true }, { key: 'last_modified', label: $t.dashboard?.last_modified || 'Last Modified', sortable: true }, + { + key: 'status', + label: $t.dashboard?.status || 'Status', + sortable: true, + raw: true, + render: (item: any) => { + const isPublished = item.status === 'published'; + const cls = isPublished ? 'bg-success-light text-success' : 'bg-surface-muted text-text'; + return `${item.status || ''}`; + }, + }, ]} bind:selectedIds={model.selectedDashboardIds} selectable