g1t/apps/web/app/components/account-settings.tsx
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.
| status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas | 1 | import { Form } from "react-router"; |
| 2 | ||
| web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change | 3 | import { SubmitButton } from "./ui"; |
| status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas | 4 | |
| web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change | 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 | */ | |
| status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas | 9 | export function DeleteButton({ |
| 10 | intent, | |
| 11 | id, | |
| 12 | label = "Delete", | |
| web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change | 13 | pending = "Deleting…", |
| status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas | 14 | }: { |
| 15 | intent: string; | |
| 16 | id: string; | |
| 17 | label?: string; | |
| web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change | 18 | /** The words while it works. */ |
| 19 | pending?: string; | |
| status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas | 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} /> | |
| web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change | 25 | <SubmitButton variant="quiet" pending={pending} match={{ intent, id }}> |
| status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas | 26 | {label} |
| web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change | 27 | </SubmitButton> |
| status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas | 28 | </Form> |
| 29 | ); | |
| 30 | } |