// The Replay this run dialog (ReplayRunDialog.tsx) for the Failed hello-world run in Development, at // the dashboard's lg size (max-w-5xl, 85vh of a 900px window). Drawn from source (the test // dashboard has no runs to replay); the webapp files it mirrors are its `sources` in // lib/dashboard-figures.ts. The editor and the options are the Test page's (test-task.tsx). import { ChevronDown } from "lucide-react"; import { Button, EnvCombo } from "./chrome"; import { DialogClose, Editor, Option, SmallInput, UnderlineTab } from "./form-parts"; import * as I from "./icons"; const hint = "font-sans text-xs font-medium text-text-dimmed"; const smallLabel = "font-sans text-[0.8125rem] font-normal text-text-bright leading-tight flex items-center gap-1"; export function ReplayRunFigure() { return ( // text-base: the dialog sets no size and inherits the dashboard body's 16px.
{/* Dialog.tsx draws this divider with an
. */}
Replay this run
Replaying will create a new run in the selected environment. You can modify the payload, metadata and run options.
{/* ResizablePanelGroup: the payload editor, the handle, the options panel (300px). */}
Payload
Metadata
{/* ResizableHandle: a 1px grid line centred in 3px, with its three grip dots. */}
{[0, 1, 2].map((i) => (
))}
{/* overflow-y-scroll in the dashboard: the options below Max attempts are cut off. */}
Options enable you to control the execution behavior of your task.{" "} Read the docs.
Replay this run in
{/* Select tertiary/medium, min-w-44, with dropdownIcon. */}
); }