Skip to content

✨ feat: drag-to-reorder projects in sidebar#64

Merged
vaayne merged 1 commit intomainfrom
feat/sortable-sidebar-projects
Apr 13, 2026
Merged

✨ feat: drag-to-reorder projects in sidebar#64
vaayne merged 1 commit intomainfrom
feat/sortable-sidebar-projects

Conversation

@vaayne
Copy link
Copy Markdown
Owner

@vaayne vaayne commented Apr 13, 2026

Summary

Adds drag-and-drop reordering for projects in the sidebar.

Changes

  • ProjectRepository: Added reorder(ids:) to persist a new project ordering atomically.
  • WorkspaceManager: Added reorderProjects(_ orderedIds:) to update in-memory state and persist.
  • WorktreeSidebarView: Project section headers are now draggable. Dropping on another project inserts it before the target and fires onReorderProjects. A blue 2pt line indicates the drop target.
  • Wired onReorderProjects through SidebarContainerViewSidebarHostingController / SidebarContentViewAppDelegate.

@vaayne vaayne merged commit 019299c into main Apr 13, 2026
5 checks passed
@vaayne vaayne deleted the feat/sortable-sidebar-projects branch April 13, 2026 15:24
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.

1 participant