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(website): clarify table examples #3718

Merged
merged 1 commit into from
May 14, 2024

Conversation

gdostie
Copy link
Collaborator

@gdostie gdostie commented May 10, 2024

Proposed Changes

In this PR I made one addition to the use-table hook and several improvements to the table examples on the website.

The main fix is I added isVacant flag on the store object. This boolean indicates whether the table has rows when unfiltered. This is useful mainly in the case of server side tables to determine whether the table should show the empty state.

Potential Breaking Changes

None

Acceptance Criteria

  • The proposed changes are covered by unit tests
  • The potential breaking changes are clearly identified
  • README.md is adjusted to reflect the proposed changes (if relevant)

@gdostie gdostie force-pushed the ADUI-10014/simplify-table-examples branch from a2d15ed to c45979a Compare May 10, 2024 18:55
Copy link

@gdostie gdostie marked this pull request as ready for review May 10, 2024 18:58
@gdostie gdostie requested a review from a team as a code owner May 10, 2024 18:58
@gdostie gdostie requested review from GermainBergeron and aboissinot-coveo and removed request for a team May 10, 2024 18:58
Copy link
Member

@GermainBergeron GermainBergeron left a comment

Choose a reason for hiding this comment

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

Good job, I really like the examples that are more focused

@gdostie gdostie merged commit 9ecc38b into next May 14, 2024
4 checks passed
@gdostie gdostie deleted the ADUI-10014/simplify-table-examples branch May 14, 2024 15:11
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.

None yet

3 participants