refactor(ui): simplify indicator to status dot on board logo

Use Mantine Indicator with processing animation instead of custom CSS.
Switch from HoverCard to Menu with grouped sections. Remove beep,
position dot next to board logo, hide in edit mode.
This commit is contained in:
Thomas Camlong committed 2026-05-28 18:07:03 +02:00
1 parent fc80a61aef
commit cb5ae65f8a
4 files changed
+156 -125

No files matched your search

@@ -1,7 +1,10 @@
"use client";
import { Group } from "@mantine/core";
import { useRequiredBoard } from "@homarr/boards/context";
import { QueryRefreshIndicator } from "../header/query-refresh-indicator";
import { homarrLogoPath, homarrPageTitle } from "./homarr-logo";
import type { LogoWithTitleProps } from "./logo";
import { Logo, LogoWithTitle } from "./logo";
@@ -33,11 +36,14 @@ export const BoardLogoWithTitle = ({ size, hideTitleOnMobile }: CommonLogoWithTi
const board = useRequiredBoard();
const imageOptions = useImageOptions();
return (
<LogoWithTitle
size={size}
hideTitleOnMobile={hideTitleOnMobile}
title={board.pageTitle ?? homarrPageTitle}
image={imageOptions}
/>
<Group gap="xs" wrap="nowrap" align="center">
<LogoWithTitle
size={size}
hideTitleOnMobile={hideTitleOnMobile}
title={board.pageTitle ?? homarrPageTitle}
image={imageOptions}
/>
<QueryRefreshIndicator />
</Group>
);
};