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(DataList, Table): update hoverable reference to clickable #9083

Merged
merged 2 commits into from May 11, 2023

Conversation

nicolethoen
Copy link
Contributor

@nicolethoen nicolethoen commented May 7, 2023

What: Closes #9001

This is clean up after core work: patternfly/patternfly#5397
basically, hoverable classnames for DataList and Table have been changed to clickable.
Changes here:

  • updated the relevant Datalist, Table, Deprecated table example titles to match the corresponding core titles.
  • changed the table's isHoverable prop to isClickable

@patternfly-build
Copy link
Contributor

patternfly-build commented May 7, 2023

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, just needs a codemod for the prop rename.

Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

This looks good. One thing I noticed, which could be a followup since it's something that needs updating in other places, is in the DataListClickableRows example and the Tr component code, the usage of pf-screen-reader just needs to be updated to pf-v5-screen-reader (this one slipped by during the collision work)

@nicolethoen
Copy link
Contributor Author

I'll fix it

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.

is there a code mod for this one?

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.

🚀

@nicolethoen
Copy link
Contributor Author

is there a code mod for this one?

@tlabaj yep patternfly/pf-codemods#451

Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

The update to the hardcoded screen reader classes looks good as well 🎉

@tlabaj tlabaj merged commit c03a019 into patternfly:v5 May 11, 2023
10 checks passed
KKoukiou added a commit to KKoukiou/cockpit that referenced this pull request May 23, 2023
KKoukiou added a commit to KKoukiou/cockpit that referenced this pull request Jun 7, 2023
jelly pushed a commit to KKoukiou/cockpit that referenced this pull request Jun 26, 2023
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.

Refactor click/select/expand affordances for data lists and tables
6 participants