Repository navigation
Conversation
Renders changed, new and deleted items as rows of one expanded table with before / after / diff columns, so many screenshots can be reviewed side by side without opening each item. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
Thanks for maintaining reg-actions! We've decided to keep this change in our fork for now, so this PR stays closed. Sorry for the noise. |
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.
Thanks for reg-actions!
Motivation
When a PR changes many screenshots, the
rawandsummarizedformats render each item as its own vertical actual / expected / diff block, and the whole report is collapsed. Reviewing means expanding the report and then each item one by one. A single side-by-side table makes it much quicker to scan many changes.What it does
Adds a third value,
comment-report-format: table. It renders one table, not collapsed, with one row per item:changed.pngnew.pngdeleted.pngraw;rawandsummarizedoutput is unchanged.Changes
src/comment.ts: thetablerenderer.src/config.ts: accepttablein the input validation.dist/action.ymlandREADME.md: document the new value.src/comment.test.tsplus atestscript (esbuildbundle +node --test, no new dependencies) covering the table output for changed, new and deleted items, and thatraw/summarizedkeep the collapsed report.pnpm packageoutput differs from the currentv3build only in the new code.🤖 Generated with Claude Code