feat: make agent name editable in review step of creation modal
This commit is contained in:
5
.changeset/editable-agent-name.md
Normal file
5
.changeset/editable-agent-name.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@runfusion/fusion": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Enable editing the agent name during the review step of the New Agent dialog.
|
||||||
@@ -736,12 +736,16 @@ export function NewAgentDialog({
|
|||||||
Review your agent configuration before creating.
|
Review your agent configuration before creating.
|
||||||
</p>
|
</p>
|
||||||
<div className="agent-dialog-summary">
|
<div className="agent-dialog-summary">
|
||||||
<div className="agent-dialog-summary-row">
|
<div className="agent-dialog-summary-row agent-dialog-summary-row--editable">
|
||||||
<span className="agent-dialog-summary-row-label">Name</span>
|
<label className="agent-dialog-summary-row-label" htmlFor="agent-review-name">Name</label>
|
||||||
<span className="agent-dialog-summary-row-value">
|
<input
|
||||||
{icon && <span className="agent-dialog-icon-prefix">{icon}</span>}
|
id="agent-review-name"
|
||||||
{name}
|
type="text"
|
||||||
</span>
|
className="input"
|
||||||
|
placeholder="e.g. Frontend Reviewer"
|
||||||
|
value={name}
|
||||||
|
onChange={e => setName(e.target.value)}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="agent-dialog-summary-row agent-dialog-summary-row--editable agent-dialog-summary-row--title">
|
<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>
|
<label className="agent-dialog-summary-row-label" htmlFor="agent-review-title">Title</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user