Files
cannamanage/cannamanage-frontend/src/data/navigations.ts
T
Patrick Plate e4698827ee feat(sprint8): Phase 4 — Dokumentenarchiv + Vorstandsverwaltung
Backend:
- V20 migration: documents table with category, access_level, file storage
- V21 migration: board_positions + board_members with term tracking
- Document entity + DocumentCategory/DocumentAccessLevel enums
- BoardPosition + BoardMember entities
- Extended AuditEventType (DOCUMENT_UPLOADED/DELETED, BOARD_MEMBER_ELECTED/REMOVED)
- Extended StaffPermission (MANAGE_DOCUMENTS)
- Extended NotificationType (BOARD_TERM_EXPIRING)
- DocumentService: upload, list, download, delete, storage usage
- BoardService: positions CRUD, elect/remove members, current/history
- DocumentController: multipart upload, filtered list, download, delete, portal
- BoardController: positions, elect, remove, current board, history, portal

Frontend:
- documents.ts + board.ts service layers
- Admin /documents page: grouped by category, upload dialog, filter, download/delete
- Admin /board page: current board cards, position management, elect member dialog
- Navigation: added Dokumente + Vorstand to sidebar
- i18n: documents.* + board.* keys in de.json + en.json
2026-06-15 08:53:38 +02:00

90 lines
1.7 KiB
TypeScript

import type { NavigationType } from "@/types"
export const navigationsData: NavigationType[] = [
{
title: "Main",
items: [
{
title: "Dashboard",
href: "/dashboard",
iconName: "LayoutDashboard",
},
{
title: "Mitglieder",
href: "/members",
iconName: "Users",
},
{
title: "Ausgabe",
href: "/distributions",
iconName: "Leaf",
},
{
title: "Lager",
href: "/stock",
iconName: "Package",
},
{
title: "Anbau",
href: "/grow",
iconName: "Sprout",
},
{
title: "Berichte",
href: "/reports",
iconName: "FileText",
},
{
title: "Schwarzes Brett",
href: "/info-board",
iconName: "Megaphone",
},
{
title: "Finanzen",
href: "/finance",
iconName: "Wallet",
},
{
title: "Versammlungen",
href: "/assemblies",
iconName: "Gavel",
},
{
title: "Dokumente",
href: "/documents",
iconName: "FileArchive",
},
{
title: "Vorstand",
href: "/board",
iconName: "Shield",
},
{
title: "Kalender",
href: "/calendar",
iconName: "Calendar",
},
{
title: "Forum",
href: "/forum",
iconName: "MessageSquare",
},
{
title: "Personal",
href: "/settings/staff",
iconName: "UserCog",
},
],
},
{
title: "Compliance",
items: [
{
title: "Protokoll",
href: "/audit-log",
iconName: "ScrollText",
},
],
},
]