Skip to content

feat(ui/tree): add universal tree component and migrate folders#694

Merged
antonreshetov merged 1 commit intomainfrom
feat/ui-tree
Mar 16, 2026
Merged

feat(ui/tree): add universal tree component and migrate folders#694
antonreshetov merged 1 commit intomainfrom
feat/ui-tree

Conversation

@antonreshetov
Copy link
Copy Markdown
Member

No description provided.

Add reusable tree component (src/renderer/components/ui/tree/) with:
- Slot-based icon customization
- DnD with position detection (before/after/center for containers)
- Inline rename with outline, no layout shift
- Multi-selection (single/range/toggle via consumer)
- Focus/highlight visual states
- External drop support
- Context menu via event emission

Migrate sidebar/folders to use UiTree as thin wrapper, removing
old TreeNode.vue, composables, and injection keys (-741 lines).
@antonreshetov antonreshetov merged commit 27f7e49 into main Mar 16, 2026
@antonreshetov antonreshetov deleted the feat/ui-tree branch March 16, 2026 06:27
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