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
🤖 Review: Move Files Changed to top and remove prefix subtraction (#382)
Repositions the file tree and simplifies the directory structure
display.
## Changes
- **File tree now on top/left**: In wide layout, appears on left side
(was right). In narrow layout, appears at top.
- **Full directory structure**: Removed common prefix extraction logic
that automatically collapsed shared path segments.
- **User control**: Users can now collapse/expand the entire tree
hierarchy manually.
## Layout Changes
- Wide layout: File tree on left with border-right
- Narrow layout: File tree on top with border-bottom
- Changed from `order: 2` to `order: 1` to ensure Files Changed is
always first
## Technical Details
Removed:
- `extractCommonPrefix` logic from ReviewPanel
- `commonPrefix` state and prop
- `CommonPrefix` styled component
- Navigation logic to start tree at common prefix
Net **-43 LoC** (55 deletions, 12 insertions)
_Generated with `cmux`_
0 commit comments