feat(web): toggle all folders in Files tab - #137
Merged
Conversation
incognitojam
force-pushed
the
t3code/add-files-collapse-expand
branch
from
August 14, 2026 18:25
609810d to
f0577d0
Compare
4 tasks
incognitojam
added a commit
that referenced
this pull request
Aug 14, 2026
> [!NOTE] > Moves pull request checks out of the Summary scroll and into a first-class Checks tab, while preserving the existing check actions and header rollup. ## What Changed - Added a dedicated Checks tab between Summary and Timeline in both full and condensed pull request chrome. - Moved the existing check list, host links, status labels, and failing-check Fix handoff into the new tab. - Made the tab-bar check rollup a flat button that opens Checks, and kept the status icon beside the rollup in the tab content. - Added a discoverable empty state and a Checks-specific loading ghost. - Removed the nested Checks section from Summary and added focused component coverage. ## Why Checks are a primary pull request state, but they were buried below the description in Summary. Giving them a tab makes the result directly reachable without making users scroll through unrelated content. ## UI Changes | Before: nested under Summary | After: dedicated Checks tab | | --- | --- | |  |  | Screenshots use the Pull Requests page with host-reported checks from repository PRs #137 and #138, respectively. ## Verification - `vp test run apps/web/src/components/pullRequest/PullRequestChecksTab.test.tsx apps/web/src/components/pullRequest/pullRequestChecks.test.tsx` - `vp run --filter @t3tools/web typecheck` - Targeted formatting and lint checks for the changed pull request components - Authenticated local web preview against repository PR #138: the tab-bar rollup opens Checks, which renders all nine host-reported runs with the status icon beside the summary and no extra divider ## Checklist - [x] This PR is small and focused - [x] I explained what changed and why - [x] I included before/after screenshots for the UI change - [x] No video is needed because this change adds no motion or timing behavior --- Written by an agent (T3 Code, gpt-5.6-sol).
incognitojam
added a commit
that referenced
this pull request
Aug 15, 2026
The Files tab could only expand or collapse folders one at a time, even though diff views already provide a bulk control. This adds the matching collapse/expand button beside refresh. It follows manual tree expansion state, collapses every directory when any are open, and expands every directory when the tree is fully collapsed. ## Verification - `vp run --filter @t3tools/web typecheck` - Files-focused web unit suite: 32 tests passed - Authenticated local web pass: collapse moved the visible tree from 5 expanded folders to 0 and changed the action to “Expand all files”; expanding restored the folders and changed it back to “Collapse all files” --- Written by an agent (T3 Code, gpt-5.6-sol).
incognitojam
added a commit
that referenced
this pull request
Aug 15, 2026
> [!NOTE] > Moves pull request checks out of the Summary scroll and into a first-class Checks tab, while preserving the existing check actions and header rollup. ## What Changed - Added a dedicated Checks tab between Summary and Timeline in both full and condensed pull request chrome. - Moved the existing check list, host links, status labels, and failing-check Fix handoff into the new tab. - Made the tab-bar check rollup a flat button that opens Checks, and kept the status icon beside the rollup in the tab content. - Added a discoverable empty state and a Checks-specific loading ghost. - Removed the nested Checks section from Summary and added focused component coverage. ## Why Checks are a primary pull request state, but they were buried below the description in Summary. Giving them a tab makes the result directly reachable without making users scroll through unrelated content. ## UI Changes | Before: nested under Summary | After: dedicated Checks tab | | --- | --- | |  |  | Screenshots use the Pull Requests page with host-reported checks from repository PRs #137 and #138, respectively. ## Verification - `vp test run apps/web/src/components/pullRequest/PullRequestChecksTab.test.tsx apps/web/src/components/pullRequest/pullRequestChecks.test.tsx` - `vp run --filter @t3tools/web typecheck` - Targeted formatting and lint checks for the changed pull request components - Authenticated local web preview against repository PR #138: the tab-bar rollup opens Checks, which renders all nine host-reported runs with the status icon beside the summary and no extra divider ## Checklist - [x] This PR is small and focused - [x] I explained what changed and why - [x] I included before/after screenshots for the UI change - [x] No video is needed because this change adds no motion or timing behavior --- Written by an agent (T3 Code, gpt-5.6-sol).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Files tab could only expand or collapse folders one at a time, even though diff views already provide a bulk control.
This adds the matching collapse/expand button beside refresh. It follows manual tree expansion state, collapses every directory when any are open, and expands every directory when the tree is fully collapsed.
Verification
vp run --filter @t3tools/web typecheckWritten by an agent (T3 Code, gpt-5.6-sol).