Add configuration options to the glanceboard system card and music card

This commit is contained in:
James Babcock committed 2026-10-13 16:41:14 -07:00
1 parent 13da595de0
commit df95cc4064
12 files changed
+367 -107

No files matched your search

+5
View File
@@ -15,6 +15,11 @@ export function isTerminalWidgetConfigured(): boolean {
return isGlanceWidgetConfigured("terminal");
}
/** Whether the system card can show: it is in a slot and the Glanceboard is enabled. */
export function isSystemCardWidgetInUse(): boolean {
return getBooleanSetting("glanceboard.enabled", false) && isGlanceWidgetConfigured("system-card");
}
/**
* Whether the T3 Code widget can show: it is in a slot and the Glanceboard is
* enabled (the T3 worker holds its server connections open only then).