Skip to content

Add response diff highlighting#356

Open
es3298 wants to merge 1 commit into
CalloraOrg:mainfrom
es3298:es3298/call-diff-279
Open

Add response diff highlighting#356
es3298 wants to merge 1 commit into
CalloraOrg:mainfrom
es3298:es3298/call-diff-279

Conversation

@es3298

@es3298 es3298 commented Jul 5, 2026

Copy link
Copy Markdown

Summary

  • add a reusable JSON response diff utility for call history comparisons
  • render added, removed, and changed response paths inside expanded CallHistoryRow details
  • pass the next older filtered call into each row so users can compare the selected response against the previous call
  • add focused tests and a short docs note for the diff behavior

Closes #279

Validation

  • npx vitest run src/utils/diff.test.ts src/components/CallHistoryRow.test.tsx - 21 tests passed
  • git diff --check - passed
  • npm run build - currently blocked by existing syntax errors in src/App.tsx and src/pages/ApiDetailPage.tsx on upstream main

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.

Polish CallHistoryRow with diff highlight

2 participants