Repository navigation
Put the new commits pill under the composer, and pin it when you scroll - #9
Merged
Merged
Conversation
The pill was laid over the top of the list, so on the Log it covered the composer's avatar and "What did you ship?", and on a profile it covered the header. Now it sits in a strip of its own inside the list, as on the web: under the composer on the Log, and under the Commits and Replies tabs on a profile, above the commits. Once you scroll past it, it pins to the top of the list, under the tabs on the Log and under the nav bar on a profile. EDGE tells PHP nothing about where a list is scrolled, so the list pins it natively with mobile-ui's new sticky header (NativePHP/mobile-ui#138). composer.lock moves combined/dev-null-app to the commit that has it. The pill's header is always in the list, hidden and empty until there are new commits, so the list keeps its shape when they come in, as the old slot beside the list did. The profile's list keeps its own column so the banners above it never sit beside it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 18, 2026
Merged
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 "↑ 3 new commits" pill was laid over the top of the list. On the Log it covered the composer's avatar and "What did you ship?". On a profile it sat over the header at the top of the screen.
Now it's placed the way the web places it. The web puts the pill in a strip of its own under the composer, with a border below, and makes the strip
stickyunder the tabs (resources/js/pages/log/show.tsx). The app does the same:EDGE tells PHP nothing about where a list is scrolled, so PHP can't move the pill when the composer scrolls away. The list has to pin it natively. That needed a small mobile-ui feature,
native:sticky-header, in NativePHP/mobile-ui#138. It's merged intocombined/dev-null-app, and this PR'scomposer.lockmoves to that commit (b391517). That commit also has the lane-buttons session's button change, which was already on the branch.What reviewers should check
page-tabs. Whichever PR lands second should put the pill's include at the top of each page's list, under the tabs.Tests
LogCacheTest: the old "slot beside the list" test now checks that the pill sits in the list between the composer and the first commit as asticky_header, hidden and empty before new commits come in, and that nothing sits beside the list before or after.ProfileCacheTest: the same for a profile, between the tabs and the first commit.Verified on the simulator
iPhone 17 Pro, iOS 27, against
devnull.com--timeline.test, with new commits made by tinker for someone local_dev follows.Recordings: Log, profile. Both scroll down until it pins, go back up, then pull to refresh. Tapping the pill while it's pinned puts the new commits on top and takes the list back to the top (after). The list drew normally every time, scrolled or not.
Not checked: Android. The mobile-ui side is a
stickyHeaderitem in the LazyColumn, but I haven't run it on a device or emulator.🤖 Generated with Claude Code