web: unify Agent management and add a draggable link board
Replace Probe pages with directed Agent links, shared deployment controls and unified display data. Add node dragging, canvas pan and zoom, saved layouts, and per-direction link controls.
This commit is contained in:
1 parent
016dbc2bbf
commit
15f0023614
32 files changed
+937
-1093
No files matched your search
@@ -11,8 +11,7 @@ import { PasskeyNotice } from './PasskeyNotice'
|
||||
import { Setup } from './Setup'
|
||||
import { AgentDetail } from './pages/AgentDetail'
|
||||
import { Agents } from './pages/Agents'
|
||||
import { Probes } from './pages/Probes'
|
||||
import { ProbeDetail } from './pages/ProbeDetail'
|
||||
import { Links } from './pages/Links'
|
||||
import { System } from './pages/System'
|
||||
import { Tasks } from './pages/Tasks'
|
||||
import { Tests } from './pages/Tests'
|
||||
@@ -228,7 +227,7 @@ function Login() {
|
||||
}
|
||||
|
||||
const NAV = [
|
||||
{ section: '运维', items: [{ to: '/agents', label: 'Agent', icon: Server }, { to: '/probes', label: 'Probe', icon: Radar }] },
|
||||
{ section: '运维', items: [{ to: '/agents', label: 'Agent', icon: Server }, { to: '/links', label: '线路画板', icon: Radar }] },
|
||||
{ section: '测试', items: [{ to: '/tasks', label: '任务', icon: ListChecks }, { to: '/tests', label: '按需测试', icon: FlaskConical }] },
|
||||
{ section: '系统', items: [{ to: '/system', label: '系统', icon: Settings }] },
|
||||
]
|
||||
@@ -286,8 +285,7 @@ export function App() {
|
||||
<Route path="/" element={<Navigate to="/agents" replace />} />
|
||||
<Route path="/agents" element={<Agents />} />
|
||||
<Route path="/agents/:id" element={<AgentDetail />} />
|
||||
<Route path="/probes" element={<Probes />} />
|
||||
<Route path="/probes/:id" element={<ProbeDetail />} />
|
||||
<Route path="/links" element={<Links />} />
|
||||
<Route path="/tasks" element={<Tasks />} />
|
||||
<Route path="/tests" element={<Tests />} />
|
||||
<Route path="/system" element={<System />} />
|
||||
|
||||
Reference in new issue
Block a user