Repository navigation
feat(text): jump between the files of a diff page - #997
Merged
Merged
Conversation
multi-file patches need a way to reach a file without stepping through every change. The bar's file button, `f` and session.overlay.files --go pick a file, and file selection and change navigation stay in sync, including on remote pages.
the file button pushed the search controls off a narrow page, so it now shrinks faster than the search box down to its place and chevron, and below 480px the change counter hides its text. A path holding " b/", like docs b/run.sh, now keeps its whole name in a mode-only or binary section, and the remote and agterm-server action lists name files.
Deploying agterm with
|
| Latest commit: |
c1daaae
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://72cc12d1.agterm.pages.dev |
| Branch Preview URL: | https://diff-file-list.agterm.pages.dev |
a runner's classic scroll bar takes 17px of clientWidth, so the narrow-bar test never saw the 1200px it waited for. The fit checks still measure the visible width.
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.
A diff page can now jump between its files. The bar shows the file in view with its place (
b.go 2/4); a click orfopens the page's own file list.]and[go on from there, and a change step updates the button to the file it reachedagtermctl session overlay files --go N|PATH(session.overlay.files) jumps by number or path and answers the file reached;htmlOverlays[].text.filesreads back the file in viewpage.filespresenter kind, so an older presenter is never sent the action; agterm-server serves the command tooThe Wrap button moves to the left end of every text page's bar, and the change counter keeps a fixed width, so neither shifts as the label changes. On a page narrower than 480px the counter hides its text and keeps its buttons, so the file button and every search control still fit.