Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(board): persist setup checklist dismissal (#6992)

Thomasaf4209886dc5
diff --git a/apps/docs/docs/management/boards/index.mdx b/apps/docs/docs/management/boards/index.mdx
index effa13748..7d6267687 100644
--- a/apps/docs/docs/management/boards/index.mdx
+++ b/apps/docs/docs/management/boards/index.mdx
@@ -66,6 +66,9 @@ with enabled sidebars shown beside the main canvas.
Enter edit mode from the board header to add, move, resize, configure, or remove content. Save the board to persist the
layout.
+Dismissing the setup checklist is remembered per board in the current browser, independently of board contents.
+Clearing browser site data restores it; dismissal does not sync across browsers.
+
- Drag from an item's inactive content area; Containers use their grip.
- Hold `Ctrl` on Windows/Linux or `Cmd` on macOS to select several items.
- Use **Move / resize item** for another canvas, rail, Container, or exact coordinates.
diff --git a/apps/nextjs/src/components/board/board-setup-checklist.tsx b/apps/nextjs/src/components/board/board-setup-checklist.tsx
index 126cc24fd..b73987f34 100644
--- a/apps/nextjs/src/components/board/board-setup-checklist.tsx
+++ b/apps/nextjs/src/components/board/board-setup-checklist.tsx
@@ -2,7 +2,7 @@
import { ActionIcon, Affix, Button, Group, Paper, Progress, Stack, Text, ThemeIcon, Tooltip } from "@mantine/core";
import { useLocalStorage } from "@mantine/hooks";
-import { IconCheck, IconChevronDown, IconChecklist } from "@tabler/icons-react";
+import { IconCheck, IconChevronDown, IconChecklist, IconX } from "@tabler/icons-react";
import { useIntegrationsWithUseAccess } from "@homarr/auth/client";
import { useRequiredBoard } from "@homarr/boards/context";
@@ -22,6 +22,10 @@ export const BoardSetupChecklist = () => {
key: `homarr-board-setup-checklist-${board.id}`,
defaultValue: false,
});
+ const [dismissed, setDismissed] = useLocalStorage({
+ key: `homarr-board-setup-checklist-dismissed-${board.id}`,
+ defaultValue: false,
+ });
const t = useI18n("board.setupChecklist");
const tCommon = useI18n("common.action");
const progress = getBoardSetupProgress({
@@ -29,7 +33,7 @@ export const BoardSetupChecklist = () => {
usableIntegrationCount: integrations.length,
});
- if (!isEditMode || progress.isComplete) return null;
+ if (!isEditMode || progress.isComplete || dismissed) return null;
if (collapsed) {
return (
@@ -58,11 +62,18 @@ export const BoardSetupChecklist = () => {
{t("description")}
</Text>
</div>
- <Tooltip label={t("collapse")}>
- <ActionIcon variant="subtle" aria-label={t("collapse")} onClick={() => setCollapsed(true)}>
- <IconChevronDown size={18} />
- </ActionIcon>
- </Tooltip>
+ <Group gap={4} wrap="nowrap">
+ <Tooltip label={t("collapse")}>
+ <ActionIcon variant="subtle" aria-label={t("collapse")} onClick={() => setCollapsed(true)}>
+ <IconChevronDown size={18} />
+ </ActionIcon>
+ </Tooltip>
+ <Tooltip label={t("dismiss")}>
+ <ActionIcon variant="subtle" aria-label={t("dismiss")} onClick={() => setDismissed(true)}>
+ <IconX size={18} />
+ </ActionIcon>
+ </Tooltip>
+ </Group>
</Group>
<Progress
value={progress.totalCount === 0 ? 0 : (progress.completedCount / progress.totalCount) * 100}
diff --git a/packages/translation/src/lang/en.json b/packages/translation/src/lang/en.json
index fbc3a2140..a3d6a30d6 100644
--- a/packages/translation/src/lang/en.json
+++ b/packages/translation/src/lang/en.json
@@ -5738,6 +5738,7 @@
"title": "Make this board useful",
"description": "Pick up where you left off. Progress follows the content already on this board.",
"collapse": "Collapse setup checklist",
+ "dismiss": "Dismiss setup checklist",
"resume": "Continue setup ({completed}/{total})",
"progress": "Board setup progress",
"step": {