feat(web/swarm): fold agent enrollment into a wizard on Swarm Hosts

This commit is contained in:
2026-04-22 18:05:26 -04:00
parent bff350400f
commit 53647d66b7
6 changed files with 339 additions and 209 deletions

View File

@@ -11,7 +11,6 @@ import Config from './components/Config';
import Bounty from './components/Bounty';
import RemoteUpdates from './components/RemoteUpdates';
import SwarmHosts from './components/SwarmHosts';
import AgentEnrollment from './components/AgentEnrollment';
import MazeNET from './components/MazeNET/MazeNET';
import TopologyList from './components/TopologyList/TopologyList';
import CommandPalette from './components/CommandPalette/CommandPalette';
@@ -87,7 +86,7 @@ const AuthedShell: React.FC<AuthedShellProps> = ({ onLogout, onSearch, searchQue
<Route path="/config" element={<Config />} />
<Route path="/swarm-updates" element={<RemoteUpdates />} />
<Route path="/swarm/hosts" element={<SwarmHosts />} />
<Route path="/swarm/enroll" element={<AgentEnrollment />} />
<Route path="/swarm/enroll" element={<Navigate to="/swarm/hosts" replace />} />
<Route path="*" element={<Navigate to="/" replace />} />
</Routes>
</Layout>