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

feat(Table): Added isNoInset prop for flat tree tables #9427

Merged
merged 4 commits into from
Aug 16, 2023

Conversation

nicolethoen
Copy link
Contributor

Closes #8604

@patternfly-build
Copy link
Contributor

patternfly-build commented Aug 1, 2023

@@ -57,6 +57,8 @@ export interface TableProps extends React.HTMLProps<HTMLTableElement>, OUIAProps
isStriped?: boolean;
/** Flag indicating this table contains expandable rows to maintain proper striping */
isExpandable?: boolean;
/** Flag rows will not have the inset typically reserved for expanding/collapsing rows in a tree table. Intended for use on tree tables with no visible rows with children. */
Copy link
Contributor

Choose a reason for hiding this comment

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

indicating missing

@@ -57,6 +57,8 @@ export interface TableProps extends React.HTMLProps<HTMLTableElement>, OUIAProps
isStriped?: boolean;
/** Flag indicating this table contains expandable rows to maintain proper striping */
isExpandable?: boolean;
/** Flag rows will not have the inset typically reserved for expanding/collapsing rows in a tree table. Intended for use on tree tables with no visible rows with children. */
isNoInset?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe hasNoInset

@nicolethoen nicolethoen requested review from tlabaj and kmcfaul August 4, 2023 20:02
@tlabaj tlabaj requested a review from mattnolting August 7, 2023 16:38
Copy link
Contributor

@mattnolting mattnolting left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Might add a follow up to showcase feature in an example.

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 few lint errors resolved

@tlabaj tlabaj merged commit 2d5df3d into patternfly:main Aug 16, 2023
nicolethoen added a commit to Kells512/patternfly-react that referenced this pull request Sep 1, 2023
* feat(Table): Added isNoInset prop for flat tree tables

* address PR comments

* add example

* fix linting and a11y errors
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 - First column is not indented when there are no children rows present
6 participants