-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
[Content Manager] Add the new JSONInput from the DS to the CM #15606
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't tell you how happy this makes me :D Thank you. Thank you. Thank you.
Would you mind adding a test to GenericInput
to prove it renders the JSONInput for json fields?
minHeight={pxToRem(253)} | ||
maxHeight={pxToRem(506)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maevalienard Should we use that moment to align the JSON Input to our 4point grid? :) Would you have input on how we could improve these values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can make it:
minHeight={pxToRem(252)}
maxHeight={pxToRem(504)}
Codecov ReportBase: 58.60% // Head: 59.12% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #15606 +/- ##
==========================================
+ Coverage 58.60% 59.12% +0.51%
==========================================
Files 1507 1502 -5
Lines 38696 38273 -423
Branches 7462 7357 -105
==========================================
- Hits 22679 22627 -52
+ Misses 13696 13378 -318
+ Partials 2321 2268 -53
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Mark!! 🤩
Same as Gustav, but have a tick.
That's a bummer, I had noticed that a while back and thought I had fixed it. Guess not. I'll open a PR in the DS. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please remove all dependencies associated with the JSON input from the dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right - sorry. I didn't know we were using codemirror there too. Looks good to me then! 👍🏼
What does it do?
Why is it needed?
How to test it?