Skip to content

Added a "see all files" link to truncated folders - #110

Merged
CodyCBakerPhD merged 1 commit into
mainfrom
claude/zealous-wozniak-diprw6
Nov 17, 2026
Merged

CodyCBakerPhD merged 1 commit into
mainfrom
claude/zealous-wozniak-diprw6

Conversation

@CodyCBakerPhD

Copy link
Copy Markdown
Member

Addresses #109.

Each "… N more files" row now has a right-aligned [see all files] link. Clicking it shows every file directly in that folder without moving the slider.

  • One level only: subfolders keep their own truncation, and the other folders don't change.
  • Slider budget unchanged: the opened folder still takes its normal round-robin share, so it doesn't take files away from the other folders or hand extra ones to them.
  • Slider takes over again: moving the slider truncates opened folders back to its count, the same way it already re-expands collapsed folders.

Tests: added unit tests in tests/unit/fileTree.dom.test.ts, and extended the 35-file test in tests/integration/folder-drop.spec.ts to cover the link's alignment, the click, and the slider taking over again.

Original prompt

Try #109 by adding a '[see all files]' text right aligned to that clickable and have it show all file (and unexpanded) contents at that level without adjusting the slider


Generated by Claude Code

Each "… N more files" row now carries a right-aligned "[see all files]"
link that reveals every file directly in that folder (one level only,
subfolders keep their own reveal state) without moving the slider.
An opened folder still takes its round-robin share of the slider budget,
so other folders are unaffected; moving the slider clears the openings,
just as it already overrides manually collapsed folders.

Addresses #109.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DQrzw6cnkPpCKX8Ztx9YR1
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-17 18:56 UTC

@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #110   +/-   ##
=======================================
  Coverage   99.94%   99.94%           
=======================================
  Files          20       20           
  Lines        1731     1755   +24     
  Branches      327      330    +3     
=======================================
+ Hits         1730     1754   +24     
  Misses          1        1           
Files with missing lines Coverage Δ
src/main.ts 100.00% <100.00%> (ø)
src/ui/fileTree.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@CodyCBakerPhD CodyCBakerPhD self-assigned this Nov 9, 2026
@CodyCBakerPhD
CodyCBakerPhD marked this pull request as ready for review November 9, 2026 16:13
@CodyCBakerPhD

Copy link
Copy Markdown
Member Author

@rhingo It now has

image

Good for you?

@rhingo

rhingo commented Nov 17, 2026

Copy link
Copy Markdown

Tested the preview link and it looks good. Thanks! Feel free to merge

@CodyCBakerPhD
CodyCBakerPhD merged commit c8bd4e9 into main Nov 17, 2026
16 checks passed
@CodyCBakerPhD
CodyCBakerPhD deleted the claude/zealous-wozniak-diprw6 branch November 17, 2026 18:55
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.

3 participants