diff --git a/apps/docs/docs/widgets/bookmarks/index.mdx b/apps/docs/docs/widgets/bookmarks/index.mdx index 3e2710788..b043ccc9c 100644 --- a/apps/docs/docs/widgets/bookmarks/index.mdx +++ b/apps/docs/docs/widgets/bookmarks/index.mdx @@ -13,8 +13,9 @@ import { bookmarksWidget } from "."; -The bookmarks widget allows you to display multiple app links in a single widget. -You can add links to your favorite applications, websites, or any other resources you want quick access to. +The bookmarks widget allows you to display multiple links in a single widget. +Select one or more existing Apps directly in the widget settings; these bookmarks keep a reference to the App, so changes to its name, icon, or URL are reflected automatically. +For links that do not need an App, add their URLs under **Custom links** instead. Its normal view adapts each configured layout to the available width and height: lower-priority hostnames are hidden before names or icons, and larger collections scroll instead of crushing cards. Advanced view shows every bookmark as a roomy card with its full title, hostname, icon, and complete description regardless of the compact layout and visibility choices. diff --git a/apps/docs/docs/widgets/bookmarks/index.ts b/apps/docs/docs/widgets/bookmarks/index.ts index 57fea9836..eaeec258e 100644 --- a/apps/docs/docs/widgets/bookmarks/index.ts +++ b/apps/docs/docs/widgets/bookmarks/index.ts @@ -47,9 +47,15 @@ export const bookmarksWidget: WidgetDefinition = { { name: "Bookmarks", description: "List of bookmarks to display in the widget.", - values: "Select of all your apps and order them as you like.", + values: "Select one or more Apps directly, then order them as you like.", defaultValue: "No bookmarks selected", }, + { + name: "Custom links", + description: "URLs to display without first creating an App.", + values: "List of URLs.", + defaultValue: "No custom links", + }, ], }, }; diff --git a/apps/nextjs/next.config.ts b/apps/nextjs/next.config.ts index 812596cd3..71e31402c 100644 --- a/apps/nextjs/next.config.ts +++ b/apps/nextjs/next.config.ts @@ -46,7 +46,7 @@ const nextConfig: NextConfig = { serverExternalPackages: ["dockerode", "isomorphic-dompurify", "jsdom", "better-sqlite3"], experimental: { optimizePackageImports: ["@mantine/core", "@mantine/hooks", "@tabler/icons-react"], - preloadEntriesOnStart: false, + preloadEntriesOnStart: true, turbopackFileSystemCacheForBuild: true, useTypeScriptCli: true, }, diff --git a/apps/nextjs/src/app/[locale]/boards/(content)/_client.tsx b/apps/nextjs/src/app/[locale]/boards/(content)/_client.tsx index 061a08051..9a2d65b36 100644 --- a/apps/nextjs/src/app/[locale]/boards/(content)/_client.tsx +++ b/apps/nextjs/src/app/[locale]/boards/(content)/_client.tsx @@ -49,7 +49,7 @@ export const ClientBoard = () => { .map(getLogicalTrackSize); const logicalWidth = laneWidths.reduce((total, width) => total + width, 0) + (laneWidths.length - 1) * LOGICAL_GRID_GAP; - const initialLogicalHeight = getInitialBoardLogicalHeight(board, currentLayoutId) + LOGICAL_GRID_GAP; + const initialLogicalHeight = getInitialBoardLogicalHeight(board, currentLayoutId); const representativeWidth = layoutOverrideId ? getRepresentativeLayoutWidth(currentLayout, board.layouts) : null; const initialAvailableWidth = Math.max(1, (representativeWidth ?? initialViewportWidth) - APP_SHELL_INLINE_PADDING); const gridTemplateColumns = [ @@ -74,7 +74,7 @@ export const ClientBoard = () => { > -
+
{leftColumnCount > 0 && leftSection && (