From e3784de2578d7a6a47ec466939736f3c909b27c3 Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Wed, 2 Sep 2026 21:01:16 +0200 Subject: [PATCH] feat(builder): link the source and a problem report from the action bar --- .../docker-compose-builder/+page.svelte | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/apps/root.immich.app/src/routes/docker-compose-builder/+page.svelte b/apps/root.immich.app/src/routes/docker-compose-builder/+page.svelte index 8eff53f6..7eb3112c 100644 --- a/apps/root.immich.app/src/routes/docker-compose-builder/+page.svelte +++ b/apps/root.immich.app/src/routes/docker-compose-builder/+page.svelte @@ -40,6 +40,7 @@ } from '@immich/ui'; import { mdiArrowLeft, + mdiBugOutline, mdiClose, mdiContentCopy, mdiDiceMultiple, @@ -49,6 +50,7 @@ mdiPartyPopper, mdiPlus, } from '@mdi/js'; + import { siGithub } from 'simple-icons'; import { onMount } from 'svelte'; import { yaml as yamlLanguage } from 'svelte-highlight/languages'; @@ -134,6 +136,22 @@ }; const FEEDBACK_URL = 'https://github.com/immich-app/immich/discussions/31232'; + const SOURCE_URL = 'https://github.com/immich-app/static-pages/tree/main/apps/root.immich.app/src/lib/compose'; + const ISSUE_URL = 'https://github.com/immich-app/static-pages/issues/new'; + + const openInNewTab = (url: string) => open(url, '_blank', 'noopener'); + + const Source: ActionItem = { + title: 'View source', + icon: siGithub, + onAction: () => openInNewTab(SOURCE_URL), + }; + + const ReportIssue: ActionItem = { + title: 'Report a problem', + icon: mdiBugOutline, + onAction: () => openInNewTab(ISSUE_URL), + }; const pageMetadata = { title: 'Docker Compose Builder', @@ -181,6 +199,7 @@