From 765496a4cfa2614db17b1e6ffedc9e878cb67999 Mon Sep 17 00:00:00 2001 From: Cam Proudlock Date: Fri, 28 Aug 2026 16:23:21 -0400 Subject: [PATCH] File the Fleet nav item under Assets and store policy JSON as TEXT --- frontend/src/views/AppLayout.vue | 1 - plugins/endpoints/plugin.py | 9 ++++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/AppLayout.vue b/frontend/src/views/AppLayout.vue index 84452a9c..cdf8ce56 100644 --- a/frontend/src/views/AppLayout.vue +++ b/frontend/src/views/AppLayout.vue @@ -218,7 +218,6 @@ const NAV_SECTIONS = [ { key: null, label: null }, { key: 'assets', label: 'Assets' }, { key: 'information', label: 'Information' }, - { key: 'fleet', label: 'Fleet' }, ] function buildNavItems(items) { diff --git a/plugins/endpoints/plugin.py b/plugins/endpoints/plugin.py index 77d02ca3..ed012b37 100644 --- a/plugins/endpoints/plugin.py +++ b/plugins/endpoints/plugin.py @@ -177,8 +177,11 @@ class EndpointsPlugin(BasePlugin): def get_navigation_items(self) -> List[Dict]: """Sidebar entry for the fleet list view. - Sits just after the PCs item (position 15) because the fleet view is - a telemetry lens over the same computers. + Filed under Assets, immediately after PCs (position 15), because the + fleet view is a telemetry lens over the same computers rather than a + different kind of thing. It shipped declaring a section of its own, + which rendered a one-item 'Fleet' group at the bottom of the sidebar, + far from the PCs it describes. """ return [ { @@ -187,7 +190,7 @@ class EndpointsPlugin(BasePlugin): 'route': '/endpoints', 'position': 16, 'permission': 'endpoints.view', - 'section': 'fleet', + 'section': 'assets', }, ]