Skip to content

Fix the file tree layout in 9:16 - #23

Merged
TanbirRamim merged 1 commit into
mainfrom
fix/vertical-file-tree
Oct 23, 2026
Merged

TanbirRamim merged 1 commit into
mainfrom
fix/vertical-file-tree

Conversation

@TanbirRamim

Copy link
Copy Markdown
Owner

In 9:16 the tree is now always a flat list of full paths (sorted, so folders still group together) instead of an indented tree. With two CSS columns there's no folder row to get separated from its files anymore.

  • long paths are cut from the left (…onents/settings/ThemeToggleButton.tsx), so the file name stays visible
  • over 12 files it keeps edited files first, same as the old overflow logic, then shows "+ N more files"
  • 16:9 is unchanged (the 30 char overflow trim now uses the same helper)

Checked by rendering 9:16 with 7 nested files and with 16 files.

Closes #5

Copilot AI balanced review requested due to automatic review settings October 23, 2026 14:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@TanbirRamim
TanbirRamim merged commit 382b7b3 into main Oct 23, 2026
5 checks passed
@TanbirRamim
TanbirRamim deleted the fix/vertical-file-tree branch October 23, 2026 14:05
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.

Fix the file tree layout in 9:16

2 participants