forked from Blendman974/faceclaw
Notifications menu; UI refinements; teleprompt by sharing a text file
This commit is contained in:
1 parent
ef6cb3bf55
commit
8d6fe60c79
12 files changed
+991
-36
No files matched your search
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user