Skip to content

fix(Table): removed divider for expanded rows #11815

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

Merged
merged 2 commits into from
May 20, 2025

Conversation

thatblindgeye
Copy link
Contributor

@thatblindgeye thatblindgeye commented May 8, 2025

What: Closes #11812, closes #11807, closes #11808

Table was updated to a more correct logic of applying certain classes from Core as were a few examples updates to show the correct way to set the tables up with those closes.

The animations aspect just needs to have confirmed that accordion, expandable section, and table expansion look good.

Additional issues:

@@ -29,8 +29,8 @@
"clean": "rimraf dist"
},
"devDependencies": {
"@patternfly/patternfly": "6.3.0-prerelease.6",
"css": "^3.0.0",
"@adobe/css-tools": "^4.4.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Context: the original css package was last updated in 2020 and we were getting build errors due to the @starting-style property from Core. This new package is a fork of the original but more up to date.

@patternfly-build
Copy link
Contributor

patternfly-build commented May 8, 2025

Copy link
Collaborator

@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

Design approved

Copy link
Contributor

@wise-king-sullyman wise-king-sullyman left a comment

Choose a reason for hiding this comment

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

Agree with the suggestion for changing the tableExpandableRow logic to keep things from potentially being breaking, but other than that everything looks good.

@andrew-ronaldson andrew-ronaldson self-requested a review May 20, 2025 13:44
Copy link
Collaborator

@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

design re-approved

@@ -1602,11 +1602,10 @@ exports[`Table Collapsible nested table 1`] = `
</td>
</tr>
<tr
class="pf-v6-c-table__tr pf-v6-c-table__expandable-row"
Copy link
Contributor

Choose a reason for hiding this comment

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

Deprecated table tests/examples looks like it needs a similar update potentially, but I think that's probably fine in a follow up or until someone opens an issue for deprecated specifically.

@kmcfaul kmcfaul merged commit 292dd5e into patternfly:main May 20, 2025
13 checks passed
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

mattnolting pushed a commit to mattnolting/patternfly-react that referenced this pull request Jun 4, 2025
* fix(Table): removed divider for expanded rows

* Updated snapshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants