Repository navigation
Float the Log's new commits pill over the commits, and keep your place when you tap it - #47
Merged
Merged
Conversation
The pill sat in a strip of its own at the top of the Log's list, pushing the commits down. It now goes in the pager's overlay, as on a profile, so it floats over the commits just under the tabs and stays there while the list scrolls. The overlay passes taps beside it through to the commits. With both screens using the overlay, the sticky-header version of the pill is gone. 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.
On the Log, the "↑ 14 new commits" pill had a strip of its own at the top of the list, with a hairline under it, so it pushed the commits down. It should float over them.
The Log now puts the pill in the pager's overlay, the way a profile already does. It hangs just under the Following / Latest / Trending tabs, over the commits, and stays there while the list scrolls under it. The overlay lets taps on either side of the pill through to the commits.
Both screens now use the overlay, so I removed the sticky-header version of the pill and its
$hangingswitch. The pill's slot is still always there and hidden until there are new commits, so the pager keeps its shape when they arrive.A tap on the pill now also leaves you where you are. It used to start a new list, which always opens at the top. Now the new commits go above the rows you're reading, which keep their keys, so the list keeps them in place and the new ones are there when you scroll up. Trending keeps its ranking under them the same way. When more came in than a page holds, the fresh page replaces the list and what you were reading is gone, so that case still starts a new list at the top.
Things to check:
🤖 Generated with Claude Code