mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
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:
parent
6c2d603a1a
commit
6bc3c0998c
1 changed files with 14 additions and 1 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue