feat(viewer): support hardware contract 2.10
This commit is contained in:
@@ -10,7 +10,8 @@ It is designed to be embedded as a module in other Go applications that already
|
||||
|
||||
- Render one Reanimator JSON snapshot as HTML
|
||||
- Read-only presentation of top-level metadata and hardware sections
|
||||
- Tabular rendering for arrays such as `cpus`, `memory`, `storage`, `pcie_devices`, `power_supplies`, and sensor subsections
|
||||
- Tabular rendering for arrays such as `cpus`, `memory`, `storage`, `pcie_devices`, `power_supplies`, `event_logs`, and sensor subsections
|
||||
- Object rendering for singleton/config sections such as `board` and `platform_config`
|
||||
- Status color coding for fast scanning
|
||||
- Lightweight section navigation
|
||||
- Standalone HTML rendering or embeddable HTTP handler
|
||||
|
||||
@@ -30,13 +30,16 @@ Preferred order:
|
||||
6. `pcie_devices`
|
||||
7. `power_supplies`
|
||||
8. `sensors`
|
||||
9. unknown sections
|
||||
9. `event_logs`
|
||||
10. `platform_config`
|
||||
11. unknown sections
|
||||
|
||||
## Section Presentation
|
||||
|
||||
- singleton object sections render as key-value table
|
||||
- array sections render as compact data tables
|
||||
- sensors render as separate subtables for `fans`, `power`, `temperatures`, and `other`
|
||||
- `platform_config` renders as a key-value table without interpreting setting names or values
|
||||
|
||||
## Visual Rules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user