Skip to content
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

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

seanforyou23
Copy link
Collaborator

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.

Screen Shot 2020-07-07 at 4 00 55 PM

@patternfly-build
Copy link
Contributor

patternfly-build commented Jul 7, 2020

Copy link
Contributor

@jessiehuff jessiehuff left a 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!

Copy link
Contributor

@kmcfaul kmcfaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@mcarrano mcarrano left a 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 !

@dlabrecq dlabrecq merged commit 9503acf into patternfly:master Jul 9, 2020
@patternfly-build
Copy link
Contributor

Your changes have been released in:

  • @patternfly/react-catalog-view-extension@4.4.19
  • @patternfly/react-core@4.28.1
  • @patternfly/react-docs@5.5.9
  • @patternfly/react-inline-edit-extension@4.5.18
  • demo-app-ts@4.20.7
  • @patternfly/react-table@4.10.9
  • @patternfly/react-topology@4.4.19
  • @patternfly/react-virtualized-extension@4.5.10

Thanks for your contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split button action dropdown: improve keyboard interaction
7 participants