Skip to content

feat(crud): group bulk actions in BULK dropdown COMPASS-10293#7976

Draft
cursor[bot] wants to merge 1 commit intomainfrom
cursor/bulk-actions-dropdown-9b2a
Draft

feat(crud): group bulk actions in BULK dropdown COMPASS-10293#7976
cursor[bot] wants to merge 1 commit intomainfrom
cursor/bulk-actions-dropdown-9b2a

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor bot commented Apr 14, 2026

Ticket COMPASS-10293.
Author : @misbamongo

Description

Documents tab toolbar: replaced the separate Update and Delete buttons with a single BULK dropdown (DropdownMenuButton) with menu items Bulk update documents and Bulk delete documents, calling the same onUpdateButtonClicked / onDeleteButtonClicked handlers as before (unchanged modals, queries, and permission gating).

Toolbar row: flexWrap: 'nowrap' and minWidth: 0 on the main bar and left action group, flexShrink: 0 on the right cluster, to reduce awkward wrapping at typical laptop widths.

Removed the now-unused update-data-menu.tsx and delete-data-menu.tsx components.

Updated unit tests in crud-toolbar.spec.tsx and e2e selectors/tests for bulk update/delete flows.

Checklist

  • New tests and/or benchmarks are included
  • Documentation is changed or added
  • If this change updates the UI, screenshots/videos are added and a design review is requested
  • If this change could impact the load on the MongoDB cluster, please describe the expected and worst case impact
  • I have signed the MongoDB Contributor License Agreement (https://www.mongodb.com/legal/contributor-agreement)

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)
Open in Web Open in Cursor 

Replace standalone Update and Delete toolbar buttons with a single
DropdownMenuButton wired to the same handlers. Tighten toolbar flex
layout to reduce wrapping at typical widths. Remove unused menu
components and update e2e selectors.
@cursor cursor bot requested a review from a team as a code owner April 14, 2026 14:29
@cursor cursor bot requested a review from gribnoysup April 14, 2026 14:29
@cursor
Copy link
Copy Markdown
Contributor Author

cursor bot commented Apr 14, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@github-actions github-actions bot added the feat label Apr 14, 2026
@misbamongo misbamongo marked this pull request as draft April 14, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants