Feature chore bug 007 #21

Merged
iamdoubz merged 68 commits from feature_chore_bug_007 into main 2026-07-12 12:59:04 -05:00
Showing only changes of commit cfe73e7d80 - Show all commits
+5 -7
View File
@@ -3,21 +3,19 @@
// Settings "Record by default" toggle and the mid-meeting retention toggle
// so both gate on the same copy and the same acknowledgment call.
import { ShieldAlert } from "@lucide/svelte";
import { t } from "../i18n/index.svelte";
let { onAccept, onCancel }: { onAccept: () => void; onCancel: () => void } = $props();
</script>
<div class="consent">
<div class="heading">
<ShieldAlert size={18} aria-hidden="true" />
<strong>Before you record</strong>
<strong>{t("consent.heading")}</strong>
</div>
<p>
Recording conversations without the consent of participants may be illegal in your region. Check
your local recording laws. This is a caution, not legal advice.
</p>
<p>{t("consent.body")}</p>
<div class="actions">
<button class="primary" onclick={onAccept}>I understand — enable recording</button>
<button onclick={onCancel}>Cancel</button>
<button class="primary" onclick={onAccept}>{t("consent.accept")}</button>
<button onclick={onCancel}>{t("consent.cancel")}</button>
</div>
</div>