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

Collaboration branch for updating to core 167 #1283

Merged
merged 19 commits into from
Jan 31, 2019
Merged

Collaboration branch for updating to core 167 #1283

merged 19 commits into from
Jan 31, 2019

Conversation

dlabaj
Copy link
Contributor

@dlabaj dlabaj commented Jan 30, 2019

Work in Progress for updating react to the version 167 of core. This branch can be used to colaborate on work for this update.

@dlabaj dlabaj changed the title Updated with core 167 updates Collaboration branch for updating to core 167 Jan 30, 2019
karelhala and others added 4 commits January 30, 2019 08:50
* fix(Table): Use direct imports instead of spread

* Do not show selects for collapsed rows
 - patternfly4-react-lerna-root@1.42.4
 - @patternfly/react-docs@3.21.13
 - @patternfly/react-table@0.4.13
In PF core heading types of AboutModal were updated.
This PR updates PF react with those changes.

Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
 - patternfly4-react-lerna-root@1.42.5
 - @patternfly/react-core@1.51.4
 - @patternfly/react-docs@3.21.14
 - @patternfly/react-integration@1.0.12
 - @patternfly/react-table@0.4.14
`;

exports[`className is added to the root element 1`] = `"pf-c-login__footer-link extra-class"`;
exports[`className is added to the root element 1`] = `undefined`;
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like this snapshot is not needed anymore

@@ -20,11 +18,11 @@ const defaultProps = {
};

const ModalBoxCloseButton = ({ className, onClose, ...props }) => (
<div {...props} className={css(styles.modalBoxClose, className)}>
<Button variant="plain" onClick={onClose} aria-label="Close">
<React.Fragment>
Copy link
Contributor

Choose a reason for hiding this comment

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

Not needed.

<header {...props} className={css(styles.modalBoxHeader, className)}>
<h1 className={css(styles.modalBoxHeaderTitle)}>{children}</h1>
</header>
<React.Fragment>
Copy link
Contributor

Choose a reason for hiding this comment

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

not needed.

max-width: calc(100% - 1rem - 1rem);
min-height: calc(undefined + undefined + undefined + undefined + undefined + undefined + calc(1rem * 4 * 1.5));
width: 100%;
max-width: calc(100% - undefined - undefined);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the actually be undefined? In the past when i saw these it meant that core was referencing a variable that didn't actually exist.

Copy link
Member

@ibolton336 ibolton336 Jan 31, 2019

Choose a reason for hiding this comment

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

yep - these 2 variables don't exist. i just added a pr for the core build that checks for undefined variables. These 2 were among the scripts findings.

@coveralls
Copy link

coveralls commented Jan 31, 2019

Pull Request Test Coverage Report for Build 4241

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 5 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.07%) to 80.225%

Files with Coverage Reduction New Missed Lines %
packages/patternfly-4/react-core/src/layouts/Toolbar/ToolbarSection.js 1 84.62%
packages/patternfly-4/react-core/src/components/Modal/ModalBoxCloseButton.js 1 85.71%
packages/patternfly-4/react-table/src/components/Table/Table.js 3 84.21%
Totals Coverage Status
Change from base Build 4214: 0.07%
Covered Lines: 4632
Relevant Lines: 5424

💛 - Coveralls

@patternfly-build
Copy link
Contributor

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

@dgutride dgutride merged commit 0ea22f3 into patternfly:core167 Jan 31, 2019
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.

None yet

9 participants