Trim the Servers page down to a server list + add-server flow
Scheduled-task browsing/editing already lives on each server's detail page (ServerDetail.tsx), so the overview page's filters, task-group listing, and add/edit-task form were pure duplication -- the only things it needs to do are list servers (as clickable cards) and let an admin register new ones / issue or rotate agent tokens. Renamed ServersTasks.tsx -> Servers.tsx to match its new, narrower scope; updated the nav label, route, and ServerDetail's back-link text from "Servers & Tasks" to "Servers" accordingly. No server-side or API changes -- this only removes now-redundant frontend code. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9f2d27e2c4
commit
a781df9c51
6 files changed
+319
-610
No files matched your search
@@ -255,7 +255,7 @@ export default function ServerDetail({ user }: { user: CurrentUser }) {
|
||||
<>
|
||||
<div className="mb-3">
|
||||
<Link to="/servers" className="text-secondary">
|
||||
← Servers & Tasks
|
||||
← Servers
|
||||
</Link>
|
||||
</div>
|
||||
<div className="d-flex align-items-center mb-3">
|
||||
|
||||
Reference in new issue
Block a user