feat(ui): auto-start-on-calendar-event toggle in Settings > Recording

This commit is contained in:
iamdoubz committed 2026-07-11 00:31:34 -05:00
1 parent 21101054a4
commit 6b164cd02a
1 file changed
+16
+16
View File
@@ -663,6 +663,22 @@
: "not yet acknowledged"}.
</p>
<label class="row">
<input
type="checkbox"
checked={settings.settings.auto_record_calendar}
onchange={(e) =>
settings.patch({ auto_record_calendar: (e.target as HTMLInputElement).checked })}
/>
<span>Auto-start recording when a calendar event begins</span>
</label>
<p class="muted">
Only while WhispAssist is open. When an imported calendar event's start time arrives, a
recording begins automatically (using your default retention setting above). Nothing runs
in the background — the timer is armed only while the app is running. Import events under
Settings → Calendar.
</p>
{#if showConsent}
<ConsentNotice onAccept={acceptConsent} onCancel={() => (showConsent = false)} />
{/if}