From 5a33218235d75feec6c3debafefd9592c55281f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Tue, 18 Aug 2026 10:14:47 +0200 Subject: [PATCH] feat: support a multi-link list in the bookmark widget A bookmark widget can now carry an optional links array instead of a single href, rendering as a compact card with one row per link - for grouping several quick links (e.g. "all services", "all Coolify apps") into one widget instead of one card per link. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01WpxhtQY3CExQdMs4j7MmJe --- components/widgets/bookmark/Widget.tsx | 31 ++++++++++++++++++++++++++ lib/config/schema.ts | 9 +++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/components/widgets/bookmark/Widget.tsx b/components/widgets/bookmark/Widget.tsx index fe9775f..8cb8602 100644 --- a/components/widgets/bookmark/Widget.tsx +++ b/components/widgets/bookmark/Widget.tsx @@ -6,6 +6,37 @@ import { BrandIcon } from "@/components/widgets/BrandIcon"; type BookmarkWidget = Extract; export function BookmarkWidget({ widget }: { widget: BookmarkWidget }) { + if (widget.links && widget.links.length > 0) { + return ( +
+
+ + {widget.name} +
+ {widget.description && {widget.description}} +
+ {widget.links.map((link) => ( + + + {link.name} + + + ))} +
+
+ ); + } + return (