feat: add agent dropdown for task assignment

- Replace assignee text input with select dropdown
- Populate dropdown with agents from /api/agents endpoint
- Add styling to match existing form elements
- Improves UX by preventing typos and showing available agents
This commit is contained in:
2026-03-03 16:25:12 -08:00
parent 1804aa664b
commit f907a72530
3 changed files with 59 additions and 1 deletions

View File

@@ -30,7 +30,9 @@
<h3>Create Task</h3>
<form id="task-form">
<input id="title" name="title" placeholder="Task title" required />
<input id="assignee" name="assignee" placeholder="Assignee agent" />
<select id="assignee" name="assignee">
<option value="">Select agent...</option>
</select>
<select id="priority" name="priority">
<option>Low</option>
<option selected>Medium</option>