Skip to content

feat: open collections bulk actions enhancements - #9125

Merged
sachin-thakur-bruno merged 5 commits into
usebruno:feature/open-collections-bulk-actions-6339-internalfrom
Gopi-bruno:feature/open-collections-bulk-actions-enhancements
Aug 31, 2026
Merged

sachin-thakur-bruno merged 5 commits into
usebruno:feature/open-collections-bulk-actions-6339-internalfrom
Gopi-bruno:feature/open-collections-bulk-actions-enhancements

Conversation

@Gopi-bruno

Copy link
Copy Markdown
Contributor

Description

This PR resolves the Code rabbit comments on the Base-internal PR.

Problem

Fix

Screenshots

Before After

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.
  • I've run the claude code review skill locally.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

…rag-and-drop, batch delete)

- Implement multi-select support for sidebar items with bulk actions and
  drag-and-drop capability
- Consolidate RemoveCollectionsModal into RemoveCollection and support
  multi-collection removal
- Replace DeleteCollectionItem with DeleteCollectionItems for batch deletion
- Rename RemoveCollection to RemoveCollections and update related tests
- Enable multi-selection drag-and-drop for sidebar items and collections
  with a custom drag preview, including multi-collection dragging and
  reordering with enhanced drag preview and visual feedback
- Replace custom Dropdown with MenuDropdown and enhance bulk collection
  actions in the sidebar
- Improve multi-select bulk actions and prevent duplicate name collisions
  during folder moves
- Add escape key support to clear sidebar selection and simplify
  multi-select logic
- Switch collection selection state from class-based to data-attribute-based
- Hoist BulkActionsMenu state and remove recursive expansion for folder
  collapse/expand actions
- Add support for counting and deleting app items in collection deletion
  dialog
- Prevent UID cache mismatch and react-dnd crashes during folder move
  operations, and guard against stale drop targets
- Clear sidebar selection based on wasSelected state instead of multi-drag
  item length
- Improve error handling for collection removal and filesystem operations,
  add path case-insensitivity for Windows
- Update bulk deletion to be synchronous, refine selection styling, and
  add folder existence check for collection operations
- Disable dragging when selection mixes collections with apps
- Remove bulk actions for unselected collections from the sidebar dropdown
- Add/update unit and e2e test coverage throughout
…to feature/open-collections-bulk-actions-enhancements
…to feature/open-collections-bulk-actions-enhancements
@coderabbitai

coderabbitai Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • main
  • release/*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 5b2dc432-49ca-4731-b3d8-43708aef2bb0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

Comment thread tests/utils/page/locators.ts Outdated
dropdown: {
item: (text: string, exact?: boolean) => exact
? page.locator('.dropdown-item').filter({ hasText: new RegExp(`^\\s*${text}\\s*$`) })
? page.locator('.dropdown-item').filter({ hasText: new RegExp(`^\\s*${text.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&')}\\s*$`) })

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why do we need this updated regex?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm reverting the use case of matching with exact text. We won't be needing the ternary operator as well.

@sachin-thakur-bruno sachin-thakur-bruno changed the title Feature/open collections bulk actions enhancements feat: open collections bulk actions enhancements Aug 31, 2026
@sachin-thakur-bruno
sachin-thakur-bruno merged commit caff904 into usebruno:feature/open-collections-bulk-actions-6339-internal Aug 31, 2026
sachin-thakur-bruno added a commit that referenced this pull request Aug 31, 2026
* feat: add multi-selection state for collections (#6339)

* feat(sidebar): implement multi-select support for sidebar items with bulk actions (#8881)

* feat: open collections bulk actions enhancements (#9125)

* fix: improve file handling safety, cross-platform path resolution in tests, and sidebar UI/logic consistency

* refactor: simplify dropdown item locator by removing exact text matching requirement

* feat: open collections bulk actions enhancements (#9128)

- Improve file handling safety and cross-platform path resolution in
  tests, and sidebar UI/logic consistency
- Simplify dropdown item locator by removing exact text matching
  requirement
- Simplify file operation error handling by removing redundant target
  state tracking

---------

Co-authored-by: Youssef Al-Hassan <[email protected]>
Co-authored-by: sachin-thakur-bruno <[email protected]>
Co-authored-by: Gopi Kishore <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants