feat(P10): add Propose type, list page, detail page with accept/reject/reopen + sidebar link

This commit is contained in:
zhi
2026-03-17 05:03:49 +00:00
parent e60763b128
commit 35e7d3a141
5 changed files with 318 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ export default function Sidebar({ user, onLogout }: Props) {
const links = user ? [
{ to: '/', icon: '📊', label: 'Dashboard' },
{ to: '/projects', icon: '📁', label: 'Projects' },
{ to: '/proposes', icon: '💡', label: 'Proposes' },
{ to: '/notifications', icon: '🔔', label: 'Notifications' + (unreadCount > 0 ? ' (' + unreadCount + ')' : '') },
{ to: '/monitor', icon: '📡', label: 'Monitor' },
...(user.is_admin ? [{ to: '/roles', icon: '🔐', label: 'Roles' }] : []),