Skip to content

Add Diff File View for instance.patch and test_result.git_patch #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

xingyaoww
Copy link
Contributor

@xingyaoww xingyaoww commented Mar 21, 2025

This PR adds a Diff File View to the entry metadata panel for .instance.patch and .test_result.git_patch.

Changes:

  • Added diff viewer to the Entry Metadata panel in the JsonlViewer component
  • Added diff viewer to the ArtifactDetails component
  • Updated the handleFileEditClick function in RunDetails.tsx to update the artifact content with patch data
  • Reuses the existing DiffViewer component to display the patches

The diff viewer is now displayed in both the Entry Metadata panel in the JsonlViewer component and the ArtifactDetails component, providing a more integrated experience.

Copy link

vercel bot commented Mar 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
trajectory-visualizer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2025 1:54pm

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