feat: Add right-click folder creation in sidebar #72
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Right-Click Folder Creation to Sidebar
Summary
This PR introduces the ability to create folders in the sidebar through a right-click context menu, allowing users to better organize their tabs hierarchically.
AI Disclosure: This was all done with Opus 4.1
What's Changed
Core Features
Technical Implementation
Data Model Changes
Foldermodel to support tabs with anorderpropertyfolderrelationship toTabmodel for organizing tabs into foldersNew Components
FolderView: Displays folders in the sidebar with expand/collapse functionalityCreateFolderSheet: Dialog for creating new foldersFolderDropDelegate&FolderTabDropDelegate: Handle drag-and-drop operationsUpdated Components
ContainerView: Added right-click context menu and folder display logicTabItem: Enhanced context menu with folder management optionsTabManager: Added methods for folder operations (create, rename, delete, move tabs)Screenshots/Demo
[Add screenshots or GIF showing the feature in action]
Testing
Compatibility
Future Enhancements
Related Issues
This feature addresses the need for better tab organization in the sidebar, as discussed in community feedback.
Checklist
How to Test
xcodegento generate the Xcode projectNotes for Reviewers
Please test the feature thoroughly and provide feedback on: