-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
In order to make the sidebar more adaptable and customizable we probably need to implement a completely custom one.
The target is to move away from using NavigationLink to display the CodeFileView
Steps that need to be taken:
- New Custom Sidebar should be added as a
ModuletoCodeEditModulesRequires to move
Documentsinto a separateModule - move
CodeFileViewtoWorkspaceViewand display ifworkspace.selectedIdis set. - in
WorkspaceViewadd a new SidebarView in aHStackwith theCodeFileView. - vibrancy background on new Sidebar.
- custom tree structure for folders and files (keep in mind that in large projects performance is acceptable).
- each item should be selectable.
- selection state should be updated in order to represent
workspace.selectedId. ( 🐞 Sidebar selection not changing in circumstances #137 ) - when a file is selected from different UI (tabBar, quick open, …) the folders containing the file should expand and the file should move to focus.
Xcode doesn't do this. Should we?
- selection background should take up the full width of the sidebar - padding (like in Xcode).
- folders need to be collapsable (mind the animation).
- files/folders can be dragged into other folders.
- consider ✨ Use compact list items in sidebar Project navigator #100
austincondiff
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🏁 Complete