Skip to content

feat(app): add a commented only filter and comment copy - #3

Merged
thetaPC merged 1 commit into
mainfrom
commented-only
Nov 20, 2026
Merged

thetaPC merged 1 commit into
mainfrom
commented-only

Conversation

@thetaPC

@thetaPC thetaPC commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Issue URL: N/A

What is the current behavior?

  • Finding the snapshots someone commented on means scrolling the list for the comment marker.
  • Signed out of gh, the comment box is hidden, so there is no way to get a comment onto the pull request.

What is the new behavior?

  • Adds a Commented only checkbox beside Missing test only. It counts your comments and teammates' PR threads, and like the other filters it narrows what a directory checkbox marks.
  • Shows the comment box on a pull request even when gh is signed out. Comments save locally, Copy puts one on the clipboard, and the screenshot's name above the image opens it in the Files tab to paste it on. Post still needs gh.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Test with ionic-framework#31527: 9 badge snapshots, one with a review comment. It is closed, so Post stays disabled.

Signed in: npm start -- --pr 31527

  1. Tick Commented only. Only badge-legacy-md-ltr in Chrome is listed, with the existing comment.
  2. Write a comment on another snapshot, then untick and tick Commented only. Both are listed.
  3. Click Copy and paste somewhere. The text matches.
  4. Click the snapshot's name above the image. The PR's Files tab opens on that file.

Signed out: GH_CONFIG_DIR=$(mktemp -d) npm start -- --pr 31527

  1. The comment box shows, with the comment from step 2. Post is hidden.
  2. Copy and the snapshot's name work as above.
  3. The existing review comment is not shown, since teammates' threads need an account.

@thetaPC
thetaPC marked this pull request as ready for review November 17, 2026 22:50
@thetaPC
thetaPC requested a review from a team as a code owner November 17, 2026 22:50

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works and looks great, thank you!

@thetaPC
thetaPC merged commit 2bc7eba into main Nov 20, 2026
7 checks passed
@thetaPC
thetaPC deleted the commented-only branch November 20, 2026 18:15
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.

2 participants