Repository navigation
feat: nest stacked pull requests in the PR list - #75
Merged
Merged
Conversation
When two or more PRs from one stack are in the current list, they sit under
one stack row ("Stack into main · 2 of 5 here · +3 more") instead of spread
through the list. The row folds them away and remembers that per stack; it
stays open while it holds the selected PR. "+N more" opens the existing stack
popover on web, and the first PR (whose page lists every layer) on mobile.
The grouping is one pure function in client-runtime shared by web and mobile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Long PR lists get cluttered when several PRs belong to one stack. Now, when two or more PRs from the same stack are in the current list, they sit under one stack row instead of being spread through the list:
nestPullRequestStacks) is shared by web and mobile.Verified: web in a real dev client with faked stack data (several stacks, sorts Updated/Largest/Oldest, fold persists). Mobile builds and its list logic is tested, but has not been run on a phone. Typecheck, tests (7 new), lint, knip and i18n check pass.
Model: Claude Opus 5.5 (claude-opus-5-5), Claude Code harness in T3 Code.
🤖 Generated with Claude Code