1
0
forked from wrenn/wrenn

Move metrics to dedicated nav item, simplify capsules page

- Add Metrics nav item to sidebar with bar chart icon
- Create /dashboard/metrics page wrapping StatsPanel
- Remove tabs from capsules page (list is now the only view)
- Flatten capsules route: /capsules directly shows the list,
  removing the /list and /stats sub-routes
- Strip redundant title/subtitle from StatsPanel (page header
  provides context)
This commit is contained in:
2026-03-25 15:24:21 +06:00
parent 47b0ed5b52
commit 930da8a578
10 changed files with 825 additions and 808 deletions

View File

@ -21,7 +21,8 @@
IconDocs,
IconAudit,
IconServer,
IconShield
IconShield,
IconMetrics
} from './icons';
let { collapsed = $bindable(false) }: { collapsed: boolean } = $props();
@ -47,6 +48,7 @@
const platformItems: NavItem[] = [
{ label: 'Capsules', icon: IconMonitor, href: '/dashboard/capsules' },
{ label: 'Metrics', icon: IconMetrics, href: '/dashboard/metrics' },
{ label: 'Templates', icon: IconBox, href: '/dashboard/snapshots' }
];