Repository navigation
Conversation
On someone's profile the "2 new commits" pill floated over the header and the Remote button. Profiles and organization pages now have no pill. New commits go straight in on top when the list is known to be at its top: when the page opens, after a pull to refresh, and when you tap the tab you're on or swipe to the other one. After you've left the page and come back, or the list has loaded its next page, you may be scrolled down, so they wait out of sight until the next pull to refresh or tab tap rather than pushing the rows you're reading down. The list keeps its key when they go in, so nothing is re-keyed. The Log keeps its pill as it was. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp
marked this pull request as draft
November 20, 2026 23:19
Contributor
Randomly getting name-checked in a PR that I happen to click into out of interest... 😅 |
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 Shane Smith's profile in build 37, the "↑ 2 new commits" pill sat at the top of the screen, over the header and the Remote button. Profiles shouldn't show it at all, so they no longer do. Organization pages are the same kind of screen, so they've lost it too. The Log keeps its pill exactly as it was.
What new commits do now on a profile or organization
EDGE never tells PHP where a list is scrolled, so the screen goes by what it knows.
When they go in, the list keeps its key, so it isn't rebuilt and rows already showing stay put. Only the tab tap re-keys it, as it already did.
The logic is a small new trait,
SlotsInNewCommits, used byProfileandOrganizationnext toHoldsNewCommits. The pager overlay that held the pill is gone from both views.Things to check
perf/partial-frames(Send only what changed on the timeline screens #189) locally. It merged cleanly, and with mobile-air #699 applied to the vendor copy soPartialFramesTestruns instead of skipping, all 9 of its cases pass, as does the full suite there (2,054 tests). Putting new commits in on top is the same frame change as pulling to refresh with new commits, which that test already covers.Tests
onResumeand afterloadMore, then go in on pull to refresh or a tab tap.Screenshots
iOS only. The change is PHP and Blade with nothing platform specific, so I kept the build count down on Simon's machine and skipped Android. Taken on an iPhone 18 Pro simulator (iOS 27) against a local devnull server, with commits added to @eveline24's profile between visits.
profile
Scrolled down, left and came back while a new commit arrived: 1, before leaving, 2, back with the commit held (pixel for pixel the same rows as 1, only the scroll indicator differs), 3, after pull to refresh.
🤖 Generated with Claude Code