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
{{ message }}
Repository navigation
[Feature]: Desktop Files pane: stack the file view under the tree, with a draggable splitter #181
In the Files pane the workspace tree and the file being read sit side by side inside the right side panel: the tree owns a resizable column, and the file view gets what is left of a panel that already shares the window with the chat. There is no stacked option.
On a 1280–1440 px window that leaves roughly 200–350 px for code. What it costs:
every longer line wraps into a ribbon, or forces horizontal scrolling on each line;
paths in the tree truncate to a few characters while the tree is the widest element in the panel;
the only remedy is dragging the side panel wider, which takes width from the chat being read at the same time.
The Changes pane has the same shape and the same cause: both are a tree column plus a content area.
Proposal
A layout choice for side panels: content right (today, the default) or content below.
"Below": the tree spans the panel's full width at the top with a bounded, resizable and collapsible height; the file view takes the full width underneath. Both dividers stay draggable, and the choice plus both sizes persist the way the column width already does.
Since the frame is shared between Files and Changes, the option should live at the shared level rather than be re-implemented per pane, so both behave the same.
Optional: switch to stacked automatically below a side-panel width threshold, which is exactly where side-by-side stops working.
Why this shape
A tree needs vertical room and a short horizontal label; a file needs horizontal room. Splitting the scarce dimension gives both halves less than either needs.
Acceptance criteria
With "content below" selected, the tree spans the panel width and the file view sits under it.
Both dividers are draggable and the sizes survive a restart.
Switching back to "content right" restores the current layout exactly.
Environment
Command Code Desktop 0.1.63, Windows 10 (build 19045) x64.
Activity