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:
parent
884179d25f
commit
fc9b54c3cc
1 changed files with 8 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue