Skip to content

Conversation

@kmcfaul
Copy link
Contributor

@kmcfaul kmcfaul commented Apr 9, 2020

What: Closes #3770

DataToolbar's state was getting updated by each DataToolbarFilter even when nothing was changed, so I added a check to only kick off the update when a filter's chips got updated.

Moving DataToolbar's internal filterInfo object out of its state, to a private variable, would be another way to resolve the bug.

@kmcfaul kmcfaul requested a review from nicolethoen April 9, 2020 16:46
@kmcfaul kmcfaul added the PF4 label Apr 9, 2020
@patternfly-build
Copy link
Collaborator

patternfly-build commented Apr 9, 2020

@tlabaj tlabaj requested review from dlabaj and dlabrecq April 9, 2020 17:35
@kmcfaul kmcfaul force-pushed the toolbar-max-depth branch from bc68471 to 976842c Compare April 9, 2020 17:38
nicolethoen
nicolethoen previously approved these changes Apr 13, 2020
tlabaj
tlabaj previously approved these changes Apr 13, 2020
Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

LGTM

@kmcfaul
Copy link
Contributor Author

kmcfaul commented Apr 13, 2020

@redallen Any ideas about the difference in snapshots? I can't seem to get them to update to what the build is wanting, they are passing on my machine. Maybe I have to clean a cache somewhere?

Copy link
Contributor

@dlabaj dlabaj left a comment

Choose a reason for hiding this comment

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

LGTM but a test is failing @kmcfaul

@kmcfaul kmcfaul dismissed stale reviews from tlabaj and nicolethoen via 0ce9b51 April 13, 2020 18:48
@kmcfaul kmcfaul force-pushed the toolbar-max-depth branch from 976842c to 0ce9b51 Compare April 13, 2020 18:48
Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

LGTM

@dlabaj dlabaj merged commit dededf3 into patternfly:master Apr 14, 2020
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

  • @patternfly/react-catalog-view-extension@1.4.53
  • @patternfly/react-core@3.153.8
  • @patternfly/react-docs@4.21.13
  • @patternfly/react-inline-edit-extension@2.17.53
  • demo-app-ts@3.30.8
  • @patternfly/react-table@2.28.34
  • @patternfly/react-topology@2.14.53
  • @patternfly/react-virtualized-extension@1.4.54

Thanks for your contribution! 🎉

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants