Skip to content
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

Add collapsable diff panel above trajectory and parse git diff format #14

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

xingyaoww
Copy link
Contributor

This PR adds a collapsable diff panel above the trajectory view and improves the display of git diff format patches.

Changes:

  • Added a new CollapsableDiffPanel component that displays file changes in a collapsable panel
  • The panel is collapsed by default and can be expanded by clicking on it
  • The panel parses git diff format to extract file information
  • Moved the diff viewer from the Entry Metadata panel to the collapsable panel
  • Updated the Entry Metadata panel to show a message about file changes
  • Added @heroicons/react package for the chevron icons

The collapsable panel provides more space for displaying diffs and improves the user experience by keeping the diffs out of the way until needed.

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 2:49pm

@xingyaoww xingyaoww marked this pull request as ready for review March 21, 2025 16:09
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.

None yet

2 participants