You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: feat: Implement persistent, focused root directory for sidebar with '..' navigation
2
+
3
+
Description:
4
+
This Pull Request introduces a new feature to enhance sidebar management, providing more granular control over directory viewing and improving user navigation.
5
+
6
+
Key Changes:
7
+
8
+
- Custom Root Directory: Double-clicking a folder in the sidebar now sets it as the new "root" of the tree view. The sidebar will then display only the contents of that folder and its subfolders, hiding the rest of the higher hierarchy.
9
+
- Upward Navigation (`..`): If the current root directory is not the filesystem's root, a special ".." entry is added at the beginning of the list of children for the current root folder. Double-clicking ".." will navigate up one level in the directory hierarchy.
10
+
- Persistence on Launch: The selected root directory is saved in the application's preferences. Upon subsequent launches, the application will automatically start from this directory, maintaining the user's preferred sidebar configuration.
11
+
12
+
Motivation:
13
+
14
+
These changes significantly improve usability for users working with deep repositories or folder structures, allowing them to focus the directory tree on a relevant part of the filesystem and easily restore that context on each launch.
0 commit comments