Tests / test (push) Canceled after 0s
Publish Docker images / build (./api, ./api/Dockerfile, api) (push) Canceled after 0s
Publish Docker images / build (., ./web/Dockerfile, web) (push) Canceled after 0s
Clicking "Create an ingest key" said "Ingest key created" and then showed nothing to copy — no key, just the button again. The key was being created correctly the whole time (it is in the profile, and the phone could have used it); the sheet handing it over was what was broken. A sheet is rendered from the JSX captured when it was opened (useUI.openSheet keeps the element), so anything it reads off the screen's state is frozen at that moment. The header block keyed off the screen's `key`, which was null when the element was created and never re-rendered — the screen's state updated, the element did not, and the toast came from the store rather than from that tree, which is why the confirmation appeared and the key did not. The sheet now holds the key in its own state, seeded from the profile's existing one, and the two handlers resolve with the new key so the sheet can show it the instant it is created. Both blocks that were `data?.key` follow the same local state, so Replace the key updates what is on screen too. Two things came with it, because "where do I copy it from" was the actual complaint: the endpoint and the key each get a labelled button (Copy the URL / Copy the key) instead of a bare clipboard glyph next to a code box, and a line under the key says what to do with it. Guarded by two tests that need the real Modals host to be rendered at all: one creates the key through the sheet and asserts it appears in full, the other opens the sheet on a profile that already has one. The first was checked against the old behaviour — it fails when the sheet reads the frozen prop — so it is a regression guard and not a description.