feat(notifications): settings notification preferences

This commit is contained in:
Gabriel Brown
2026-07-11 16:41:35 -04:00
parent c241941e41
commit 8d7486bc8c
6 changed files with 463 additions and 1 deletions
+10 -1
View File
@@ -3,7 +3,15 @@
import type { ReactNode } from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import { Brain, FileCog, Github, ServerCog, Shield, User } from 'lucide-react';
import {
Bell,
Brain,
FileCog,
Github,
ServerCog,
Shield,
User,
} from 'lucide-react';
import { cn } from '@spoon/ui';
@@ -12,6 +20,7 @@ const settingsItems = [
{ href: '/settings/integrations', label: 'Integrations', icon: Github },
{ href: '/settings/ai-providers', label: 'AI providers', icon: Brain },
{ href: '/settings/dotfiles', label: 'Dotfiles', icon: FileCog },
{ href: '/settings/notifications', label: 'Notifications', icon: Bell },
{ href: '/settings/worker', label: 'Worker', icon: ServerCog },
{ href: '/settings/security', label: 'Security', icon: Shield },
];
@@ -0,0 +1,19 @@
import { NotificationPreferencesPanel } from '@/components/settings/notification-preferences-panel';
const SettingsNotificationsPage = () => {
return (
<section className='max-w-3xl space-y-4'>
<div>
<h2 className='text-xl font-semibold'>Notifications</h2>
<p className='text-muted-foreground mt-1 text-sm'>
Choose which notifications also reach you by email. In-app
notifications always show in the bell; these toggles only control the
email copies.
</p>
</div>
<NotificationPreferencesPanel />
</section>
);
};
export default SettingsNotificationsPage;