continue working on user prefernces in command palette

This commit is contained in:
Thomas Camlong committed 2026-05-29 16:23:29 +02:00
1 parent 19d86daa87
commit e182d28605
11 files changed
+415 -161

No files matched your search

@@ -15,14 +15,20 @@ import { userPreferenceDefinitions } from "@homarr/settings";
import type { UserPreferenceKey } from "@homarr/settings";
import type { TablerIcon } from "@homarr/ui";
import { createChildrenOptions } from "../../../../lib/children";
import type { createChildrenOptions } from "../../../../lib/children";
import { languageChildrenOptions } from "../language";
import { createBoardChildrenOptions } from "./board";
import { colorSchemeChildrenOptions } from "./color-scheme";
import { firstDayOfWeekChildrenOptions } from "./first-day-of-week";
import { searchEngineChildrenOptions } from "./search-engine";
type ChildrenPreferenceKey = "colorScheme" | "locale" | "defaultSearchEngineId" | "firstDayOfWeek" | "homeBoardId" | "mobileHomeBoardId";
type ChildrenPreferenceKey =
| "colorScheme"
| "locale"
| "defaultSearchEngineId"
| "firstDayOfWeek"
| "homeBoardId"
| "mobileHomeBoardId";
type PreferenceChildrenOptionsFactory = ReturnType<typeof createChildrenOptions<Record<string, unknown>>>;