From 75b9a7bacbd793d9e24913f674343d42291fa7d9 Mon Sep 17 00:00:00 2001 From: "coderabbit-steward[bot]" <359343172+coderabbit-steward[bot]@users.noreply.github.com> Date: Wed, 25 Nov 2026 20:16:18 +0000 Subject: [PATCH] review(src): unreviewed delta (7 files) --- src/lib/components/BookmarksSection.svelte | 239 ++++++----- src/lib/components/CommandPalette.svelte | 403 ++++++++++--------- src/lib/components/HostBar.svelte | 158 +++++--- src/lib/components/ServiceCard.svelte | 269 +++++-------- src/lib/data/gatus.ts | 171 +++++--- src/lib/types.ts | 104 +++-- src/routes/+page.svelte | 440 ++++++++++++--------- 7 files changed, 988 insertions(+), 796 deletions(-) diff --git a/src/lib/components/BookmarksSection.svelte b/src/lib/components/BookmarksSection.svelte index 2fb18a7..4a6d74e 100644 --- a/src/lib/components/BookmarksSection.svelte +++ b/src/lib/components/BookmarksSection.svelte @@ -1,99 +1,79 @@ -
+ { + if (e.key === STORAGE_KEY) loadSaved(); + }} +/> + +{#snippet linkBody(item: PinnedLink)} + + +
+ + {item.name} + + + {item.url.replace(/^https?:\/\//, '')} + +
+
+{/snippet} + +
- - ⭐ +

+ Pinned & Quick Links - - - {bookmarks.length} +

+ + {links.length + bookmarks.length}
- {#if bookmarks.length === 0} -
- No pinned links yet. Click + Add Link to pin frequent bookmarks to your homelab portal. + {#if links.length + bookmarks.length === 0} +
+ No pinned links yet. Click + Add Link to pin frequent bookmarks to your homelab portal.
{:else}
+ {#each links as link (link.id)} +
+ {@render linkBody(link)} +
+ {/each} {#each bookmarks as bm (bm.id)} -
- - {bm.icon} -
- - {bm.name} - - - {bm.url.replace(/^https?:\/\//, '')} - -
-
+
+ {@render linkBody(bm)}
{/if} -
+
- {#if showAddModal} -