Skip to content

Conversation

@sjd78
Copy link
Member

@sjd78 sjd78 commented Sep 16, 2019

Due to #2931, rearrange the way Card includes the component's sub-components to match the way the Wizard (and all other components) does it. The new style will allow the sub-component references to survive webpack tree shaking.

@patternfly-build
Copy link
Collaborator

PatternFly-React preview: https://patternfly-react-pr-2935.surge.sh

@kmcfaul
Copy link
Contributor

kmcfaul commented Sep 23, 2019

Looks like tests may have to be updated, otherwise looks good

dlabrecq
dlabrecq previously approved these changes Sep 25, 2019
Copy link
Member

@dlabrecq dlabrecq left a comment

Choose a reason for hiding this comment

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

LGTM -- please fix tests

Due to patternfly#2931, rearrange the way `Card`
includes the component's sub-components to match the way the
`Wizard` (and all other components) does it.  The new style will
allow the subcomponent references to survive webpack tree shaking.
@sjd78 sjd78 dismissed stale reviews from dlabrecq and jeff-phillips-18 via 465cac2 October 16, 2019 01:26
@sjd78 sjd78 force-pushed the pf3-card-tree-shaking branch from 0507ca0 to 465cac2 Compare October 16, 2019 01:26
@codecov-io
Copy link

codecov-io commented Oct 16, 2019

Codecov Report

Merging #2935 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2935      +/-   ##
==========================================
+ Coverage   68.94%   68.98%   +0.04%     
==========================================
  Files         858      858              
  Lines       23590    23612      +22     
  Branches     1887     1887              
==========================================
+ Hits        16263    16288      +25     
+ Misses       6367     6364       -3     
  Partials      960      960
Flag Coverage Δ
#misc 95.45% <ø> (ø) ⬆️
#patternfly3 69.3% <100%> (+0.07%) ⬆️
#patternfly4 67.93% <ø> (ø) ⬆️
Impacted Files Coverage Δ
...y-3/patternfly-react/src/components/Cards/index.js 100% <100%> (ø) ⬆️
...ly-3/patternfly-react/src/components/Cards/Card.js 89.33% <100%> (+28.61%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 031b8f7...465cac2. Read the comment docs.

@sjd78 sjd78 requested a review from dlabrecq October 16, 2019 14:36
@dlabrecq dlabrecq merged commit 17a51ff into patternfly:master Oct 16, 2019
@sjd78 sjd78 deleted the pf3-card-tree-shaking branch October 16, 2019 14:45
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

  • patternfly-react-extensions@3.0.1
  • patternfly-react@2.39.5
  • @patternfly/react-console@2.0.1

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.

7 participants