feat(web): cluster page optimized — self/leader/phase badges, ring arrow, create vs revoke command styling, topology owner highlight, colored log kinds, self highlights

This commit is contained in:
2026-08-18 09:54:29 +08:00
parent 40980944e5
commit 86b265637d
6 changed files with 94 additions and 53 deletions

View File

@ -190,6 +190,7 @@ export interface RingNode {
export interface RingTaskInfo {
id: string;
revoke?: boolean;
local: { name: string };
remote: { name: string };
link: { remotePort?: number };
@ -212,8 +213,10 @@ export interface RingLogEntry {
}
export interface RingSnapshot {
selfId: string;
leaderId: string;
cycle: number;
phase: number; // 1=collect, 2=sync
roundDelayMs?: number;
nodes: RingNode[];
pending: RingTaskInfo[];