Repository navigation
Open a profile's followers and following from its counts - #10
Merged
Merged
Conversation
Tapping "N followers" or "N following" on a profile pushes a list of those people, as the web's connections page lists them: newest follow first, each with their avatar ringed in their lane, name, handle, two lines of bio, Follows you where it applies, and Follow or Following. A row opens their profile. Follow flips straight away and goes back if devnull refuses. On your own Following an unfollowed row stays as Follow, like the web, until the list refreshes. The web can't remove a follower, so the app can't either. Lists load more as you scroll, refresh when pulled, and open on the first page kept last time. A follow anywhere now marks that person in every kept list of people and counts on your profile even when theirs was never opened. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A button sizes itself to its label, so a width class on it did nothing and Following came out wider than Follow. The button now fills a slot of its own. Bios also lose the extra line spacing, which looked loose at 14pt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main buttons now wear your lane, and the profile's Follow already does. The Follow button on each row of a followers or following list does too, and it's in the lane buttons test with the others. Following stays secondary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp
force-pushed
the
feat/follow-lists
branch
from
October 18, 2026 19:07
38668f4 to
8d9a08f
Compare
This was referenced Oct 18, 2026
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.
Tapping "N followers" or "N following" on a profile now opens the list of those people, as on the web.
What changed
Connectionsscreen at{tab}/users/{username}/followersand/following, pushed in the tab you tapped from. Titled "@ada's followers" or "@ada's following".ResponseCachelike the other screens: the first page shows at once, then refreshes behind it. A refreshed first page with no more after it replaces the list, so people who left go.Cache changes reviewers should look at
ResponseCache::followChangedused to count a follow on your own profile only when the other person's profile was kept. Following someone from a list whose profile you never opened left your Following count wrong until the next refresh. Now a missing profile counts as a change.is_followedon that person in every kept follower list, following list and notification group, so going back to any of them shows the new state at once.Connectionshas alistPath()helper, notpath(). Apath()method on the class overridesOpensInTab's private staticpath()and quietly breaksopenInTab.API
Needs the followers and following endpoints from simonhamp/devnull.com#2, which is stacked on nunomaduro/dev-null.sh#130.
Verification
php artisan teston the rebased branch: 728 passed. The 2 deprecations come fromActivity.phpand were there before this branch.On an iPhone 17 Pro simulator (iOS 27), signed in as local_dev against a local copy of the API branch, with a test user
fl_adawho has 36 followers (since removed):After rebasing onto main (#9, #3, #7, #8, #4, #5) I checked it again on a fresh simulator, this time with taps: signed in through Sign in with GitHub, opened my Following from the count, unfollowed fl_ada (the row stays, Follow comes back in my lane colour at the same width), went back and the count had dropped from 2 to 1. Then I opened my Followers, a row (dking's profile), their followers, followed fl_ada again, opened fl_ada and their 36 followers, scrolled to the end (load more fetched the second page), followed Follower 1 there, and went back to find 3 following on my profile. Pull to refresh on my Following kept the list right.
Recordings: unfollow and the count, browsing, following and load more.
🤖 Generated with Claude Code