feat(todo): configure nav items for visibility settings

Pass app-specific navigation items to GlobalSettingsSection.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-12-10 16:00:04 +01:00 committed by Wuesteon
parent 6c2d603a1a
commit 6bc3c0998c

View file

@ -125,7 +125,20 @@
</SettingsSection>
<!-- Global Settings Section (synced across all apps) -->
<GlobalSettingsSection {userSettings} appId="todo" />
<GlobalSettingsSection
{userSettings}
appId="todo"
navItems={[
{ href: '/', label: 'Aufgaben', icon: 'list' },
{ href: '/kanban', label: 'Kanban', icon: 'columns' },
{ href: '/statistics', label: 'Statistiken', icon: 'chart' },
{ href: '/tags', label: 'Tags', icon: 'tag' },
{ href: '/network', label: 'Netzwerk', icon: 'share-2' },
{ href: '/settings', label: 'Einstellungen', icon: 'settings' },
{ href: '/feedback', label: 'Feedback', icon: 'chat' },
]}
alwaysVisibleHrefs={['/', '/settings']}
/>
<!-- Task Behavior Section -->
<SettingsSection title="Task-Verhalten">