Drop the Actions tab and give wide panels the full width

This commit is contained in:
2026-08-31 14:41:20 -04:00
parent 0d49341a2a
commit 2fce339735
5 changed files with 45 additions and 21 deletions

View File

@@ -372,8 +372,7 @@ class BasePlugin(ABC):
'position': int, # order among panels
'group': str, # OPTIONAL. Which tab on the detail page:
# 'details' | 'software' | 'metrics'
# | 'actions' | 'activity'. Omitted means
# 'details'.
# | 'activity'. Omitted means 'details'.
}
ON 'group'. The detail pages are tabbed, and a panel says which tab it
@@ -384,8 +383,14 @@ class BasePlugin(ABC):
existing plugin working untouched: an unknown or absent group resolves
to 'details', which is the tab that holds what an asset IS. Reach for
another group only when the panel is the thing that tab exists for -
an inventory listing, live telemetry, controls that act on the machine,
or a history feed.
an inventory listing, live telemetry, or a history feed.
There is deliberately no group for controls. A panel that acts on the
machine belongs beside the state it acts on: tracked services read as
telemetry first and a Start/Stop second, so they live in 'metrics' with
the rest of what the endpoint reports. Splitting the buttons away from
the state they change made a tab that held one card and answered no
question on its own.
Consumed by GET /api/pluginui/asset-panels?assetid=<id>, which returns
the panels matching that asset's type. Disabled plugins