Skip to content

Improve compare input modes and search navigation#7

Merged
shubhamashish33 merged 1 commit into
mainfrom
fix-compare-input-search-results
May 18, 2026
Merged

Improve compare input modes and search navigation#7
shubhamashish33 merged 1 commit into
mainfrom
fix-compare-input-search-results

Conversation

@shubhamashish33

Copy link
Copy Markdown
Owner

Summary

  • Adds a Compare workspace Text / Tree mode switch.
  • Uses Monaco JSON editors for left and right compare inputs instead of plain textareas.
  • Automatically switches Compare mode to Tree after running comparison.
  • Removes the duplicate global Compare button from the main toolbar.
  • Adds sidebar search results, Enter navigation, match click selection, tree auto-open, and scroll-to-match behavior for large JSON trees.

Verification

  • npm run build
  • npm test -- --watchAll=false src/jsonUtils.test.js

@vercel

vercel Bot commented May 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
json-comparator Ready Ready Preview, Comment May 18, 2026 0:22am

@shubhamashish33 shubhamashish33 merged commit 52a45da into main May 18, 2026
4 checks passed
@shubhamashish33 shubhamashish33 deleted the fix-compare-input-search-results branch May 18, 2026 12:23
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.

1 participant