diff --git a/src/App.svelte b/src/App.svelte index c095571..21777fb 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -7,6 +7,7 @@ import Settings from "./lib/views/Settings.svelte"; import ConsentNotice from "./lib/components/ConsentNotice.svelte"; import LevelMeter from "./lib/components/LevelMeter.svelte"; + import ImportMeeting from "./lib/components/ImportMeeting.svelte"; import { trapFocus } from "./lib/actions/trapFocus"; import { recording } from "./lib/stores/recording.svelte"; import { settings } from "./lib/stores/settings.svelte"; @@ -21,6 +22,7 @@ Circle, Square, Trash2, + FilePlus, Settings as SettingsIcon, AlertTriangle, PanelLeftClose, @@ -31,6 +33,13 @@ let showSettings = $state(false); let showConsent = $state(false); + let showImport = $state(false); + + // A freshly imported meeting: refresh the list and open it. + async function onImported(id: string) { + await meetings.load(); + await meetings.select(id); + } // Vault unlock gate (T8.8): if the vault is enabled but locked at startup, // prompt for the password so encrypted meetings are readable. @@ -237,6 +246,14 @@ {/each} +