From 82a5f16a0ca881be8509e8f3db6e665748f83cbe Mon Sep 17 00:00:00 2001 From: Christoph Brandau Date: Mon, 7 Sep 2026 22:58:36 +0200 Subject: [PATCH] feat(dashboard): add list and card views with persistent toggle Add a view switcher to the repository dashboard so users can toggle between compact list and tile (cards) layouts. The choice is saved to localStorage so preferences persist across sessions. Also adjust card layout, sync/branch indicators and accessibility attributes, and refactor pullRequestTitle to accept badge state directly for more accurate aria labels. - Persist viewMode with STORAGE_KEY and add setViewMode helper. - Add view toggle UI with ARIA states and new icons. - Introduce list/table and tiles CSS and refine status display. --- src/lib/components/RepositoryDashboard.svelte | 109 +++++++++++++++--- 1 file changed, 90 insertions(+), 19 deletions(-) diff --git a/src/lib/components/RepositoryDashboard.svelte b/src/lib/components/RepositoryDashboard.svelte index 9095a73..1f70a16 100644 --- a/src/lib/components/RepositoryDashboard.svelte +++ b/src/lib/components/RepositoryDashboard.svelte @@ -1,5 +1,5 @@