fix: address code review findings - remove dead CSS modifier, add rail-vs-phase comment

This commit is contained in:
lda
2026-07-08 23:24:54 +07:00 Verified
parent bd200cf520
commit cbe8562f9b
2 changed files with 5 additions and 2 deletions
@@ -10,6 +10,9 @@ type RailStep = {
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> = [
{ phase: "agent", label: "Agent request", detail: "thin interface" },
{ phase: "run", label: "Workflow run", detail: "typed runtime" },
@@ -50,7 +50,7 @@ export const DemoOutcomePanel = ({
if (beatId === "output") {
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>
<strong>Product state, not chat-only text</strong>
<ul>
@@ -62,7 +62,7 @@ export const DemoOutcomePanel = ({
}
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>
<strong>Auditable after the moment passes</strong>
<ul>