feat #14740: settings, keyring, tray and manual recording

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hauke
2026-11-05 14:58:36 +01:00
co-authored by Claude Opus 5.5
parent ef07ecab1e
commit 1a2fc518ab
21 changed files with 2804 additions and 59 deletions
+34 -3
View File
@@ -1,3 +1,34 @@
<main>
<h1>Gesprächsrekorder</h1>
</main>
<script lang="ts">
import { onMount } from 'svelte'
import Recorder from './routes/Recorder.svelte'
import Settings from './routes/Settings.svelte'
let route = $state(currentRoute())
function currentRoute(): string {
return window.location.hash.replace(/^#/, '') || '/'
}
onMount(() => {
const update = () => (route = currentRoute())
window.addEventListener('hashchange', update)
return () => window.removeEventListener('hashchange', update)
})
</script>
{#if route === '/recorder'}
<Recorder />
{:else if route === '/settings'}
<Settings />
{:else if route === '/prompt'}
<main class="page">
<p class="muted">Gespräch beendet.</p>
</main>
{:else}
<main class="page">
<header class="page-header">
<h1>Gesprächsrekorder</h1>
<a class="btn" href="#/settings" title="Einstellungen">⚙ Einstellungen</a>
</header>
</main>
{/if}