-
Notifications
You must be signed in to change notification settings - Fork 138
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(coachmark): Add default opening for not-stacked coachmarks #6516
base: main
Are you sure you want to change the base?
feat(coachmark): Add default opening for not-stacked coachmarks #6516
Conversation
DCO Assistant Lite bot All contributors have signed the DCO. |
✅ Deploy Preview for ibm-products-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I have read the DCO document and I hereby sign the DCO. |
I have read the DCO document and I hereby sign the DCO. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6516 +/- ##
==========================================
+ Coverage 79.85% 79.87% +0.01%
==========================================
Files 394 394
Lines 12877 12878 +1
Branches 4258 4260 +2
==========================================
+ Hits 10283 10286 +3
+ Misses 2594 2592 -2
|
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.
The implementation looks good. Could you please add a control in the component API section of the documentation to reference this prop?
Closes #5709
Add a property to open the coachmark by default.
What did you change?
Add the property
isOpenByDefault
to the coachmark, which applies in the case the coachmark is not a stacked coachmark.How did you test and verify your work?
Added two tests to the suite:
isOpenByDefault
istrue
isOpenByDefault
isfalse
.