dashboard-v2 frontend: node column + clickable pills on storage tabs
Build with clawstor cache / Cargo build (clawstor-cached) (pull_request) Failing after 3s

All storage rows now carry a 'node' field from the aggregator.
Adds a small green-pill component that renders the source node
name; click drills into that node's detail page.

Also fixes the TS interfaces to match the new backend shape
(node field added to Blob/Tag/Ref/Snapshot/RefTracking types).
This commit is contained in:
Omar Sobh
2026-07-14 16:44:06 -07:00
parent 1211f0d891
commit b672037e42
5 changed files with 48 additions and 10 deletions
+6
View File
@@ -22,23 +22,28 @@ export interface FleetSnapshot {
nodes: NodeStatusV2[];
}
// Aggregator responses tag every row with the originating node.
export interface BlobSummary {
node: string;
blob_id_hex: string;
size_bytes: number;
chunk_count: number;
}
export interface TagSummary {
node: string;
key: string;
value_hex: string;
}
export interface RefSummary {
node: string;
fingerprint_hex: string;
blob_id_hex: string;
}
export interface SnapshotSummary {
node: string;
name: string;
created_at_unix: number;
blob_count: number;
@@ -46,6 +51,7 @@ export interface SnapshotSummary {
}
export interface RefTrackingItem {
node: string;
fingerprint_hex: string;
repo: string;
refs: string[];