Repository navigation
Browse rail: click an org to expand it, and an "only my repos" scope - #310
Merged
Merged
Conversation
…y what is open BrowseScope gains ownRepos(org): searched as the repo: qualifiers of the checkouts, split into groups by the default scope's limits, allowed by the guard, shown in the chip and the palette. BrowseRailScopes shows what is under an org only when it is expanded; BrowseRailExpansion decides click, chevron and the one automatic opening. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ail, the sheet and the jump The expanded set is kept per Mac in UserDefaults (never in the fake world). browse.scope.toggle (za) opens or closes the current org. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…il-expanded shot Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ating Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.
What
zatoggles the current org (browse.scope.toggle). The third-width sheet shows the same tree; the half-width icon rail is unchanged.repo:qualifiers, chunked to the 240-character limit like the default scope, each chunk through the same retry ladder), so a few checkouts in a huge org do not flood the list. It stores only the org name and follows your checkouts live; it is never a saved repo list. The chip reads "acme · only my 3 repos". The guard accepts it as an org-level place and still refuses an org with no checkout. Old scope and query data still decodes.docs/github/browse.md, the keyboard reference, regeneratedgithub/browse*shots and a newgithub/browse-rail-expanded.Verified
mise run lint,swift build, the full suite (3057 tests),mise run text-check,mise run bundle,scripts/tutor-check.sh, the docs build (0 warnings); the rail, rail-expanded, scope and third-width shots read against the design; eight mutations of the new logic each failed the suite (the expand rule, click vs toggle, auto-open-once, the chunk source,contains, the palette row, the guard, the chip count).Not tested
No real window was driven: the chevron's tap winning over the row's tap and persistence across launches are unexercised. The per-chunk retry reuses the existing
pages(), which is tested for the default scope, not separately for this one.zawas not checked for clashes when Browse is layered over another keymap.🤖 Generated with Claude Code