feat(FN-4489): complete Step 2 — relocate no-commits-expected section
Fusion-Task-Id: FN-4489 Fusion-Task-Lineage: 9f732400-0deb-4537-be92-cc58c815e9fd
This commit is contained in:
@@ -2176,21 +2176,6 @@ export function TaskDetailContent({
|
|||||||
<span>{inlineExecutionMode === "fast" ? "Fast" : "Standard"}</span>
|
<span>{inlineExecutionMode === "fast" ? "Fast" : "Standard"}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className="form-group">
|
|
||||||
<label className="checkbox-label" htmlFor="detail-no-commits-expected-toggle">
|
|
||||||
<input
|
|
||||||
id="detail-no-commits-expected-toggle"
|
|
||||||
type="checkbox"
|
|
||||||
checked={inlineNoCommitsExpected}
|
|
||||||
disabled={isSavingInlineNoCommitsExpected}
|
|
||||||
onChange={() => {
|
|
||||||
void handleInlineNoCommitsExpectedToggle();
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
No commits expected (decision-only task)
|
|
||||||
</label>
|
|
||||||
<small>Allows the task to complete without producing git commits. Use for evaluation, verification, or audit tasks where the deliverable is the recorded decision.</small>
|
|
||||||
</div>
|
|
||||||
{provenanceDisplay && (
|
{provenanceDisplay && (
|
||||||
<div className="detail-provenance">
|
<div className="detail-provenance">
|
||||||
<GitBranch aria-hidden="true" />
|
<GitBranch aria-hidden="true" />
|
||||||
@@ -2896,6 +2881,23 @@ export function TaskDetailContent({
|
|||||||
<div className="detail-prompt">(no prompt)</div>
|
<div className="detail-prompt">(no prompt)</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
<div className="detail-section detail-no-commits-expected-section">
|
||||||
|
<div className="form-group">
|
||||||
|
<label className="checkbox-label" htmlFor="detail-no-commits-expected-toggle">
|
||||||
|
<input
|
||||||
|
id="detail-no-commits-expected-toggle"
|
||||||
|
type="checkbox"
|
||||||
|
checked={inlineNoCommitsExpected}
|
||||||
|
disabled={isSavingInlineNoCommitsExpected}
|
||||||
|
onChange={() => {
|
||||||
|
void handleInlineNoCommitsExpectedToggle();
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
No commits expected (decision-only task)
|
||||||
|
</label>
|
||||||
|
<small>Allows the task to complete without producing git commits. Use for evaluation, verification, or audit tasks where the deliverable is the recorded decision.</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div className="detail-section">
|
<div className="detail-section">
|
||||||
<h4>Attachments</h4>
|
<h4>Attachments</h4>
|
||||||
{attachments.length > 0 ? (
|
{attachments.length > 0 ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user