feat(settings): Introduce SettingsPanel component with push notification toggle controls and subscription management UI

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-04-08 21:16:32 -07:00
parent 884179d25f
commit fc9b54c3cc

View file

@ -5,6 +5,7 @@ import { Tooltip } from '@lilith/ui-feedback';
import { AnimatePresence, motion } from '@lilith/ui-motion';
import type { VoiceSessionState } from '../voice/VoiceSession';
import type { Settings, SettingsActions } from './useSettings';
import { PushSubscribePrompt } from '../push/PushSubscribePrompt';
interface PersonaOption {
id: string;
@ -381,6 +382,13 @@ export function SettingsPanel({
</Row>
</Section>
<Section>
<SectionTitle>Notifications</SectionTitle>
<div style={{ padding: '4px 20px 12px' }}>
<PushSubscribePrompt apiBaseUrl={apiBaseUrl} />
</div>
</Section>
<Section>
<SectionTitle>Connection</SectionTitle>
<Row>