Skip to content

Conversation

@tlabaj
Copy link
Contributor

@tlabaj tlabaj commented Apr 13, 2023

What: Closes #8936

Additional issues: Closes #8947

I updated the jest version. There was an issue with snaphots adding undefined attributes that was failing some tests.

@patternfly-build
Copy link
Contributor

patternfly-build commented Apr 13, 2023

<svg
aria-hidden="true"
class="pf-svg"
class="pf-svg undefined"
Copy link
Member

Choose a reason for hiding this comment

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

Is the undefined class supposed to be there?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't t see it on the actual component in docs. I added a check to only spread the className when not undefined I am not sure why it is happening with snapshots.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I updated our version of jest. I was seeing different results in CI vs in our workspace. Updating jest fixed it.

@tlabaj tlabaj requested a review from srambach April 13, 2023 21:44
Copy link
Contributor

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

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

LGTM @tlabaj - empty states are looking good, svg sizes as expected

render() {
const { title, ...props } = this.props;
const { title, className, ...props } = this.props;
const classes = className ? `pf-svg ${className}` : "pf-svg";
Copy link
Contributor

Choose a reason for hiding this comment

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

👌

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.

@tlabaj Broken images seem to be fixed, but there is still an issue with Card View not displaying a full grid of cards.

Screenshot 2023-04-25 at 5 00 02 PM

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

🚀

@tlabaj
Copy link
Contributor Author

tlabaj commented Apr 26, 2023

@tlabaj Broken images seem to be fixed, but there is still an issue with Card View not displaying a full grid of cards.

Screenshot 2023-04-25 at 5 00 02 PM

@mcarrano I just took a look at this and it is not related to the createIcon. For some reason the fetch of the mock data is not working.
I opened issue #9003 to address this

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.

I opened issue #9003 to address this

Thanks @tlabaj . In that case, I approve.

@nicolethoen nicolethoen merged commit 8073115 into patternfly:v5 Apr 27, 2023
@patternfly-build
Copy link
Contributor

Your changes have been released in:

  • @patternfly/react-code-editor@5.0.0-alpha.81
  • @patternfly/react-core@5.0.0-alpha.80
  • @patternfly/react-docs@6.0.0-alpha.87
  • @patternfly/react-icons@5.0.0-alpha.12
  • demo-app-ts@5.0.0-alpha.64
  • @patternfly/react-table@5.0.0-alpha.82

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.

Bug - [EmptyState] - [EmptyStateIcon is enormous no matter the EmptyState components variant] Bug - Card demo -

8 participants