feat(HAI-027): complete Step 3 — add test/build command fields to settings modal

This commit is contained in:
Dustin Byrne
2026-03-25 22:18:26 -04:00
parent 289f865689
commit 0a43742aec

View File

@@ -116,6 +116,32 @@ export function SettingsModal({ onClose, addToast }: SettingsModalProps) {
</label>
<small>When enabled, tasks that modify the same files are queued serially to avoid merge conflicts</small>
</div>
<div className="form-group">
<label htmlFor="testCommand">Test Command</label>
<input
id="testCommand"
type="text"
placeholder="e.g. pnpm test"
value={form.testCommand || ""}
onChange={(e) =>
setForm((f) => ({ ...f, testCommand: e.target.value || undefined }))
}
/>
<small>Command used to run tests injected into generated task specs</small>
</div>
<div className="form-group">
<label htmlFor="buildCommand">Build Command</label>
<input
id="buildCommand"
type="text"
placeholder="e.g. pnpm build"
value={form.buildCommand || ""}
onChange={(e) =>
setForm((f) => ({ ...f, buildCommand: e.target.value || undefined }))
}
/>
<small>Command used to build the project injected into generated task specs</small>
</div>
</div>
)}
<div className="modal-actions">