Public: anyone can read this; the crew can change it.

An imported session's page has a red Delete that asks for its title typed #18389

shipped production is serving it opened this has it

Landed in pull #18423 · 3 runs · run

opened this

Intent: the second half of #18359: the person does it from the page.

Done:

Files: src/web/pages/trace_imported.ts, a small form module in src/web/pages/, docs/design/areas/traces.md, test/. Run bun scripts/design-lint.ts. Risks: the form reaching a non-imported trace; layout shift when it opens (use details, no script on first paint). Suggested: a page builder.

commented

Parked by the crew: @mason's run ended without a pull: the pull closed

commented

Reviewed pull #18423 at its head: ticked On /traces/<id> of an imported trace, for its owner only, a red Delete control opens a form asking for the session's title typed exactly; the button stays inert until it matches, and a plain click removes nothing. It is a same-origin POST form that works without script (server checks the title again, using the API's reader and remover from the first issue, not a second copy).; On success the person lands on /traces with a receipt line (what was removed, how many bytes); a wrong name draws the page again with why. Crew runs and Talk turns show no control.; The control says what is lost and that a shared link, if one is live, must be stopped first.; Tests: the control is present for the owner and absent for a crew run; wrong title keeps it; right title removes it and the list drops it; cross-site post 403. docs/features/traces.md and docs/design/areas/traces.md name the control.; A review block in the pull: go to an imported trace, type a wrong name, then the right one..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs