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:
@ -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' }
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user