-
Notifications
You must be signed in to change notification settings - Fork 2
add new DataTable component #61
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
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughA new generic DataTable component and related utilities were introduced, supporting dynamic columns, sorting, filtering, pagination, row actions, and destructive action confirmation. Supporting files include a Storybook example, row actions dropdown, destructive action dialog, updated translations, and dependency additions. The Pagination export was removed from the main index. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant DataTable
participant RowActionsDropdown
participant DestructiveActionDialog
User->>DataTable: Interacts with table (sort, filter, paginate, search)
DataTable->>RowActionsDropdown: Renders row actions for each row
User->>RowActionsDropdown: Selects a row action
alt Destructive action
RowActionsDropdown->>DestructiveActionDialog: Set destructive action pending
User->>DestructiveActionDialog: Confirms action
DestructiveActionDialog->>RowActionsDropdown: Executes destructive action
else Non-destructive action
RowActionsDropdown->>RowActionsDropdown: Executes action immediately
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (8)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
🎉 This PR is included in version 4.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary by CodeRabbit
New Features
Documentation
Chores
@tanstack/react-table.