-
Notifications
You must be signed in to change notification settings - Fork 250
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
[Experimental] Code block/editor optimizations #132
Conversation
Size Change: +185 kB (+6%) 🔍 Total Size: 3.36 MB
ℹ️ View Unchanged
|
Visit the preview URL for this PR (updated for commit 53e8b28): https://docusaurus-openapi-36b86--pr132-ny9pu1g1.web.app (expires Thu, 14 Jul 2022 17:34:00 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
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.
Looks really good! 🚀 Just a minor suggestion for centering the new CodeTabs
:
Screen.Recording.2022-06-14.at.9.18.54.AM.mov
Thanks! I had hoped the bundle size would be smaller, sans Monaco and the custom Highlight/Prism components, but it seemed to even out. Will investigate to see if React-Live offers any bundling strategies we could try. |
Description
This PR completely refactors both the body/payload editor component and the code samples components.
Motivation and Context
See issue #131 and #130 for details.
How Has This Been Tested?
Tested locally in dev
Screenshots (if appropriate)
See demo (if it builds 😅 )
Types of changes