Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| The docs' Copy page menu keeps its own spacing, with an icon per item | 1 | import { Form } from "react-router"; |
| 2 | ||
| Merge branch 'worktree-agent-a985c01f43538af01' | 3 | import { SubmitButton } from "./ui"; |
| The docs' Copy page menu keeps its own spacing, with an icon per item | 4 | |
| Merge branch 'worktree-agent-a985c01f43538af01' | 5 | /** |
| 6 | * One row's way out of a list in your settings: a key, a token, an | |
| 7 | * application. It says it is working until the row has gone. | |
| 8 | */ | |
| The docs' Copy page menu keeps its own spacing, with an icon per item | 9 | export function DeleteButton({ |
| 10 | intent, | |
| 11 | id, | |
| 12 | label = "Delete", | |
| Merge branch 'worktree-agent-a985c01f43538af01' | 13 | pending = "Deleting…", |
| The docs' Copy page menu keeps its own spacing, with an icon per item | 14 | }: { |
| 15 | intent: string; | |
| 16 | id: string; | |
| 17 | label?: string; | |
| Merge branch 'worktree-agent-a985c01f43538af01' | 18 | /** The words while it works. */ |
| 19 | pending?: string; | |
| The docs' Copy page menu keeps its own spacing, with an icon per item | 20 | }) { |
| 21 | return ( | |
| 22 | <Form method="post" className="ml-auto"> | |
| 23 | <input type="hidden" name="intent" value={intent} /> | |
| 24 | <input type="hidden" name="id" value={id} /> | |
| The site is built from its shared components: one Button with its variants and sizes, one Badge, Card for every panel, Alert for notices, Kbd for keys, Table for the security tables, and Avatar, Command, Progress, ScrollArea, ToggleGroup, Collapsible and Accordion in the kit; raw buttons, hand-drawn cards and pills and per-file button class lists are gone, outline buttons stand the same height as filled ones, and the phone's Ask g1t loses its tile. Every page was compared pixel by pixel before and after. | 25 | <SubmitButton variant="outline" pending={pending} match={{ intent, id }}> |
| The docs' Copy page menu keeps its own spacing, with an icon per item | 26 | {label} |
| Merge branch 'worktree-agent-a985c01f43538af01' | 27 | </SubmitButton> |
| The docs' Copy page menu keeps its own spacing, with an icon per item | 28 | </Form> |
| 29 | ); | |
| 30 | } |
This file's history is long; its oldest lines are credited to the oldest commit read.