Skip to content

Redesign Checkpoint Detail Page and Serve Diffs#1

Merged
jcleira merged 1 commit intomainfrom
partio-app-checkpoints
Feb 20, 2026
Merged

Redesign Checkpoint Detail Page and Serve Diffs#1
jcleira merged 1 commit intomainfrom
partio-app-checkpoints

Conversation

@jcleira
Copy link
Member

@jcleira jcleira commented Feb 20, 2026

  • Objective

Redesign the checkpoint detail page UI and update diff retrieval to read from the checkpoint orphan branch instead of GitHub's commit API.

  • Why

The previous UI lacked clear metadata presentation and session structure.

Fetching diffs from GitHub's commit API fails for
unpushed or amend-rebased commits.

Reading diff.patch directly from the checkpoint orphan branch ensures diffs are always available.

  • How

Overhaul the checkpoint header with ID and commit pills, a branch icon, token count, and agent attribution badge.

Replace the chat-style transcript with a collapsible SessionAccordion showing session stats such as duration, steps, tools, and tokens, along with per-message avatars.

Rename the Transcript and Diff tabs to Sessions and Files, and display badge counts for each tab.

Introduce a ToolUsagePill component to replace the per-message ToolBadge implementation.

Improve JSONL parsing by filtering message types,
removing system tags, extracting content from supported fields, and skipping thinking blocks.

Correct the session tree path from
{shard}/{rest}/full.jsonl to
{shard}/{rest}/0/full.jsonl.

Replace getCommitDiff with getCheckpointDiff to read diff.patch from the orphan tree.

Add a /checkpoints/[id]/diff API route and remove the /diff/[commitHash] route.

Update the useDiff hook to accept checkpointId instead of commitHash.

Add an accent-orange color for agent attribution
styling and introduce a toolNames field to the
Message type.

* Objective

Redesign the checkpoint detail page UI and update diff
retrieval to read from the checkpoint orphan branch
instead of GitHub's commit API.

* Why

The previous UI lacked clear metadata presentation and
session structure.

Fetching diffs from GitHub's commit API fails for
unpushed or amend-rebased commits.

Reading diff.patch directly from the checkpoint orphan
branch ensures diffs are always available.

* How

Overhaul the checkpoint header with ID and commit pills,
a branch icon, token count, and agent attribution badge.

Replace the chat-style transcript with a collapsible
SessionAccordion showing session stats such as duration,
steps, tools, and tokens, along with per-message avatars.

Rename the Transcript and Diff tabs to Sessions and
Files, and display badge counts for each tab.

Introduce a ToolUsagePill component to replace the
per-message ToolBadge implementation.

Improve JSONL parsing by filtering message types,
removing system tags, extracting content from supported
fields, and skipping thinking blocks.

Correct the session tree path from
{shard}/{rest}/full.jsonl to
{shard}/{rest}/0/full.jsonl.

Replace getCommitDiff with getCheckpointDiff to read
diff.patch from the orphan tree.

Add a /checkpoints/[id]/diff API route and remove the
/diff/[commitHash] route.

Update the useDiff hook to accept checkpointId instead
of commitHash.

Add an accent-orange color for agent attribution
styling and introduce a toolNames field to the
Message type.
@vercel
Copy link

vercel bot commented Feb 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment Feb 20, 2026 9:16am

Request Review

@jcleira jcleira merged commit e778732 into main Feb 20, 2026
2 checks passed
@jcleira jcleira deleted the partio-app-checkpoints branch February 20, 2026 10:09
jcleira added a commit that referenced this pull request Feb 21, 2026
Partio-Checkpoint: 331b23864878
Partio-Attribution: 100% agent
jcleira added a commit that referenced this pull request Feb 24, 2026
Partio-Checkpoint: 56fe08a7b0b9
Partio-Attribution: 100% agent
jcleira added a commit that referenced this pull request Feb 25, 2026
Partio-Checkpoint: c3ab72416eb7
Partio-Attribution: 100% agent
jcleira pushed a commit to partio-io/docs that referenced this pull request Mar 9, 2026
Automated documentation update by partio-io/minions doc-minion.
Source PR: partio-io/app#1

Co-Authored-By: Claude <noreply@anthropic.com>
@jcleira
Copy link
Member Author

jcleira commented Mar 9, 2026

Related PR: partio-io/docs#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant