Notifications menu; UI refinements; teleprompt by sharing a text file

This commit is contained in:
James Babcock committed 2026-05-17 17:05:54 -07:00
1 parent ef6cb3bf55
commit 8d6fe60c79
12 files changed
+991 -36

No files matched your search

+12
View File
@@ -18,6 +18,7 @@ import {
getDashboardSystemCardName,
isDashboardVoiceControlEnabled,
noteDashboardPhoneTextInput,
openTelepromptDocument,
receiveInput,
resetDashboardSleepTimerAndWake,
setDashboardBatteryLevels,
@@ -483,6 +484,17 @@ class DashboardController {
await this.handleInputEvent(event);
}
async openTelepromptDocument(text: string): Promise<void> {
openTelepromptDocument(text);
this.appendLog(`teleprompt document received (${text.length} chars)`);
if (this.phase === "connected" && this.communicator) {
await this.requestRender("interval");
return;
}
const image = drawDashboard();
this.updateDisplayPreviewFromImage(image);
}
private startSystemNameEdit(): void {
this.editingSystemCardName = true;
this.activeTextSettingEditorKind = "dashboard-name";