Repository navigation
Keep showing a change after it's approved - #64
Merged
Merged
Conversation
Once approved, a change is what later batches compare with, so a merged pull request's commit opens on "Nothing differs", with nothing leading to what it did. A batch now lists what's been approved since its base, the newest batch of the default branch its commit reaches, each between what it replaced and this image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # ui/src/client/DetailScreen.tsx
Chat answers 404 for a story its batch reads as unchanged, which is what these are. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Once a change is approved, later batches compare against it, so it stops showing as a change. A merged PR's commit, a later commit on the PR, and a re-render at the same commit all open on "Nothing differs", with no link to what happened. For example, #60's merge commit reads as 124 unchanged. The diffs only survive on the batch the approval was made on, and nothing leads there.
What it does
asays why. The server already refused such a decision asstale-decision./diffs/needednow includes these pairs, because a branch that approved several times creates a before-and-after pair that no single commit compared.Later batches on the default branch use the merge as their base, so a merge shows only what it brought, and the commits after it show nothing.
Testing
pnpm testpasses after mergingmain: ui 105, store 632 (92 skipped), render 148, cli 516. The last commit, which hides chat on these rows, had a typecheck and the filter and delta tests only.approvedSinceOf, the route including the refused decision, and the stored diff on push.selfie uion a scratch repo that merges the real header change (before and after Storybooks from9fb57fdand6e330ef):pages-batch--dark.Before you rely on it
Known limitations
?show=approved-earlierstill just says "Unchanged".Not in this PR
GitHub statuses on later commits still go stale:
05a0588says "124 changed, waiting for approval" although its batch reads 124 unchanged, becausepublishonly updates the commit that was decided on.🤖 Generated with Claude Code