Skip to content

feat(platform): add bulk select and delete for products and customers - #1098

Merged
yannickmonney merged 1 commit into
mainfrom
feat/bulk-select-delete
Apr 7, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
feat/bulk-select-delete

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Summary

  • Add reusable createSelectColumn builder for checkbox selection in data tables
  • Add BulkDeleteBar component with count display, clear, and confirmed bulk deletion
  • Enable row selection in both products and customers tables
  • Wire bulk delete to existing delete mutations with Promise.allSettled
  • Added 6 tests for the bulk actions component

Fixes #1047

… tables

Enable row selection with checkboxes on products and customers tables,
with a bulk action bar that appears when rows are selected allowing
deletion of multiple records at once with a confirmation dialog.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@coderabbitai

coderabbitai Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@yannickmonney has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 18 minutes and 26 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 18 minutes and 26 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 7e448b21-a182-47ba-a3bb-be265bcbdcff

📥 Commits

Reviewing files that changed from the base of the PR and between b9c419f and 048c674.

📒 Files selected for processing (8)
  • services/platform/app/components/ui/data-table/column-builders.tsx
  • services/platform/app/components/ui/data-table/data-table-bulk-actions.test.tsx
  • services/platform/app/components/ui/data-table/data-table-bulk-actions.tsx
  • services/platform/app/features/customers/components/customers-table.tsx
  • services/platform/app/features/customers/hooks/use-customers-table-config.tsx
  • services/platform/app/features/products/components/products-table.tsx
  • services/platform/app/features/products/hooks/use-products-table-config.tsx
  • services/platform/messages/en.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/bulk-select-delete

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@yannickmonney
yannickmonney merged commit 968ee98 into main Apr 7, 2026
20 of 23 checks passed
@yannickmonney
yannickmonney deleted the feat/bulk-select-delete branch April 7, 2026 22:32
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.

No bulk select or delete for Products and Customers records must be managed one at a time

1 participant