A To do card on server pages and in a device's drawer

- The open jobs about a server (or device) are listed on its page, with a line to add another already about it and a box to tick one off with Undo
- GET /api/todos takes ?targetType=&targetId= to list only those about one thing
- README and ROLES updated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-20 22:46:12 +02:00
1 parent 18ceed62e8
commit 788b3e073c
10 files changed
+164 -9

No files matched your search

+2
View File
@@ -16,6 +16,7 @@ import ServerPorts from "../components/ServerPorts";
import ServerTrends from "../components/ServerTrends";
import UptimeHistory from "../components/UptimeHistory";
import NotesCard from "../components/NotesCard";
import TodosCard from "../components/TodosCard";
import ServerActivity from "../components/ServerActivity";
import TimeAgo from "../components/TimeAgo";
import UptimeRibbon from "../components/UptimeRibbon";
@@ -764,6 +765,7 @@ export default function ServerDetail({ user }: { user: CurrentUser }) {
</div>
</div>
<TodosCard targetType="server" targetId={server.id} canEdit={canEditTasks} />
<NotesCard targetType="server" targetId={server.id} canEdit={canEditTasks} />
<div className="card mb-3">
<div className="card-header">