feat: make agent name editable in review step of creation modal

This commit is contained in:
Agustin Sacco
2026-05-24 04:57:53 -04:00
parent 2d04cbe09d
commit bad675994a
2 changed files with 15 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
---
"@runfusion/fusion": patch
---
Enable editing the agent name during the review step of the New Agent dialog.

View File

@@ -736,12 +736,16 @@ export function NewAgentDialog({
Review your agent configuration before creating.
</p>
<div className="agent-dialog-summary">
<div className="agent-dialog-summary-row">
<span className="agent-dialog-summary-row-label">Name</span>
<span className="agent-dialog-summary-row-value">
{icon && <span className="agent-dialog-icon-prefix">{icon}</span>}
{name}
</span>
<div className="agent-dialog-summary-row agent-dialog-summary-row--editable">
<label className="agent-dialog-summary-row-label" htmlFor="agent-review-name">Name</label>
<input
id="agent-review-name"
type="text"
className="input"
placeholder="e.g. Frontend Reviewer"
value={name}
onChange={e => setName(e.target.value)}
/>
</div>
<div className="agent-dialog-summary-row agent-dialog-summary-row--editable agent-dialog-summary-row--title">
<label className="agent-dialog-summary-row-label" htmlFor="agent-review-title">Title</label>