Add manager select to hire dialog
The hire dialog now shows a manager dropdown so new agents can be placed under an existing agent in the org hierarchy.
This commit is contained in:
1 parent
3799f73069
commit
1997b4aea5
1 file changed
+6
@@ -142,6 +142,12 @@ export function TeamPage({ snapshot, actions }: PageProps) {
|
||||
<Field label="Model">
|
||||
<input className="input" name="modelId" list="agent-model-suggestions" value={hireModelId} onChange={(event) => setHireModelId(event.currentTarget.value)} />
|
||||
</Field>
|
||||
<Field label="Manager">
|
||||
<select className="input" name="managerAgentId" defaultValue="">
|
||||
<option value="">None</option>
|
||||
{agents.map((agent) => <option key={agent.id} value={agent.id}>{agent.name} · {agent.role}</option>)}
|
||||
</select>
|
||||
</Field>
|
||||
<Field label="Monthly budget"><input className="input" name="budget" type="number" min="0" step="1" defaultValue="250" /></Field>
|
||||
<Field label="Seniority">
|
||||
<select className="input" name="roleLevel" defaultValue="staff">
|
||||
|
||||
Reference in new issue
Block a user