fix: address code review findings - remove dead CSS modifier, add rail-vs-phase comment
This commit is contained in:
@@ -10,6 +10,9 @@ type RailStep = {
|
|||||||
readonly detail: string;
|
readonly detail: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* The rail shows 4 visual steps while the phase model has 5 — "resume" is
|
||||||
|
an invisible in-between state that maps to the same rail step as "interrupt"
|
||||||
|
for completed-index calculation but must not be marked active. */
|
||||||
const railSteps: ReadonlyArray<RailStep> = [
|
const railSteps: ReadonlyArray<RailStep> = [
|
||||||
{ phase: "agent", label: "Agent request", detail: "thin interface" },
|
{ phase: "agent", label: "Agent request", detail: "thin interface" },
|
||||||
{ phase: "run", label: "Workflow run", detail: "typed runtime" },
|
{ phase: "run", label: "Workflow run", detail: "typed runtime" },
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export const DemoOutcomePanel = ({
|
|||||||
|
|
||||||
if (beatId === "output") {
|
if (beatId === "output") {
|
||||||
return (
|
return (
|
||||||
<aside className="demo-outcome-panel demo-outcome-panel--split" aria-label="demo outcome proof">
|
<aside className="demo-outcome-panel" aria-label="demo outcome proof">
|
||||||
<span>{lens.eyebrow}</span>
|
<span>{lens.eyebrow}</span>
|
||||||
<strong>Product state, not chat-only text</strong>
|
<strong>Product state, not chat-only text</strong>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -62,7 +62,7 @@ export const DemoOutcomePanel = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<aside className="demo-outcome-panel demo-outcome-panel--split" aria-label="demo outcome proof">
|
<aside className="demo-outcome-panel" aria-label="demo outcome proof">
|
||||||
<span>{lens.eyebrow}</span>
|
<span>{lens.eyebrow}</span>
|
||||||
<strong>Auditable after the moment passes</strong>
|
<strong>Auditable after the moment passes</strong>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user