feat(json-schema-preview) - diff onboarding json schemas#809
feat(json-schema-preview) - diff onboarding json schemas#809gabrielseco merged 14 commits intomainfrom
Conversation
📦 Bundle Size Report
Size Limits
Largest Files (Top 5)
View All Files (309 total)
✅ Bundle size check passed |
|
Deploy preview for remote-flows-example-app ready! ✅ Preview Built with commit e2fecee. |
|
Deploy preview for remote-flows ready! ✅ Preview Built with commit e2fecee. |
📊 Coverage Report
|
| Metric | Current | Previous | Change | Status |
|---|---|---|---|---|
| Lines | 89.54% | 89.54% | 0% | ⚪ |
| Statements | 89.23% | 89.22% | 0% | ⚪ |
| Functions | 86.90% | 86.89% | +0.01% | 🟢 |
| Branches | 79.45% | 79.47% | -0.02% | 🔴 |
Detailed Breakdown
Lines Coverage
- Covered: 3459 / 3863
- Coverage: 89.54%
- Change: 0% (10 lines)
Statements Coverage
- Covered: 3520 / 3945
- Coverage: 89.23%
- Change: 0% (10 statements)
Functions Coverage
- Covered: 955 / 1099
- Coverage: 86.90%
- Change: +0.01% (1 functions)
Branches Coverage
- Covered: 2146 / 2701
- Coverage: 79.45%
- Change: -0.02% (1 branches)
✅ Coverage check passed
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

The idea is to have a place where I can check easily changes between json-schemas
The idea would be to open the remote-flows deployed app in vercel used for e2e so we can visualize stuff there...
Vite.+.React.+.TS.-.26.March.2026.mp4
Note
Medium Risk
Adds a new internal UI tool and changes core
JSONSchemaFormFieldsrendering to support per-field wrappers, which could affect form layout/behavior across consumers. Also alters react-query cache keys foruseJSONSchemaForm, potentially changing caching and refetch behavior when switching schema versions.Overview
Adds a JSON Schema Comparison tool to visually diff onboarding JSON schema versions side-by-side (configurable form type, country, and schema version), including per-field highlighting for added/removed/modified/reordered fields and synced scrolling between panels.
Extends
JSONSchemaFormFieldsto support an optional per-fieldWrapperComponent(used by the comparison UI to decorate fields) and updatesCardContentto beforwardRefso comparison panels can attach scroll refs. UpdatesuseJSONSchemaFormreact-query keys to includejsonSchemaVersion, addslodash.isequalfor deep comparisons, excludes the new comparison components from coverage, and bumps bundle size limit to accommodate the added UI.Written by Cursor Bugbot for commit e2fecee. This will update automatically on new commits. Configure here.