Skip to content

chore: remove AnnotatableFileDiff leftovers, rename file#3488

Open
ipanasenko wants to merge 1 commit into
pingdotgg:mainfrom
ipanasenko:AnnotatableFileDiff
Open

chore: remove AnnotatableFileDiff leftovers, rename file#3488
ipanasenko wants to merge 1 commit into
pingdotgg:mainfrom
ipanasenko:AnnotatableFileDiff

Conversation

@ipanasenko

@ipanasenko ipanasenko commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

What Changed

Removed unused AnnotatableFileDiff component. Looks like it's a leftover after #3169
Renamed file AnnotatableFileDiff.tsx => AnnotatableCodeView.tsx

Why

Just cleaning things up a bit

UI Changes

None

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes - N/A
  • I included a video for animation/interaction changes - N/A

Note

Remove AnnotatableFileDiff component and rename file to AnnotatableCodeView

Deletes the AnnotatableFileDiff component and its associated props interface from AnnotatableCodeView.tsx, removing the FileDiff-based rendering path along with its annotation state and handlers. Updates DiffPanel.tsx to import from the renamed module path.

Macroscope summarized e1ab551.


Note

Low Risk
Dead-code removal and import path rename with no remaining references to the removed component.

Overview
Cleanup after consolidating diff review UI on CodeView. The PR deletes the leftover AnnotatableFileDiff implementation (single-file FileDiff wrapper with its own annotation state) from what is now AnnotatableCodeView.tsx, and drops the unused FileDiff import from @pierre/diffs/react.

DiffPanel only changes the import path/handle type to ./diffs/AnnotatableCodeView; it already renders AnnotatableCodeView for multi-file diffs, so behavior should be unchanged.

Reviewed by Cursor Bugbot for commit e1ab551. Bugbot is set up for automated code reviews on this repo. Configure here.

@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 43d1676c-44ff-4b41-a9c8-33f7a712e240

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Jun 21, 2026
@ipanasenko ipanasenko marked this pull request as ready for review June 21, 2026 18:49
@macroscopeapp

macroscopeapp Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved

Pure cleanup PR removing unused AnnotatableFileDiff component (confirmed no references in codebase) and renaming the file to match its actual export. No runtime behavior changes.

You can customize Macroscope's approvability policy. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant