-
-
Notifications
You must be signed in to change notification settings - Fork 282
adapting the JSON editor to ShadCN with improved styling + 3 issues resolved #1762
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
base: main
Are you sure you want to change the base?
Conversation
Hi @idanidan29! Thanks a lot for your contribution! I noticed that the following required information is missing or incomplete: completed checklist items Please update the PR description to include this information. You can find placeholders in the PR template for these items. Thanks a lot! |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1762 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 29 30 +1
Lines 548 602 +54
Branches 158 179 +21
=========================================
+ Hits 548 602 +54 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
What kind of change does this PR introduce?
Adapted the JSON editor component to use ShadCN and updated the Cypress tests accordingly also added tests for the alert UI element.
Now you can create partial schema JSON blocks using //partial schema at the top of the schema, instead of the default code blocks. Also, the default code block styling has been updated to match the JSON editor styling. also have fixed some bugs related the JSON editor inputs
Issue Number:
Screenshots/videos:
Summary
This PR improves the visual consistency and user experience of the JSON editor by integrating ShadCN components, enabling partial schema support via //partial schema, and refining the styling of code blocks to align with the editor. It also addresses several bugs related to input behavior.
Does this PR introduce a breaking change?
no
Checklist
Please ensure the following tasks are completed before submitting this pull request.