dashboard-v2 frontend: node column + clickable pills on storage tabs
Build with clawstor cache / Cargo build (clawstor-cached) (pull_request) Failing after 3s
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:
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user