Skip to content

feat: add GitHub-style viewed file tracking to code review#130

Merged
backnotprop merged 1 commit intobacknotprop:mainfrom
blue-poolyum:feat/github-style-viewed
Feb 7, 2026
Merged

feat: add GitHub-style viewed file tracking to code review#130
backnotprop merged 1 commit intobacknotprop:mainfrom
blue-poolyum:feat/github-style-viewed

Conversation

@blue-poolyum
Copy link

@blue-poolyum blue-poolyum commented Feb 5, 2026

Summary

  • Adds GitHub PR-style "viewed" file tracking to the code review interface
  • Files can be manually marked as viewed via checkbox in FileTree or button in DiffViewer
  • Progress indicator shows viewed count (e.g., "3/10")
  • Option to hide/show viewed files for focused review
  • Removes automatic viewed marking when selecting files

Changes

File Change
packages/review-editor/App.tsx Add hideViewedFiles state, handleToggleViewed handler, pass props to FileTree and DiffViewer
packages/review-editor/components/FileTree.tsx Add viewed checkbox, progress indicator, hide/show toggle button
packages/review-editor/components/DiffViewer.tsx Add Viewed button in file header (left of Copy Diff)

Screenshots

image

- Add viewed checkbox in FileTree for manual toggling
- Add Viewed button in DiffViewer file header
- Add progress indicator (N/M format)
- Add option to hide/show viewed files
- Remove automatic viewed marking on file selection
@backnotprop
Copy link
Owner

I just got back from my only vacation this year and will get these PRs going.

@backnotprop backnotprop merged commit 1642934 into backnotprop:main Feb 7, 2026
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