split monitors tab and surface boot type and nic link state
Tracked Services and Tracked Processes were sharing a tab with system health cards, so what is running on the box and how the box itself is doing read as one list. They now sit in a Service/Process Monitors tab and the old tab is System Monitors. The group vocabulary is duplicated across the renderer, the tab map and the panel declarations with nothing checking they agree, and a group named in one but not the others is dropped in silence - that has eaten cards twice. Tests now pin the vocabulary on both sides. Boot type and NIC link state were collected in Phase 2 but shown nowhere. Boot type only renders when fast startup applies, because uptime measured from a resume understates how long the kernel has been up and that is the case worth naming. Link state leaves a disconnected NIC unknown rather than half duplex: live hardware returns empty speed and duplex when unplugged, and half duplex is the cable fault signature this column exists to catch.
This commit is contained in:
@@ -339,10 +339,16 @@
|
||||
feed all belong to the endpoints plugin, and core knows nothing about
|
||||
them.
|
||||
|
||||
Monitors keeps the two-column flow because it is short cards. -->
|
||||
Monitors keeps the two-column flow because it is short cards, and
|
||||
Service/Process Monitors does the same: both are short fact cards
|
||||
rather than the long lists that make Software and Activity go full
|
||||
width. -->
|
||||
<div v-show="activegroup === 'monitors'" class="content-grid">
|
||||
<PluginAssetPanels :assetid="computer.assetid" group="monitors" />
|
||||
</div>
|
||||
<div v-show="activegroup === 'serviceprocess'" class="content-grid">
|
||||
<PluginAssetPanels :assetid="computer.assetid" group="serviceprocess" />
|
||||
</div>
|
||||
<div v-show="activegroup === 'activity'" class="detail-full">
|
||||
<PluginAssetPanels :assetid="computer.assetid" group="activity" />
|
||||
</div>
|
||||
@@ -444,7 +450,12 @@ const detailtabs = computed(() => {
|
||||
const tabs = [{ key: 'details', label: 'Details' }]
|
||||
// Monitors sits second: what is being watched on this box is the question
|
||||
// asked right after "what is it", and well before its software inventory.
|
||||
if (has('monitors')) tabs.push({ key: 'monitors', label: 'Monitors' })
|
||||
// Renamed to System Monitors now that service/process watching is its own
|
||||
// tab: this one is the box's own health, that one is what runs on it.
|
||||
if (has('monitors')) tabs.push({ key: 'monitors', label: 'System Monitors' })
|
||||
if (has('serviceprocess')) {
|
||||
tabs.push({ key: 'serviceprocess', label: 'Service/Process Monitors' })
|
||||
}
|
||||
if (has('software') || installedApps.value.length > 0) {
|
||||
tabs.push({ key: 'software', label: 'Software', count: installedApps.value.length || null })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user