-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 spinner): Fixed Spinner without emptyContent prop in Table #2500
feat(table spinner): Fixed Spinner without emptyContent prop in Table #2500
Conversation
Fixed Spinner loading on top of columns in case of emptyContent prop not passed.
🦋 Changeset detectedLatest commit: ad65585 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Warning Rate Limit Exceeded@alphaxek has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 12 minutes and 6 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. WalkthroughThe new file introduces a patch update for Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
@alphaxek is attempting to deploy a commit to the NextUI Inc Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 1
Configuration used: .coderabbit.yaml
Files selected for processing (2)
- .changeset/nice-rockets-watch.md (1 hunks)
- packages/components/table/src/table-body.tsx (1 hunks)
Additional comments: 1
packages/components/table/src/table-body.tsx (1)
- 124-124: The addition of an empty table cell when
isLoading
is true andemptyContent
is not provided is a good fix for the issue. However, it's important to verify this behavior across different scenarios to ensure it works as intended without introducing any unintended side effects.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! @alphaxek
Fixed Spinner loading on top of columns in case of
emptyContent
prop not passed to Table.Closes #2499
📝 Description
Fixed the Spinner loading on top of columns instead of inside table in case of
emptyContent
prop not passed to Table.⛳️ Current behavior (updates)
Spinner loading on top of columns instead of inside table in case of
emptyContent
prop not passed to Table.🚀 New behavior
Spinner loading inside Table in case of
emptyContent
prop not passed to Table.Test:
Test Visual:
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
No
Summary by CodeRabbit
TableBody
whenemptyContent
prop is not provided, ensuring an empty table cell is displayed correctly.