swarm-ui: move create-agent page off /agents, rename to CreateAgentPage
mara: the route should reflect creating an agent, and stay separate from a future agent list page. Renamed AgentsPage -> CreateAgentPage (file, component, css classes) and moved the route from /agents to /create-agent - flat, not /agents/new, since index.html's relative asset links only resolve correctly one path segment deep (filed separately as a real bug, not fixed here). Leaves the bare /agents path free for a future roster page.
This commit is contained in:
parent
d044281040
commit
47e89c1c93
4 changed files with 48 additions and 37 deletions
|
|
@ -19,7 +19,7 @@ import './Shell.css';
|
|||
|
||||
const NAV_ITEMS: { href: string; label: string }[] = [
|
||||
{ href: '/', label: 'overview' },
|
||||
{ href: '/agents', label: 'agents' },
|
||||
{ href: '/create-agent', label: 'new agent' },
|
||||
{ href: '/jobs', label: 'jobs' },
|
||||
{ href: '/components', label: 'components' },
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue