Skip to content

feat(ui): delete a checkpoint from the chat, beside Fork - #2804

Merged
Charlesthebird merged 5 commits into
mainfrom
charlesthebird/deleteCheckpoint
Sep 14, 2026
Merged

Charlesthebird merged 5 commits into
mainfrom
charlesthebird/deleteCheckpoint

Conversation

@Charlesthebird

Copy link
Copy Markdown
Collaborator

🤖 written by Claude (start)

A checkpoint's line now carries Delete beside Fork, behind a confirmation. Deleting releases the snapshot that checkpoint pins; chats already forked from it keep working.

UI only — CheckpointService/DeleteCheckpoint already existed, so this wires it through the api layer and the fixture backend. Mock checkpoints move to sessionStorage, so a deletion in mock mode survives a reload the way the controller's does.

Testing

  1. ENABLE_MOCK_UI=true yarn dev, open a conversation, and save two checkpoints a turn apart.
  2. Press Delete on the earlier line and confirm. That line goes; the other stays.
  3. Reload. The deleted line does not come back.

🤖 written by Claude (end)

The line a checkpoint draws now carries Delete as well as Fork, behind a
confirmation: the snapshot it pins is the only thing holding that space, and
nothing brings it back. Chats already forked from it are untouched.

`CheckpointService/DeleteCheckpoint` was already in the proto; this wires it
through the api layer and the fixture backend. Mock checkpoints move to
sessionStorage so a deletion there survives a reload, as the controller's does.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
@Charlesthebird

This comment has been minimized.

@github-actions github-actions Bot added the enhancement New feature or request label Sep 11, 2026
@blacksmith-sh

This comment has been minimized.

Fork is the line's action, so it is filled; Remove is outlined beside it and
named for what it does to the snapshot rather than to the line. Both tooltips
open downwards — above the button, the tooltip covered the control the reader
was about to press again.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
@Charlesthebird

This comment has been minimized.

The transcript's own gap to the next message sits below the line as well, so the
two together read as a hole in the conversation. Half the room below it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
@Charlesthebird
Charlesthebird marked this pull request as ready for review September 11, 2026 16:50
The Checkpoint button's tooltip named itself and nothing else, so the one place
a reader meets the idea did not say what it buys them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
@Charlesthebird

Copy link
Copy Markdown
Collaborator Author

Current as of 77c4a3e.

summary-reel-v3.mp4

🤖 written by Claude

@Charlesthebird
Charlesthebird added this pull request to the merge queue Sep 14, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 14, 2026
@EItanya
EItanya added this pull request to the merge queue Sep 14, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 14, 2026
…rd/deleteCheckpoint

Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
@Charlesthebird
Charlesthebird added this pull request to the merge queue Sep 14, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 14, 2026
@Charlesthebird
Charlesthebird added this pull request to the merge queue Sep 14, 2026
Merged via the queue into main with commit 800015d Sep 14, 2026
27 checks passed
@Charlesthebird
Charlesthebird deleted the charlesthebird/deleteCheckpoint branch September 14, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants