Canonical component types, Compare config UI

- Rename parser_hardware.go component type keys to canonical values:
  pcie -> pcie_device, psu -> power_supply
- Update normalizeComponentType to map legacy aliases (pci, psu, dimm,
  ram, processor, network_adapter, etc.) to canonical keys; treat
  "null"/"-" as unknown
- componentTypeTitle handles new canonical keys (pcie_device,
  power_supply)
- Assets list: add Compare config action — opens new window with
  slot-diff and model-count-diff tables for selected servers
- Archive Actions section spec in ui-information-architecture.md
- Add tests: normalizeComponentType aliases, componentTypeTitle aliases,
  FlattenHardwareComponents canonical type keys

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Mikhail Chusavitin
2026-03-15 14:34:22 +03:00
parent d5264dbf90
commit 3dbd359d4e
6 changed files with 399 additions and 4 deletions

View File

@@ -238,6 +238,10 @@ List behavior checklist (page-by-page):
Assets list specifics:
- `All Assets` table filtering is server-side and applies to the full dataset before pagination.
- `Actions` section includes:
- `New Asset`
- `Compare config` (opens in a separate window/tab, compares hardware composition for selected servers, shows differences)
- `Delete Selected (With Details)`
- `All Assets` supports global bulk selection:
- Header `Select` checkbox can select all assets across all pagination pages.
- Selected IDs persist across page navigation and are stored in browser local storage.