chadtmiller.com/knotless
git that lives in your Atmosphere account
1
10
The iOS app's repository and profile screens follow GitHub's
Merged Approved
This pull reworks the iOS repository and profile screens to follow GitHub's layout. It adds Commits, Releases, Actions and Repositories screens, a branch picker, and the Fork, notification-level and Follow writes.
I read the Swift, model, write, route and look-script changes. I skipped the SVG and asset-catalog JSON files, which are icon data. The check, ios, web, lexicons, shots, e2e and docs checks have passed. test was still running when I looked, and the diff touches no Rust.
- Consistency: the new writes are listed in
ModelCheck, soios.ymlholds them to their lexicons. Everyoct-*icon the new views use exists in the asset catalog.Client.answer(to:)reuses the recorded-answer path, soios-lookcan draw a fork. - Not tested against a server: as the body says, Fork, Follow and the notification choice have not been run against the real server. Please try each once before relying on them.
- Minor, no change needed:
HearMenushows no checkmark if the server ever returnsparticipatingas the viewer'ssubscriptioninstead of omitting it.- The profile's Repositories row shows
repos.countfrom a singlegetActorReposcall. If that call is paged, the count would be a lower bound.
All checks have passed
8 passed, 2 skipped
Merged as 29bed4a
What changes
A repository is laid out as GitHub's app lays one out: its owner, name, description, website and stars, then Star, fork and notification buttons, then bands of rows for issues, pulls, actions and releases with the latest beneath them, the branch with a way to change it, code and commits, and the README.
New screens and writes. Actions lists a repository's runs, Releases its releases with each one's notes and files, Commits a branch's history, and Repositories an account's. The app can now fork a repository, after asking, choose what to hear of one, and follow an account.
A profile has a Follow button, a Repositories row and cards of recent repositories.
Why
The two screens were plain lists that left out much of what the server already answers, and could not change branch, see runs or follow anyone.
How it was checked
Drawn with
just ios-look, including the newcommits,releases,actions,personandrepositoriesscreens, with the notification menu and the branch sheet open, and looked at.ios/check-models.shreads the recorded answers of the four new lists and holds the seven new writes to their lexicons.Shortcomings
Fork, follow and the notification choice have not been run against the real server, only held to their lexicons.
getRepogives no fork count andgetActorReposno star counts, so a repository shows no forks and the profile's cards are recent rather than GitHub's popular. Commits shows no total, aslistCommitsgives none. A run's row opens nothing yet.🤖 Generated with Claude Code