Skip to content

Conversation

@nicolethoen
Copy link
Contributor

@nicolethoen nicolethoen commented Mar 31, 2023

What: Closes #8005

in order to build this PR, I had to temporarily remove the building of Props tables and CSS variables tables on the component docs (they were built using the now deprecated table). Once this merges, I can reimplement them using the recommended Table and they will return.

I'm curious if people are averse to the idea of reverting the name change of the TableComposable. If we keep it's old name, this PR will be smaller, it will be easier to write codemods, and it will be easier to process which table a consumer is trying to use. I might propose keeping the name TableComposable until the day comes when we are ready to remove the deprecated Table from the code base entirely. @tlabaj WDYT?

@nicolethoen nicolethoen requested a review from jenny-s51 March 31, 2023 03:04
@patternfly-build
Copy link
Collaborator

patternfly-build commented Mar 31, 2023

@jenny-s51 jenny-s51 mentioned this pull request Mar 31, 2023
5 tasks
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.

This is looking awesome @nicolethoen! 🤩 🎉

@tlabaj
Copy link
Contributor

tlabaj commented Apr 4, 2023

I'm curious if people are averse to the idea of reverting the name change of the TableComposable. If we keep it's old name, this PR will be smaller, it will be easier to write codemods, and it will be easier to process which table a consumer is trying to use. I might propose keeping the name TableComposable until the day comes when we are ready to remove the deprecated Table from the code base entirely. @tlabaj WDYT?

I think is preferable to rename now while we are in the major release rather that accumulating tech debt.

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.

I'm noticing the following Table demos seem to not be working as expected anymore:

  • Bulk Select (the actual table body doesn't have any content rendered inside of it)
  • Expand/collpase all (TypeError: Cannot read properties of null (reading 'length') when opening the demo, plus the same error for reading 'header' in console)

Those could be fixed by the followup that updates usage of deprecated table, though... Other than that this is looking good, though

@tlabaj
Copy link
Contributor

tlabaj commented Apr 4, 2023

What: Closes #8005

in order to build this PR, I had to temporarily remove the building of Props tables and CSS variables tables on the component docs (they were built using the now deprecated table). Once this merges, I can reimplement them using the recommended Table and they will return.

@nicole which issue will cover this?

@nicolethoen
Copy link
Contributor Author

@nicole which issue will cover this?

patternfly/patternfly-org#3469

@nicolethoen
Copy link
Contributor Author

@thatblindgeye I opened a follow up issue to fix those demos since - when looking at them, it's not super obvious what's wrong and it'd be better to get this PR in quick as we can to simplify merge conflicts in the future.
#8921

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.

Thank you Nicole and Jenny! Lgtm

@tlabaj tlabaj merged commit 0b1343d into patternfly:v5 Apr 5, 2023
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

  • @patternfly/react-code-editor@5.0.0-alpha.54
  • @patternfly/react-core@5.0.0-alpha.53
  • @patternfly/react-docs@6.0.0-alpha.58
  • demo-app-ts@5.0.0-alpha.37
  • @patternfly/react-integration@5.0.0-alpha.17
  • @patternfly/react-table@5.0.0-alpha.54

Thanks for your contribution! 🎉

dgdavid added a commit to agama-project/agama that referenced this pull request Sep 12, 2023
dgdavid added a commit to agama-project/agama that referenced this pull request Sep 12, 2023
dgdavid added a commit to agama-project/agama that referenced this pull request Sep 14, 2023
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.

Table: Deprecate the legacy table

5 participants