-
Notifications
You must be signed in to change notification settings - Fork 350
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
fix(examples): make the interactions in the demo more life-like #4492
fix(examples): make the interactions in the demo more life-like #4492
Conversation
PF4 preview: https://patternfly-react-pr-4492.surge.sh |
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.
This is exactly what I originally expected when testing this example. A small/quick change, but one that really makes this example much more clear in my opinion!
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.
LGTM!
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 great. Thanks @seanforyou23 !
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #3337
This PR updates the example for "Split button action" of the Dropdown component, making the interactions trigger alerts instead of console logs so that users who are not developers can see the impacts of interacting with elements of the Dropdowns. I think it was already working as desired, just that it wasn't as obvious with the way the example was wired up.
We should probably swap all similar types of console logs in the docs to alerts for the same reason. I can do that in a separate PR if it's helpful.