Repository navigation
Review: what changed folds into the version row - #534
Merged
Merged
Conversation
The review page shows the revision's "What changed" note above the article. The prompt only asked for a short section, so revisions wrote a paragraph and the page showed up to 2,000 characters of it before the copy. The prompt now asks for one sentence of at most 25 words, and the review shows the section's first sentence (or first bullet), cut at a word near 200 characters. Revisions saved earlier shorten the same way; the whole account stays in Generation notes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The note now sits behind a What changed item beside Version, Previous version and Compare. Closed, nothing shows above the article but that row; open, the item turns to the ink, its chevron points up, and the whole note eases in under the row. It stays open across redraws of the same review. The review returns the whole note again, and the revision prompt asks What changed to start with one sentence a reader takes in at a glance, then any detail. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Tested on staging (run 41733225552, with main, #524 at 9226457 and #537): app.staging.tin.computer serves the fold ( |
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.
What and why
A revised draft's review shows what Tin changed above the article. The note was a paragraph between the version row and the copy, up to 2,000 characters of it, so the founder read notes before the page they came to review.
The note now folds into the version row, as picked on the Paper board "Review · what changed, folded" (WC-A):
An earlier version of this PR cut the note to its first sentence on the server. That's gone: folding keeps the whole note one click away.
Verification
node --test web/workflow-review.browser.test.js: 7 passed. The article feedback test now checks that What changed starts closed with a zero-height fold, opens on click witharia-expanded="true", and shows the note.uv run pytest tests/test_workflow_reviews.pyagainst a local Postgres, plusruff check.Tested on staging
See the comment below for the staging run. Staging has no revised draft yet, so the fold itself was checked with the browser test and the render above.
🤖 Generated with Claude Code