Polish topology chrome for denser dark UI and canvas-aware overlays.

Flatten nested toolbar boxes, add a resizable sidebar and selective off-map NE add, and make fullscreen floats/minimap follow canvas background.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-10 00:02:44 +08:00
parent 75d03f5f9b
commit 52cd4d1298
5 changed files with 727 additions and 211 deletions

View file

@ -1468,6 +1468,12 @@ const en = {
folderHint: "Creating a root auto-creates its unique root map. Add sub-regions on that canvas.",
folderHintShort: "Root folder",
outsidePeers: "{{count}} outside peer(s) linked but not on this map",
outsidePeersView: "Off-map NEs {{count}}",
outsidePeersTitle: "Outside peers",
outsidePeersHint: "Linked to this map but not placed. Select and add only what you need.",
outsidePeersVia: "via {{name}}",
outsidePeersFilterPh: "Filter: name / IP / via",
outsidePeersEmpty: "No matching outside peers",
projectNeighbors: "Project neighbors",
projectedNeighbors: "Projected {{count}} neighbor(s) onto the map",
localBrowserOnly: "this browser only",
@ -1602,7 +1608,7 @@ const en = {
fit: "Fit view",
liveSync: "Live sync",
liveSyncOn: "Syncing…",
liveSyncHint: "Poll the tree about every 5s and the open map every 3s (watch MCP create/draw). Off by default. No need to open a map first",
liveSyncHint: "Poll the tree about every 5s and the open map every 3s (watch MCP create/draw). Off by default",
fullscreen: "Fullscreen",
exitFullscreen: "Exit fullscreen",
display: "Display",
@ -1634,6 +1640,7 @@ const en = {
edgeFlow: "Edge flow",
collapseSidebar: "Collapse sidebar",
expandSidebar: "Expand sidebar",
resizeSidebar: "Drag to resize sidebar",
hideAdded: "Hide added",
paletteEmpty: "No matching NEs.",
paletteHiddenAll: "Added NEs are hidden; uncheck to show them again.",

View file

@ -1457,6 +1457,12 @@ const zh = {
folderHint: "新建根时自动创建唯一「根图」。子区域请在根图画布上创建。",
folderHintShort: "根目录",
outsidePeers: "图外对端 {{count}} 个(有链路未上图)",
outsidePeersView: "未上图网元 {{count}}",
outsidePeersTitle: "图外对端",
outsidePeersHint: "与画布有链路但未上图。勾选后按需添加,不必一次全部投影。",
outsidePeersVia: "经 {{name}}",
outsidePeersFilterPh: "筛选:名称 / IP / 经谁",
outsidePeersEmpty: "没有匹配的图外对端",
projectNeighbors: "投影邻居上图",
projectedNeighbors: "已投影 {{count}} 个邻居上图",
localBrowserOnly: "仅本浏览器",
@ -1587,7 +1593,7 @@ const zh = {
fit: "适应画布",
liveSync: "实时同步",
liveSyncOn: "同步中…",
liveSyncHint: "开启后约每 5 秒刷新左侧树、每 3 秒刷新已打开的图(观看 MCP 建图/画拓扑);默认关闭。不需要先打开画布",
liveSyncHint: "开启后约每 5 秒刷新左侧树、每 3 秒刷新当前画布(观看 MCP 建图/画拓扑);默认关闭",
fullscreen: "全屏显示",
exitFullscreen: "退出全屏",
display: "显示",
@ -1619,6 +1625,7 @@ const zh = {
edgeFlow: "链路流动",
collapseSidebar: "折叠侧栏",
expandSidebar: "展开侧栏",
resizeSidebar: "拖动调整侧栏宽度",
hideAdded: "隐藏已添加",
paletteEmpty: "没有匹配的网元。",
paletteHiddenAll: "已添加网元已隐藏;取消勾选可重新显示。",