Harden UME/LLDP link ports and canvas styles around UME authority.

Resolve ports from EQ+PTP first, enrich from LLDP when compatible, miss only on valid LLDP evidence, and paint UME solid blue / LLDP dashed / missing red. Also localize new root maps as Root map in English.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-07 16:33:25 +08:00
parent 77832b271d
commit 137597cd25
16 changed files with 736 additions and 152 deletions

View file

@ -1060,7 +1060,14 @@ export const fetchTopologyViews = () =>
export const fetchTopologyTree = () => apiGet<TopologyTree>("/v1/topology/tree");
export const createTopologyFolder = (body: { name: string; kind?: string; parent_id?: string; sort_order?: number }) =>
export const createTopologyFolder = (body: {
name: string;
kind?: string;
parent_id?: string;
sort_order?: number;
/** UI locale so auto-spawned root map is「根图」or "Root map". */
locale?: string;
}) =>
apiPost<{
id: string;
parent_id: string;