forked from Blendman974/faceclaw
Voice input suspends the screen-off timer; add menu to Nightscout; fix defocused highlight style in Terminal menu
This commit is contained in:
1 parent
026a8ed439
commit
3452945322
5 files changed
+87
-30
No files matched your search
@@ -18,12 +18,10 @@ import {
|
||||
toggleSettingMenuItem,
|
||||
uiFontSetting,
|
||||
voiceProviderSetting,
|
||||
nightscoutSiteUrlSetting,
|
||||
nightscoutApiTokenSetting,
|
||||
screenTimeoutSetting,
|
||||
wakeWordActionSetting,
|
||||
} from "../dashboard-settings";
|
||||
import { openSettingsSubMenu, SettingsPanelLayer, type SettingsSection } from "./settings-panel";
|
||||
import { SettingsPanelLayer, type SettingsSection } from "./settings-panel";
|
||||
|
||||
/** The Settings app's master-detail panel (sections on the left, contents on the right). */
|
||||
export function createSettingsPanelLayer(): SettingsPanelLayer {
|
||||
@@ -63,20 +61,6 @@ function settingsSections(): SettingsSection[] {
|
||||
textSettingMenuItem(anthropicApiKeySetting),
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Integrations",
|
||||
items: [
|
||||
{
|
||||
label: "Nightscout",
|
||||
onSelect: (ctx) => {
|
||||
openSettingsSubMenu(ctx, "Nightscout", [
|
||||
textSettingMenuItem(nightscoutSiteUrlSetting),
|
||||
textSettingMenuItem(nightscoutApiTokenSetting),
|
||||
]);
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Terminal",
|
||||
items: [
|
||||
|
||||
Reference in new issue
Block a user