Skip to content

Conversation

@jenny-s51
Copy link
Contributor

@jenny-s51 jenny-s51 commented Feb 27, 2023

What: Closes #8749

Additional issues: Towards #8005.

@patternfly-build
Copy link
Contributor

patternfly-build commented Feb 27, 2023

@jenny-s51 jenny-s51 force-pushed the renameComposableExamples branch 2 times, most recently from 7181fe4 to d9871ca Compare March 9, 2023 20:04
@jenny-s51 jenny-s51 force-pushed the renameComposableExamples branch from d9871ca to 3dc50b2 Compare March 21, 2023 19:13
@jenny-s51 jenny-s51 mentioned this pull request Mar 21, 2023
@jenny-s51 jenny-s51 requested review from nicolethoen and tlabaj March 22, 2023 20:52
Copy link
Contributor

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

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

Looks like a duplicate id 'untitled-example' is being used a couple times in the (formerly) composable table docs.

## Table examples

The `TableComposable` component differs from the regular `Table` component, in that it allows you to compose the table by nesting the relevant `Thead`, `Tbody`, `Tr`, `Th` and `Td` components within it. For a less declarative and more implicit approach, use the `Table` component instead.
This `TableComposable` component differs from the deprecated `Table` component, in that it allows you to compose the table by nesting the relevant `Thead`, `Tbody`, `Tr`, `Th` and `Td` components within it. For a less declarative and more implicit approach, use the `Table` component instead.
Copy link
Contributor

Choose a reason for hiding this comment

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

is it still accurate to say "This TableComposable component" rather than "This Table component"? The general bulleted notes below reference the Tablecomposable, too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nicolethoen I left these remaining TableComposable references as-is because the <TableComposable /> component itself has not yet been renamed in this PR, but will be as part of #8843 . Using Table here would still be referencing the legacy variant.

Once #8843 is ready for review it will be using all the appropriate references!

Copy link
Contributor Author

@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.

Thank you @nicolethoen - investigating the duplicate ID issue...

## Table examples

The `TableComposable` component differs from the regular `Table` component, in that it allows you to compose the table by nesting the relevant `Thead`, `Tbody`, `Tr`, `Th` and `Td` components within it. For a less declarative and more implicit approach, use the `Table` component instead.
This `TableComposable` component differs from the deprecated `Table` component, in that it allows you to compose the table by nesting the relevant `Thead`, `Tbody`, `Tr`, `Th` and `Td` components within it. For a less declarative and more implicit approach, use the `Table` component instead.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nicolethoen I left these remaining TableComposable references as-is because the <TableComposable /> component itself has not yet been renamed in this PR, but will be as part of #8843 . Using Table here would still be referencing the legacy variant.

Once #8843 is ready for review it will be using all the appropriate references!

@jenny-s51 jenny-s51 requested a review from nicolethoen March 24, 2023 14:34
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.

LGTM! Just needs a rebase.

delete examples from legacy dir

add todo

bump

rename TableComposable demos and examples

fix filename

revert md references for now

fix name

fix a11y config

test update paths

revert

fix duplicate id

revert path update

remove whitespace
@jenny-s51 jenny-s51 force-pushed the renameComposableExamples branch from 3cd46c9 to da88256 Compare March 24, 2023 19:27
@nicolethoen nicolethoen merged commit 0bbe90a into patternfly:v5 Mar 24, 2023
@patternfly-build
Copy link
Contributor

Your changes have been released in:

  • @patternfly/react-docs@6.0.0-alpha.53
  • @patternfly/react-table@5.0.0-alpha.49

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.

Rename TableComposable example and demo references to Table

4 participants