Repository navigation
feat: open collections bulk actions enhancements - #9125
Conversation
…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
…tests, and sidebar UI/logic consistency
…to feature/open-collections-bulk-actions-enhancements
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
| 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*$`) }) |
There was a problem hiding this comment.
why do we need this updated regex?
There was a problem hiding this comment.
I'm reverting the use case of matching with exact text. We won't be needing the ternary operator as well.
caff904
into
usebruno:feature/open-collections-bulk-actions-6339-internal
* 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]>
Description
This PR resolves the Code rabbit comments on the Base-internal PR.
Problem
Fix
Screenshots
Contribution Checklist:
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.