-
Notifications
You must be signed in to change notification settings - Fork 151
feat(open stackblitz): API Key modal #7365
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
feat(open stackblitz): API Key modal #7365
Conversation
…litz-title-and-saving
…litz-title-and-saving
…litz-title-and-saving
…litz-title-and-saving
…litz-title-and-saving
…litz-title-and-saving
…thub.com/sangeethababu9223/ibm-products into feat/open-in-stackblitz-title-and-saving
…thub.com/sangeethababu9223/ibm-products into feat/open-in-stackblitz-title-and-saving
…thub.com/sangeethababu9223/ibm-products into feat/open-stackblitz-modals
✅ Deploy Preview for ibm-products-web-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7365 +/- ##
=======================================
Coverage 84.45% 84.45%
=======================================
Files 425 425
Lines 17229 17229
Branches 4563 4563
=======================================
Hits 14550 14550
Misses 2679 2679
🚀 New features to boost your workflow:
|
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.
Something I noticed is that it looks like the styles from _storybook-styles.scss
are not translated over to the stackblitz examples which causes visual differences if a given story relies on those styles.
…eethababu9223/ibm-products into feat/open-stackblitz-modals
CodePreviewer updated to add Storybook style to the |
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.
Looking good.
Few last changes
packages/ibm-products/src/components/OptionsTile/OptionsTile.mdx
Outdated
Show resolved
Hide resolved
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.
Good work 🎉 🎉 🎉
|
||
function detectReactHooks(sanitizedCode: string): string[] { | ||
const hooksToCheck = [ | ||
'useState', |
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 might want to expand this a bit further but for most stories these should cover all the bases.
${formattedArgs} | ||
${hasArgs ? formattedArgs : ''} | ||
const pkg = { | ||
prefix: 'c4p' |
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 import the prefix from package-settings
, but I think it's fine to update later.
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.
👏
03290ec
Closes #7347
Implement Open in stackblitz for Modal Components
What did you change?
stackblitzPrefillConfig
function as string array)storybook-styles.scss
to the stackblitz example.scss
file.How did you test and verify your work?
yarn storybook
Note: This PR should only be merged after #7256
Carbon react components passed as props to other components should be passed as custom imports. Eg:
InlineLoading
in APIKeyModal