Skip to content

Put the Remotes composer on the surface under a soft fade - #177

Open
simonhamp wants to merge 48 commits into
mainfrom
feat/remote-composer
Open

simonhamp wants to merge 48 commits into
mainfrom
feat/remote-composer

Conversation

@simonhamp

@simonhamp simonhamp commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

The message composer at the bottom of a Remotes thread has the field across the top, growing to five lines, and under it a row with the + (photos, a voice note, Ping) on the left and a round Push button with an up arrow on the right, in your colour. Push is a muted circle while there's nothing to send, and the 1,600+ character count sits beside it.

This fixes Push being shorter than the field on iOS, since they're no longer side by side.

The bar

There's no box, border or hairline. On iOS the bar is Liquid Glass: the thread scrolls on under it and shows through blurred, so the bar is no longer a solid block. The glass fades in over the bar's top 28pt and runs on under the home indicator, so it has no hard top edge. On Android the field and its row sit on the surface as before, with the thread fading out above the bar through a 28pt gradient.

  • On iOS, <native:bottom-bar class="glass"> (Display::composerBarGlass()) asks mobile-air to draw the glass behind the whole bar. That comes from mobile-air#710, now merged (see below). The bar's first row is the fade, a gradient from see-through to the surface at 40%, and the rows under it have the surface at 40% (Display::composerSurface(), ComposerGlassTint). The tint keeps the glass close to the screen's own colour. Without it the glass came out a lighter grey than the screen in dark mode. A fill reaches under the home indicator, so the tint goes there too. The bar column itself still has no background, since mobile-air paints a bar's background colour behind the whole bar.
  • On Android the thread stops at the bar, so the fade lies over the foot of the thread, in the stack around it, and the bar is the surface. Nothing changed there.

EDGE's gradient stops don't get a dark companion the way bg-theme-* does, so Display::composerFade() builds them from theme('surface'), and the screen draws again on AppearanceChanged (the RedrawsOnAppearanceChange trait). I checked switching light and dark with the thread open.

The mobile-air change behind the glass

This started as a local patch and is now upstream as NativePHP/mobile-air#710. The branch's lock picks it up (see Dependencies below).

EDGE's own glass class can't give a soft edge. On the rows it draws Liquid Glass in the element's shape, with a bright rim and some lensing along the top, it can't be faded, and it stops above the home indicator, where the thread showed through unblurred. So the glass comes from a small change to mobile-air's NativeRootTabsRenderer: when a bottom_bar carries glass, it draws glass behind the bar and through the bottom safe area, masked by a gradient so it fades in over the top 28pt. It's one file, about 50 lines. For now it's only applied in the vendor folder of the iPhone build, not opened upstream. Without it iOS still works, but the bar is just the 40% tint with nothing blurred behind it.

Things I tried first, with screenshots on the idea board:

  • glass on the rows in place of the surface. The rim and lensing make a hard line at the top, and the strip under the home indicator isn't covered.
  • The same with a 60% tint and the fade ending at 60%. The rim still shows.
  • iOS's own scroll edge effect, by switching the tabs renderer to .safeAreaBar. The automatic style draws a hairline. The soft style hardly blurs at the field's height, so a message behind the placeholder stays readable.
  • A 40pt fade instead of 28pt. In the longer ramp the content shows twice, sharp and blurred.

Shared with the commit page

composer-box (the field over a row of tools and the send button) and send-button are shared partials, which the reply bar on a commit's page uses in #180. composer-box takes $lead and $trail partials for the start and end of its row, in place of $counter: #180 puts the drop and the count in $trail, and the "post as" avatar from #182 fits in $lead. composer-fade, Display::composerBar() and Display::fadesInBar() do the fade, Display::composerBarGlass() and composerSurface() the glass, and Display::ComposerBoxBarHeight, ComposerFadeHeight and composerBoxGrowth() give a screen its clearance under the bar.

Other changes

  • The "folded in feeds" hint, and the FoldVertical icon before it, are gone from body-counter, so the composer sheet no longer says a long commit gets folded. The countdown near the limit stays. Commit::isFoldedInLists() and the preview constants had no other users, so they went too.
  • Picking two or three photos at once kept only the last one. A photo moved into the draft folder keeps its file time, often years ago, and until the draft holds it nothing does, so keeping the next photo pruned it as long forgotten. DraftImages::keep() now touches the kept file. This happens on main too. The commit page's new photo button in Commit screen: photos and preview in the reply bar, drop any time, related commits folded #180 showed it up.
  • The empty slots above the field (mentions, the reply strip, photos) are h-[0.1] when empty. On iOS an empty row took 10pt of the bar, and EDGE ignores a height of 0. The slots keep their keys and places, so the field doesn't move among its siblings and Android keeps the keyboard.

Everything else the composer did is unchanged: keep-focus, mention picking, the + menu, the voice note in the field's place, photos, the reply strip and Push's disabled states.

The text jumping as you type

Simon saw the reply field's text jump on the commit page, with the top line cut in half. It's the same text input here. The cause is in mobile-ui's iOS multiline input, not in the app, and #180 has the details and the upstream fix. Nothing in this PR drives the field's height while you type: PHP only sets max-lines, which never changes.

Gaps that need mobile-air or mobile-ui

  • Pushed screens in a tab pin their bottom bar with .safeAreaInset (NativeRootTabsRenderer) and paint the bar's background colour behind all of it, so a bar can't be partly see-through by itself. That's why the fade is the bar's first row on iOS.
  • Soft glass behind a bottom bar, faded in at the top and run on under the home indicator. Merged as mobile-air#710.
  • Gradient stops have no dark companion. Fixed in mobile-air#734. The redraw on an appearance change is still here and could come out in a follow-up.
  • A height of 0 is dropped on iOS (l.height > 0 in NodeLayoutModifier).
  • The iOS multiline text input's sizing (see Commit screen: photos and preview in the reply bar, drop any time, related commits folded #180). Fixed in mobile-ui#227.

Dependencies

composer update moves nativephp/mobile to a9fd09f and nativephp/mobile-ui to 633ebed, which brings in mobile-air#710 (the glass), #734 (gradients in dark mode) and #740 (NavAction::subtitle()), and mobile-ui#227 (multiline field) and #224 (menu row pictures). The rest are Laravel and Symfony patch releases. Full suite after the update: 2208 passed, 1 skipped. Checked on the iPhone Duo simulator, folded and open.

Testing

Tested on an iOS 27.0 simulator (iPhone 18 Pro) and an Android 35 emulator against a local API, in light and dark, keyboard up and down: an image scrolled under the bar, a long message growing past five lines, mentions in an org thread (picking one kept the keyboard), and switching appearance with the thread open. On iOS I also typed at the medium and XXL text sizes. There's no Android shot of an empty field with the keyboard up; the long message with the keyboard up covers it. The glass I checked on the iOS simulator in light and dark, keyboard up and down, with photos scrolled under the bar, a long message and mentions. 1,906 tests pass, run serially.

Screenshots

The iOS After shots show the glass. Android is unchanged.

remotes-behind

iOS light iOS dark Android light Android dark
Before
After

remotes-keyboard

iOS light iOS dark Android light Android dark
Before
After

remotes-long

iOS light iOS dark Android light Android dark
Before
After

remotes-long-keyboard

iOS light iOS dark Android light Android dark
Before
After

remotes-mentions

iOS light iOS dark Android light Android dark
Before
After
  • No visible change

🤖 Generated with Claude Code

simonhamp and others added 2 commits November 15, 2026 22:55
The field now sits across the top of a rounded box with the + and a round
Push button under it, like the Claude app's composer. That settles the old
height mismatch between the field and the Push button, and Push takes less
room. On iOS the bar is Liquid Glass tinted with the surface, so messages
scrolling behind it blur instead of showing through. Android keeps its solid
surface bar.

The box is a shared partial (composer-box, with send-button) so the commit
reply bar can move to it later. body-counter gains a text form of the fold
hint for that box, and the Remotes length counter moves into its own partial.

Empty slots above the box now take 0.1pt: on iOS an empty one took 10pt of
the bar, which showed as a gap once the bar had a backdrop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reply bar is now the same rounded box as the Remotes composer: the
field across the top, and under it the expand button on the left and a
round send button in your colour on the right. The bar is Liquid Glass on
iOS and the solid surface on Android. The text Reply button is gone.

The expand button no longer opens the composer sheet. Presenting a sheet
takes the keyboard down and puts it back up on both platforms, however
early its field asks for focus, so the box grows in place instead (8 lines,
up to 12) and the keyboard stays where it is. Grown, the box gets a photos
and preview button that opens the sheet as before. Photos attached there
show as a count in the box. A restored draft's stash@{0} and drop sit under
the box, since the grown row has no room for them.

A reply long enough to be folded in feeds now says "folded in feeds" in
small muted text, here and in the sheet. The FoldVertical icon read as a
button that did nothing, so it's gone.

Related commits start closed under a header with their count. Tapping it
fades them in one after another and turns the chevron; tapping again fades
them out, then takes them out. It uses the Beat task from the Log threads
work (PR 179), copied as is so the two branches merge cleanly.

The old composer-plate partial had no users left, so it's deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The web lets a member of a GitHub organization post a commit, a quote or a
reply as that organization. The app now does too.

- GET /me's organizations are kept on the phone (Account), and refreshed
  whenever /me is.
- The composer sheet shows who the commit goes out as above the field. A tap
  opens a menu of you and your organizations. The reply bar on a commit's
  page has the same avatar at its start, and hands its choice to the reply
  sheet and back.
- The choice goes to devnull as `author`, which the API already takes, and
  rides in the outbox, so a staged commit shows the organization as its
  author. Commit and Reply use the organization's lane.
- A scheduled commit goes out as the organization too, and the Scheduled
  list says "As @handle" as the web's does.
- If devnull turns a commit down (you left the organization, or it's rate
  limited), the usual toast says why and the draft comes back with the
  organization still picked. The app asks /me again, and a composer whose
  organization is gone posts as you.
- Tapping an organization in Notifications opens its page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp and others added 8 commits November 18, 2026 00:13
The composer bar was a bordered box on Liquid Glass tinted at 70%, which
looked heavy, with a hard top edge. Now the field and its row sit straight
on the surface, and a 28pt gradient over the foot of the thread fades it
out above the bar on both platforms. Android gets the same fade, since it
lies over the scroll view rather than relying on a blur. EDGE's gradient
stops have no dark companion, so the stops come from theme('surface') and
the screen draws again on AppearanceChanged.

"folded in feeds" (and the FoldVertical icon before it) is gone from
body-counter, so nothing in the composers says a long commit gets folded.
The countdown near the limit stays.

composer-box takes $lead and $trail partials for the start and end of its
row, in place of $counter, so the commit page can put the drop and a
"post as" avatar there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the fade over the foot of the screen, the box without its border
and the fold hint's removal. The reply bar passes its counter as a trail
now, and the fold test checks the hint is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reply bar no longer has the expand button or grows in place, and it
never opens the composer sheet. Its row has a photo button (a menu with
the library and the camera) and Preview. Photos show above the field with
their ✕ and ALT, go in the reply's stash, and send with it. Preview shows
the reply as it will look in the field's place, with the body devnull
keeps, and pressed again brings the field back with the keyboard.

The field grows with the reply to five lines and then scrolls. Nothing
in PHP changes its line limits any more.

Drop shows beside Reply as soon as the reply has anything in it, so a
draft can be thrown away at any time. stash@{0} still marks a draft that
came back from the stash. Both moved into the row, so the bar no longer
gets taller for them.

The page fades out above the bar, as Remotes does, from the stack now
around its scroll view. composer-preview takes its draft as parameters so
the sheet and the bar share it. The expand icons are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the fade drawn in the bar on iOS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On iOS the screen runs on under its bottom bar, so a fade lying over the
foot of the thread sat under the bar and never showed. The bar now draws
it as its first row there, and its rows (composer-rows) have the surface
of their own. The bar itself has no background on iOS: mobile-air paints
a bar's background colour behind the whole bar, which hid the fade. The
strip under the home indicator still shows the surface, from the scroll
view's background. Android keeps the fade over the foot of the thread,
since its screen stops at the bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page runs on under the bar on iOS, so the fade is the bar's first row
there, over the reply's rows, which have the surface. On Android it stays
over the foot of the page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picking two photos from the library kept only the last. A photo moved
into the draft folder keeps its own time, often years ago, and until the
draft holds it nothing does, so keeping the second one pruned the first
as long forgotten. The kept file's time is now the time it was picked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the fix for photos picked together pruning each other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@simonhamp simonhamp changed the title Put the Remotes composer in one box on a blurred bar Put the Remotes composer on the surface under a soft fade Nov 18, 2026
simonhamp and others added 6 commits November 18, 2026 02:05
On iOS the thread now shows through the bar, blurred, instead of
stopping at a solid surface. The bottom-bar carries glass, and a patched
mobile-air draws the glass behind the whole bar, under the home
indicator too, faded in over the bar's top 28pt so it has no hard edge.
The fade row ends at the glass's tint and the rows tint the glass with
the surface at 40%, so in dark mode the bar matches the screen.

EDGE's glass on an element can't do this: it draws a rim and lenses the
content along its top edge, and it stops above the home indicator, where
the thread showed through unblurred. Android is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the Liquid Glass composer bar on iOS. Display.php conflicted
only on a docblock beside the new ComposerGlassTint constant.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The commit page's reply bar takes the same glass as the Remotes
composer: the page shows through it blurred, the glass fades in at the
top and runs on under the home indicator, and the rows tint it with the
surface. It needs the same patched mobile-air. Android is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Puts post-as-org on top of #180's reply bar. The Post as avatar now
leads the row under the field through composer-box's lead slot, ahead
of the photo button. The round send button takes a colour, so Reply is
filled with the org's lane while replying as it.

The bar no longer opens the reply sheet, so the code that handed the
bar's choice to the sheet and back is gone. A reply sheet reopened for
an old sheet reply that devnull turned down still has Post as, starting
as you or as the org that reply was going out as.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The avatar led the row at the row's own inset, 12pt left of the text
above it, where the photo button's icon used to line up. post-as takes
an inset now, padded inside its tap target, and the bar passes pl-3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the web any member of an organization owns its commits, whoever posted
them (Commit::isOwnedBy on the server, useOwnsCommit on the web). The app
only counted commits authored by you. Now one Ownership class decides it,
from your id and the organizations GET /me last listed, and everything that
asked "is this mine" asks it instead.

For a member, an organization's commit now offers Delete (in More and in
the commit page's nav bar), shows its star count instead of a star, can be
quoted while pending, and can't be reported or have its poll voted on.
Someone outside the org still gets the star and Report and never Delete.

Pin stays person-only, as on the server and the web. No one gets a pastel
on an organization's commit, matching the web, which hides it because it
would go to whoever posted it.

The API only lists who starred an organization's commit to the member who
posted it, though the web shows it to every member. The stars sheet now
says so on a 404 instead of offering Try again.

If devnull refuses a delete because you've left the org, its message shows
and the app asks /me again, so the commit stops offering Delete. Rows are
cached against your organizations too, so they redraw when that changes.

Deleting or posting an organization's commit no longer changes your own
profile's kept commit count or list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp and others added 2 commits November 18, 2026 16:28
With its replies shut, the last row on a commit page kept its hairline,
which starts at the text column, right on top of the related commits'
full-width top border. Together they read as a stray line above
"Related commits". The last row now leaves its hairline out when related
commits follow it, and keeps it above "No replies yet" or at the end of
the page. With the replies open the last reply already ends with no
hairline, so either way only the full-width line shows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp and others added 2 commits November 20, 2026 22:53
Each account in the menu now shows its avatar, round for you and a
rounded square for an organization, as the app draws them elsewhere.
The person or building icon stands in while an avatar loads or when
there isn't one. Whoever posts now keeps the tick, which iOS and
Android draw as their own menus do.

Needs NativePHP/mobile-ui feat/menu-item-images, which teaches menu
rows the image, image_shape and checked props. Without it the rows
show the icons and lose the tick.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reply field sat 20pt under the fade and only 8pt above the row of
tools. The reply row drops its 8pt top padding and the field row gains 8pt
underneath, so the field is 12pt under the fade and 16pt above the tools.
The bar is the same height as before.

On iOS the bar now asks mobile-air for its glass at 0.8 opacity
(glass-opacity on native:bottom-bar, NativePHP/mobile-air#735), so a
little more of the page shows through. Android draws no glass and is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When someone replies to their own commit, the web treats their earliest
reply as the next part of a thread rather than as a reply. The commit page
now does the same: the parts follow the commit on its rail, each marked with
its place (2/5), ten at a time with "Show more of this thread", and the last
part's replies show under it. The next part is left out of each commit's
replies, and the earlier parts above a commit get their places too.

devnull's API doesn't send the web's continuation_id yet, so the app works
the parts out from each commit's replies (SelfThread), fetching them one
after another. When the API starts sending it, the app takes its word.

On the Log, profiles, search, starred and organizations, a thread opened in
place leaves out the author's next part and shows "Show thread", which opens
the commit's page. Without continuation_id from the API, that link can only
show once the replies have been opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp and others added 23 commits November 21, 2026 01:31
The lighter glass is now mobile-air's glass/N suffix rather than a
separate attribute, and it's on Display::composerBarGlass(), so the
Messages composer gets it too. Messages had the same uneven gaps as the
reply bar, so the spacing moves into composer-box for both: no top
padding on the row around the box, and 8pt between the field and the
row of tools. Both bars keep their height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It sat at the end of tests/Pest.php, where the build branch's partial
frames helpers also land, so the two clashed on merge. It's a small class
in tests/Support now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nested replies on the commit page reuse #179's ExpandsThreads and
ThreadRows, so this branch carries #179 on top of #195. Conflicts are
resolved as on the phone build (2c46223): #195's Show thread and
self-thread filtering sit in #179's ExpandsThreads, and the replies line
under a commit row leaves room only when its replies button shows. The
thread fixtures from 2c46223 are in too, so #179's tests don't turn
into self-threads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A reply's "N replies" on the commit page used to open that reply's own
page. Now it opens its replies under it, and theirs under them, as deep
as they go, the way the web's commit page does. Tapping a reply still
opens its page.

The rows come from #179's ThreadRows, now recursive, and the threads
from ExpandsThreads, which replaces the page's separate mechanism for a
deleted reply's replies. Indentation stops at the web's depth of three
(maxIndentDepth in commit-thread.tsx). Replies at the third step hang
on their own elbow off the line of the reply they answer, and deeper
ones line up under them with no lines and a "replying to @handle" line.
"Show more" is a row of its own on the page too, as on the Log, and says
"to @handle" past that depth.

The Log keeps opening only the commit's replies in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tapping an ancestor, a part of the series or the author's thread, or a
reply at any depth used to push a new commit screen. Now the same page
moves to it: the commit becomes the one the page is about, with what's
above it as its ancestors and its replies showing below, built from
what the page already has so nothing goes blank. The commit it was on
keeps its replies opened, so going back up shows where you came from.
Reply on a commit in the tree retargets the reply bar the same way.
Commits outside the tree still push.

Back still leaves the screen, as Simon asked. There's no history of the
commits the page moved through.

The scroll view's rows are its own children now, so auto-scroll-to can
bring the commit into view. Both platforms jump on the first request
and animate later ones. Deleting a commit the page moved to takes the
page back to its parent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The scroll view now has animate-layout, so the rows the page keeps slide
to their new places and the ones it adds or drops fade, and
auto-scroll-animated, so the first move animates too. The focused commit
is keyed commit-<id>, as it is among the commits above it, so moving up
the tree slides that row rather than redrawing it.

Going back to a row the scroll view already went to used to mount the
scroll view again, which would make every row new. It now passes a new
auto-scroll-token instead.

These need NativePHP/mobile-air#736 and NativePHP/mobile-ui#225. Without
them the move jumps, as before, and asking for the same row twice in a
row doesn't scroll. The test that reads the new props skips until vendor
has them (Tests\Support\LayoutAnimation).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It sat under the commit's text. Now it ends the row with the name, handle
and time, pushed right by a spacer, in the same size and ink. Only the
focused commit shows a hash, so no other rows change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The commits above the one the page is on keep their "N replies" button,
and it now opens their replies in place under them, like the commit's and
every reply's, instead of moving the page there.

The reply on the line down to the commit is left out of the list and of
the count, since it already shows below. Closing an ancestor's replies
leaves the replies of the commits on the line open (drawsOnItsOwn in
ExpandsThreads). After a move the scroll target counts the rows opened
above the commit, and opening or closing them later doesn't scroll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The commits above the one the page is on now start with their replies
folded behind "N replies", whether the page opened on a reply or moved
down to one. Before, moving down kept the replies of the commit the page
left open under it, and any opened on a commit above stayed open.

Moving up, the commit the page moves to shows its replies with the way
back down opened, as before. The scroll target after a move is just the
ancestor count again, since nothing is open above the commit then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With more than six people and organizations to suggest, the rows sit in
a scroll view six rows tall inside the suggestions, so the list can't push
the field and the bar's buttons down under the keyboard. Six or fewer are
drawn as before, as tall as their rows. The slot around the list keeps its
place, so the field's row doesn't move among its siblings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…scroll

The composer sheet in #198 sizes its mention list and scrolls it. With more
than six rows the partial's own six-row scroll view sat inside that one, so
a short phone showed two scroll bars. 'scrolls' => false draws every row as
tall as it is with no scroll view inside. It defaults to true, so the reply
bar and the conversation bar keep their six-row list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
devnull sends the ancestors on a commit's page without replies_count, so a
commit above only showed its "N replies" if the page had moved through it
before. Each ancestor that shows now reads its count from its own page,
kept from before at once and asked for behind, once per refresh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moves the new property away from $forceFullFrames, which the phone build
removes, so the two merge cleanly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Org threads ranked members on the phone and kept the first six, so the
list never scrolled. Now every member who matches is listed, and the list
scrolls past six rows like the reply bar's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sending a reply from the bar or the composer sheet now scrolls the page to
the staged reply. The scroll view counts its direct children, so the page's
rows are now listed by CommitDetail::pageRows() and the view draws exactly
that list. The component looks the staged reply up in the same list, so the
index can't drift from what's drawn.

When devnull's reply replaces the staged one it lands on the same row, so
the target and token stay put and the page doesn't move again. The one case
where it moves is a reply to your own commit that becomes the next part of
your thread; the page follows it there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A commit row gives its hairline up when its replies open under it, and on
a commit page the last reply never drew one. So the replies of a commit
above the focused one ran straight into the next commit with no line
between them. The same happened under the focused commit when later parts
of its series follow.

ThreadRows::under() takes a hairline flag now. Ancestor threads always end
on the line, and the focused commit's replies do when it isn't the last
row. Replies at the foot of the page still end without one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… page within its tree (#196)

* Hide replies on the Log until asked, and line the rail's end dot up with the actions

Replies no longer show under a commit in a feed. The replies button moves
to its own line under the action row and opens the thread in place, ten
replies at a time, with Show more for the next ten. A reply has the same
button under its own actions, which opens its replies inline one step in.
Deeper than that, the button opens the reply's page.

devnull's API sends 50 replies a page whatever `limit` asks for, so the
app keeps what it was sent and shows ten at a time, asking for the next
page only once they all show.

The end dot of a commit's rail is now drawn inside its action row, so it
sits level with the actions whatever is above or below them. It used to
be placed a fixed distance from the row's bottom, which assumed the action
row's -my-[6] pulled it in. iOS does that, Android keeps the space and only
moves the drawing, and a row with a thread under it had no bottom padding,
so the dot sat above the actions in some rows and below in others. The
action row now has no vertical negative margins, and the rail's lines are
worked out from the fixed heights under it to meet the dot.

Opening and closing a thread fades its rows in and out, and the chevron
turns. Starring a commit pops the star as the web's star-pop does, and
giving a pastel bumps it as the web's pastel button does. EDGE only animates
from one frame to the next, so each step is a frame drawn when a short
background Beat comes back.

Quote now has its label beside its icon, as Reply always does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep a commit's row the same height with its replies open or shut

On the Log, opening or closing a commit's replies dropped or added the 7pt
under its replies line, where the hairline sits. When the commit's top was
off screen, the iPhone's list held the row below still instead, so the
commit's photo jumped by 7pt.

The row now keeps that padding, the hairline's 1pt included, with its
replies open, and only the hairline goes. The first reply takes the 7pt
off its own top, so the thread looks the same, and the elbow and the
lines beside a reply are placed from its avatar. The commit page is left
as it was: it's a scroll view, which holds its top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Turn the commit page's replies chevron down while they show, as on the Log

The replies button's chevron only turned in feeds, where the replies open
in place. A commit page opens its commit's replies in place too, but there
the chevron kept pointing right with "Hide replies" beside it. It now
turns down there as well, over the same 220ms, and carries the animation
while shut so iOS animates the first turn. A reply's button on a commit
page still opens its page, so its chevron stays put.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Open every level of replies in place on the commit page, as the web does

A reply's "N replies" on the commit page used to open that reply's own
page. Now it opens its replies under it, and theirs under them, as deep
as they go, the way the web's commit page does. Tapping a reply still
opens its page.

The rows come from #179's ThreadRows, now recursive, and the threads
from ExpandsThreads, which replaces the page's separate mechanism for a
deleted reply's replies. Indentation stops at the web's depth of three
(maxIndentDepth in commit-thread.tsx). Replies at the third step hang
on their own elbow off the line of the reply they answer, and deeper
ones line up under them with no lines and a "replying to @handle" line.
"Show more" is a row of its own on the page too, as on the Log, and says
"to @handle" past that depth.

The Log keeps opening only the commit's replies in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move the commit page to a commit in its tree instead of pushing another

Tapping an ancestor, a part of the series or the author's thread, or a
reply at any depth used to push a new commit screen. Now the same page
moves to it: the commit becomes the one the page is about, with what's
above it as its ancestors and its replies showing below, built from
what the page already has so nothing goes blank. The commit it was on
keeps its replies opened, so going back up shows where you came from.
Reply on a commit in the tree retargets the reply bar the same way.
Commits outside the tree still push.

Back still leaves the screen, as Simon asked. There's no history of the
commits the page moved through.

The scroll view's rows are its own children now, so auto-scroll-to can
bring the commit into view. Both platforms jump on the first request
and animate later ones. Deleting a commit the page moved to takes the
page back to its parent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Animate the commit page's move to another commit in its tree

The scroll view now has animate-layout, so the rows the page keeps slide
to their new places and the ones it adds or drops fade, and
auto-scroll-animated, so the first move animates too. The focused commit
is keyed commit-<id>, as it is among the commits above it, so moving up
the tree slides that row rather than redrawing it.

Going back to a row the scroll view already went to used to mount the
scroll view again, which would make every row new. It now passes a new
auto-scroll-token instead.

These need NativePHP/mobile-air#736 and NativePHP/mobile-ui#225. Without
them the move jumps, as before, and asking for the same row twice in a
row doesn't scroll. The test that reads the new props skips until vendor
has them (Tests\Support\LayoutAnimation).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move the commit page's short hash to the top right of the commit

It sat under the commit's text. Now it ends the row with the name, handle
and time, pushed right by a spacer, in the same size and ink. Only the
focused commit shows a hash, so no other rows change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Open the replies of the commits above the commit in place

The commits above the one the page is on keep their "N replies" button,
and it now opens their replies in place under them, like the commit's and
every reply's, instead of moving the page there.

The reply on the line down to the commit is left out of the list and of
the count, since it already shows below. Closing an ancestor's replies
leaves the replies of the commits on the line open (drawsOnItsOwn in
ExpandsThreads). After a move the scroll target counts the rows opened
above the commit, and opening or closing them later doesn't scroll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fold the replies of the commits above the commit on every move

The commits above the one the page is on now start with their replies
folded behind "N replies", whether the page opened on a reply or moved
down to one. Before, moving down kept the replies of the commit the page
left open under it, and any opened on a commit above stayed open.

Moving up, the commit the page moves to shows its replies with the way
back down opened, as before. The scroll target after a move is just the
ancestor count again, since nothing is open above the commit then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Hold the mention suggestions to six rows and scroll the rest

With more than six people and organizations to suggest, the rows sit in
a scroll view six rows tall inside the suggestions, so the list can't push
the field and the bar's buttons down under the keyboard. Six or fewer are
drawn as before, as tall as their rows. The slot around the list keeps its
place, so the field's row doesn't move among its siblings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Let a caller that scrolls the mention list itself turn off its inner scroll

The composer sheet in #198 sizes its mention list and scrolls it. With more
than six rows the partial's own six-row scroll view sat inside that one, so
a short phone showed two scroll bars. 'scrolls' => false draws every row as
tall as it is with no scroll view inside. It defaults to true, so the reply
bar and the conversation bar keep their six-row list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Count the replies of the commits above from their own pages

devnull sends the ancestors on a commit's page without replies_count, so a
commit above only showed its "N replies" if the page had moved through it
before. Each ancestor that shows now reads its count from its own page,
kept from before at once and asked for behind, once per refresh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep the asked-for ancestor counts with the ancestors

Moves the new property away from $forceFullFrames, which the phone build
removes, so the two merge cleanly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Suggest every matching org member in Remotes, scrolling past six

Org threads ranked members on the phone and kept the first six, so the
list never scrolled. Now every member who matches is listed, and the list
scrolls past six rows like the reply bar's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Tidy a blank line left by the last commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Scroll to a reply you just sent on a commit page

Sending a reply from the bar or the composer sheet now scrolls the page to
the staged reply. The scroll view counts its direct children, so the page's
rows are now listed by CommitDetail::pageRows() and the view draws exactly
that list. The component looks the staged reply up in the same list, so the
index can't drift from what's drawn.

When devnull's reply replaces the staged one it lands on the same row, so
the target and token stay put and the page doesn't move again. The one case
where it moves is a reply to your own commit that becomes the next part of
your thread; the page follows it there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Draw the hairline under replies that another commit follows

A commit row gives its hairline up when its replies open under it, and on
a commit page the last reply never drew one. So the replies of a commit
above the focused one ran straight into the next commit with no line
between them. The same happened under the focused commit when later parts
of its series follow.

ThreadRows::under() takes a hairline flag now. Ancestor threads always end
on the line, and the focused commit's replies do when it isn't the last
row. Replies at the foot of the page still end without one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Even out the reply bar's spacing and lighten its glass

The reply field sat 20pt under the fade and only 8pt above the row of
tools. The reply row drops its 8pt top padding and the field row gains 8pt
underneath, so the field is 12pt under the fade and 16pt above the tools.
The bar is the same height as before.

On iOS the bar now asks mobile-air for its glass at 0.8 opacity
(glass-opacity on native:bottom-bar, NativePHP/mobile-air#735), so a
little more of the page shows through. Android draws no glass and is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Use glass/80 for both composer bars and even out the Messages bar

The lighter glass is now mobile-air's glass/N suffix rather than a
separate attribute, and it's on Display::composerBarGlass(), so the
Messages composer gets it too. Messages had the same uneven gaps as the
reply bar, so the spacing moves into composer-box for both: no top
padding on the row around the box, and 8pt between the field and the
row of tools. Both bars keep their height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move the glass/N test guard out of Pest.php

It sat at the end of tests/Pest.php, where the build branch's partial
frames helpers also land, so the two clashed on merge. It's a small class
in tests/Support now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…#195)

* Hide replies on the Log until asked, and line the rail's end dot up with the actions

Replies no longer show under a commit in a feed. The replies button moves
to its own line under the action row and opens the thread in place, ten
replies at a time, with Show more for the next ten. A reply has the same
button under its own actions, which opens its replies inline one step in.
Deeper than that, the button opens the reply's page.

devnull's API sends 50 replies a page whatever `limit` asks for, so the
app keeps what it was sent and shows ten at a time, asking for the next
page only once they all show.

The end dot of a commit's rail is now drawn inside its action row, so it
sits level with the actions whatever is above or below them. It used to
be placed a fixed distance from the row's bottom, which assumed the action
row's -my-[6] pulled it in. iOS does that, Android keeps the space and only
moves the drawing, and a row with a thread under it had no bottom padding,
so the dot sat above the actions in some rows and below in others. The
action row now has no vertical negative margins, and the rail's lines are
worked out from the fixed heights under it to meet the dot.

Opening and closing a thread fades its rows in and out, and the chevron
turns. Starring a commit pops the star as the web's star-pop does, and
giving a pastel bumps it as the web's pastel button does. EDGE only animates
from one frame to the next, so each step is a frame drawn when a short
background Beat comes back.

Quote now has its label beside its icon, as Reply always does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep a commit's row the same height with its replies open or shut

On the Log, opening or closing a commit's replies dropped or added the 7pt
under its replies line, where the hairline sits. When the commit's top was
off screen, the iPhone's list held the row below still instead, so the
commit's photo jumped by 7pt.

The row now keeps that padding, the hairline's 1pt included, with its
replies open, and only the hairline goes. The first reply takes the 7pt
off its own top, so the thread looks the same, and the elbow and the
lines beside a reply are placed from its avatar. The commit page is left
as it was: it's a scroll view, which holds its top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Turn the commit page's replies chevron down while they show, as on the Log

The replies button's chevron only turned in feeds, where the replies open
in place. A commit page opens its commit's replies in place too, but there
the chevron kept pointing right with "Hide replies" beside it. It now
turns down there as well, over the same 220ms, and carries the animation
while shut so iOS animates the first turn. A reply's button on a commit
page still opens its page, so its chevron stays put.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Read an author's replies to themselves as one thread, as the web does

When someone replies to their own commit, the web treats their earliest
reply as the next part of a thread rather than as a reply. The commit page
now does the same: the parts follow the commit on its rail, each marked with
its place (2/5), ten at a time with "Show more of this thread", and the last
part's replies show under it. The next part is left out of each commit's
replies, and the earlier parts above a commit get their places too.

devnull's API doesn't send the web's continuation_id yet, so the app works
the parts out from each commit's replies (SelfThread), fetching them one
after another. When the API starts sending it, the app takes its word.

On the Log, profiles, search, starred and organizations, a thread opened in
place leaves out the author's next part and shows "Show thread", which opens
the commit's page. Without continuation_id from the API, that link can only
show once the replies have been opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Open every level of replies in place on the commit page, as the web does

A reply's "N replies" on the commit page used to open that reply's own
page. Now it opens its replies under it, and theirs under them, as deep
as they go, the way the web's commit page does. Tapping a reply still
opens its page.

The rows come from #179's ThreadRows, now recursive, and the threads
from ExpandsThreads, which replaces the page's separate mechanism for a
deleted reply's replies. Indentation stops at the web's depth of three
(maxIndentDepth in commit-thread.tsx). Replies at the third step hang
on their own elbow off the line of the reply they answer, and deeper
ones line up under them with no lines and a "replying to @handle" line.
"Show more" is a row of its own on the page too, as on the Log, and says
"to @handle" past that depth.

The Log keeps opening only the commit's replies in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move the commit page to a commit in its tree instead of pushing another

Tapping an ancestor, a part of the series or the author's thread, or a
reply at any depth used to push a new commit screen. Now the same page
moves to it: the commit becomes the one the page is about, with what's
above it as its ancestors and its replies showing below, built from
what the page already has so nothing goes blank. The commit it was on
keeps its replies opened, so going back up shows where you came from.
Reply on a commit in the tree retargets the reply bar the same way.
Commits outside the tree still push.

Back still leaves the screen, as Simon asked. There's no history of the
commits the page moved through.

The scroll view's rows are its own children now, so auto-scroll-to can
bring the commit into view. Both platforms jump on the first request
and animate later ones. Deleting a commit the page moved to takes the
page back to its parent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Animate the commit page's move to another commit in its tree

The scroll view now has animate-layout, so the rows the page keeps slide
to their new places and the ones it adds or drops fade, and
auto-scroll-animated, so the first move animates too. The focused commit
is keyed commit-<id>, as it is among the commits above it, so moving up
the tree slides that row rather than redrawing it.

Going back to a row the scroll view already went to used to mount the
scroll view again, which would make every row new. It now passes a new
auto-scroll-token instead.

These need NativePHP/mobile-air#736 and NativePHP/mobile-ui#225. Without
them the move jumps, as before, and asking for the same row twice in a
row doesn't scroll. The test that reads the new props skips until vendor
has them (Tests\Support\LayoutAnimation).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move the commit page's short hash to the top right of the commit

It sat under the commit's text. Now it ends the row with the name, handle
and time, pushed right by a spacer, in the same size and ink. Only the
focused commit shows a hash, so no other rows change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Open the replies of the commits above the commit in place

The commits above the one the page is on keep their "N replies" button,
and it now opens their replies in place under them, like the commit's and
every reply's, instead of moving the page there.

The reply on the line down to the commit is left out of the list and of
the count, since it already shows below. Closing an ancestor's replies
leaves the replies of the commits on the line open (drawsOnItsOwn in
ExpandsThreads). After a move the scroll target counts the rows opened
above the commit, and opening or closing them later doesn't scroll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fold the replies of the commits above the commit on every move

The commits above the one the page is on now start with their replies
folded behind "N replies", whether the page opened on a reply or moved
down to one. Before, moving down kept the replies of the commit the page
left open under it, and any opened on a commit above stayed open.

Moving up, the commit the page moves to shows its replies with the way
back down opened, as before. The scroll target after a move is just the
ancestor count again, since nothing is open above the commit then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Hold the mention suggestions to six rows and scroll the rest

With more than six people and organizations to suggest, the rows sit in
a scroll view six rows tall inside the suggestions, so the list can't push
the field and the bar's buttons down under the keyboard. Six or fewer are
drawn as before, as tall as their rows. The slot around the list keeps its
place, so the field's row doesn't move among its siblings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Let a caller that scrolls the mention list itself turn off its inner scroll

The composer sheet in #198 sizes its mention list and scrolls it. With more
than six rows the partial's own six-row scroll view sat inside that one, so
a short phone showed two scroll bars. 'scrolls' => false draws every row as
tall as it is with no scroll view inside. It defaults to true, so the reply
bar and the conversation bar keep their six-row list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Count the replies of the commits above from their own pages

devnull sends the ancestors on a commit's page without replies_count, so a
commit above only showed its "N replies" if the page had moved through it
before. Each ancestor that shows now reads its count from its own page,
kept from before at once and asked for behind, once per refresh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep the asked-for ancestor counts with the ancestors

Moves the new property away from $forceFullFrames, which the phone build
removes, so the two merge cleanly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Suggest every matching org member in Remotes, scrolling past six

Org threads ranked members on the phone and kept the first six, so the
list never scrolled. Now every member who matches is listed, and the list
scrolls past six rows like the reply bar's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Tidy a blank line left by the last commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Scroll to a reply you just sent on a commit page

Sending a reply from the bar or the composer sheet now scrolls the page to
the staged reply. The scroll view counts its direct children, so the page's
rows are now listed by CommitDetail::pageRows() and the view draws exactly
that list. The component looks the staged reply up in the same list, so the
index can't drift from what's drawn.

When devnull's reply replaces the staged one it lands on the same row, so
the target and token stay put and the page doesn't move again. The one case
where it moves is a reply to your own commit that becomes the next part of
your thread; the page follows it there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Draw the hairline under replies that another commit follows

A commit row gives its hairline up when its replies open under it, and on
a commit page the last reply never drew one. So the replies of a commit
above the focused one ran straight into the next commit with no line
between them. The same happened under the focused commit when later parts
of its series follow.

ThreadRows::under() takes a hairline flag now. Ancestor threads always end
on the line, and the focused commit's replies do when it isn't the last
row. Replies at the foot of the page still end without one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Post as an organization you're in, as the web does
…lated commits folded (#180)

* Hide replies on the Log until asked, and line the rail's end dot up with the actions

Replies no longer show under a commit in a feed. The replies button moves
to its own line under the action row and opens the thread in place, ten
replies at a time, with Show more for the next ten. A reply has the same
button under its own actions, which opens its replies inline one step in.
Deeper than that, the button opens the reply's page.

devnull's API sends 50 replies a page whatever `limit` asks for, so the
app keeps what it was sent and shows ten at a time, asking for the next
page only once they all show.

The end dot of a commit's rail is now drawn inside its action row, so it
sits level with the actions whatever is above or below them. It used to
be placed a fixed distance from the row's bottom, which assumed the action
row's -my-[6] pulled it in. iOS does that, Android keeps the space and only
moves the drawing, and a row with a thread under it had no bottom padding,
so the dot sat above the actions in some rows and below in others. The
action row now has no vertical negative margins, and the rail's lines are
worked out from the fixed heights under it to meet the dot.

Opening and closing a thread fades its rows in and out, and the chevron
turns. Starring a commit pops the star as the web's star-pop does, and
giving a pastel bumps it as the web's pastel button does. EDGE only animates
from one frame to the next, so each step is a frame drawn when a short
background Beat comes back.

Quote now has its label beside its icon, as Reply always does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move the commit reply bar onto the Remotes composer box

The reply bar is now the same rounded box as the Remotes composer: the
field across the top, and under it the expand button on the left and a
round send button in your colour on the right. The bar is Liquid Glass on
iOS and the solid surface on Android. The text Reply button is gone.

The expand button no longer opens the composer sheet. Presenting a sheet
takes the keyboard down and puts it back up on both platforms, however
early its field asks for focus, so the box grows in place instead (8 lines,
up to 12) and the keyboard stays where it is. Grown, the box gets a photos
and preview button that opens the sheet as before. Photos attached there
show as a count in the box. A restored draft's stash@{0} and drop sit under
the box, since the grown row has no room for them.

A reply long enough to be folded in feeds now says "folded in feeds" in
small muted text, here and in the sheet. The FoldVertical icon read as a
button that did nothing, so it's gone.

Related commits start closed under a header with their count. Tapping it
fades them in one after another and turns the chevron; tapping again fades
them out, then takes them out. It uses the Beat task from the Log threads
work (PR 179), copied as is so the two branches merge cleanly.

The old composer-plate partial had no users left, so it's deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep a commit's row the same height with its replies open or shut

On the Log, opening or closing a commit's replies dropped or added the 7pt
under its replies line, where the hairline sits. When the commit's top was
off screen, the iPhone's list held the row below still instead, so the
commit's photo jumped by 7pt.

The row now keeps that padding, the hairline's 1pt included, with its
replies open, and only the hairline goes. The first reply takes the 7pt
off its own top, so the thread looks the same, and the elbow and the
lines beside a reply are placed from its avatar. The commit page is left
as it was: it's a scroll view, which holds its top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Post as an organization you're in, as the web does

The web lets a member of a GitHub organization post a commit, a quote or a
reply as that organization. The app now does too.

- GET /me's organizations are kept on the phone (Account), and refreshed
  whenever /me is.
- The composer sheet shows who the commit goes out as above the field. A tap
  opens a menu of you and your organizations. The reply bar on a commit's
  page has the same avatar at its start, and hands its choice to the reply
  sheet and back.
- The choice goes to devnull as `author`, which the API already takes, and
  rides in the outbox, so a staged commit shows the organization as its
  author. Commit and Reply use the organization's lane.
- A scheduled commit goes out as the organization too, and the Scheduled
  list says "As @handle" as the web's does.
- If devnull turns a commit down (you left the organization, or it's rate
  limited), the usual toast says why and the draft comes back with the
  organization still picked. The app asks /me again, and a composer whose
  organization is gone posts as you.
- Tapping an organization in Notifications opens its page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Reply with photos and a preview from the bar, and drop any time

The reply bar no longer has the expand button or grows in place, and it
never opens the composer sheet. Its row has a photo button (a menu with
the library and the camera) and Preview. Photos show above the field with
their ✕ and ALT, go in the reply's stash, and send with it. Preview shows
the reply as it will look in the field's place, with the body devnull
keeps, and pressed again brings the field back with the keyboard.

The field grows with the reply to five lines and then scrolls. Nothing
in PHP changes its line limits any more.

Drop shows beside Reply as soon as the reply has anything in it, so a
draft can be thrown away at any time. stash@{0} still marks a draft that
came back from the stash. Both moved into the row, so the bar no longer
gets taller for them.

The page fades out above the bar, as Remotes does, from the stack now
around its scroll view. composer-preview takes its draft as parameters so
the sheet and the bar share it. The expand icons are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Draw the reply bar's fade in the bar on iOS, as Remotes does

The page runs on under the bar on iOS, so the fade is the bar's first row
there, over the reply's rows, which have the surface. On Android it stays
over the foot of the page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Put the reply bar on Liquid Glass on iOS, as Remotes does

The commit page's reply bar takes the same glass as the Remotes
composer: the page shows through it blurred, the glass fades in at the
top and runs on under the home indicator, and the rows tint it with the
surface. It needs the same patched mobile-air. Android is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Line the reply bar's Post as avatar up with the field's text

The avatar led the row at the row's own inset, 12pt left of the text
above it, where the photo button's icon used to line up. post-as takes
an inset now, padded inside its tap target, and the bar passes pl-3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Treat an organization's commits as yours when you're a member

On the web any member of an organization owns its commits, whoever posted
them (Commit::isOwnedBy on the server, useOwnsCommit on the web). The app
only counted commits authored by you. Now one Ownership class decides it,
from your id and the organizations GET /me last listed, and everything that
asked "is this mine" asks it instead.

For a member, an organization's commit now offers Delete (in More and in
the commit page's nav bar), shows its star count instead of a star, can be
quoted while pending, and can't be reported or have its poll voted on.
Someone outside the org still gets the star and Report and never Delete.

Pin stays person-only, as on the server and the web. No one gets a pastel
on an organization's commit, matching the web, which hides it because it
would go to whoever posted it.

The API only lists who starred an organization's commit to the member who
posted it, though the web shows it to every member. The stars sheet now
says so on a 404 instead of offering Try again.

If devnull refuses a delete because you've left the org, its message shows
and the app asks /me again, so the commit stops offering Delete. Rows are
cached against your organizations too, so they redraw when that changes.

Deleting or posting an organization's commit no longer changes your own
profile's kept commit count or list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Draw one line above related commits, not the commit's hairline as well

With its replies shut, the last row on a commit page kept its hairline,
which starts at the text column, right on top of the related commits'
full-width top border. Together they read as a stray line above
"Related commits". The last row now leaves its hairline out when related
commits follow it, and keeps it above "No replies yet" or at the end of
the page. With the replies open the last reply already ends with no
hairline, so either way only the full-width line shows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Turn the commit page's replies chevron down while they show, as on the Log

The replies button's chevron only turned in feeds, where the replies open
in place. A commit page opens its commit's replies in place too, but there
the chevron kept pointing right with "Hide replies" beside it. It now
turns down there as well, over the same 220ms, and carries the animation
while shut so iOS animates the first turn. A reply's button on a commit
page still opens its page, so its chevron stays put.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Show avatars in the Post as menu

Each account in the menu now shows its avatar, round for you and a
rounded square for an organization, as the app draws them elsewhere.
The person or building icon stands in while an avatar loads or when
there isn't one. Whoever posts now keeps the tick, which iOS and
Android draw as their own menus do.

Needs NativePHP/mobile-ui feat/menu-item-images, which teaches menu
rows the image, image_shape and checked props. Without it the rows
show the icons and lose the tick.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Even out the reply bar's spacing and lighten its glass

The reply field sat 20pt under the fade and only 8pt above the row of
tools. The reply row drops its 8pt top padding and the field row gains 8pt
underneath, so the field is 12pt under the fade and 16pt above the tools.
The bar is the same height as before.

On iOS the bar now asks mobile-air for its glass at 0.8 opacity
(glass-opacity on native:bottom-bar, NativePHP/mobile-air#735), so a
little more of the page shows through. Android draws no glass and is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Read an author's replies to themselves as one thread, as the web does

When someone replies to their own commit, the web treats their earliest
reply as the next part of a thread rather than as a reply. The commit page
now does the same: the parts follow the commit on its rail, each marked with
its place (2/5), ten at a time with "Show more of this thread", and the last
part's replies show under it. The next part is left out of each commit's
replies, and the earlier parts above a commit get their places too.

devnull's API doesn't send the web's continuation_id yet, so the app works
the parts out from each commit's replies (SelfThread), fetching them one
after another. When the API starts sending it, the app takes its word.

On the Log, profiles, search, starred and organizations, a thread opened in
place leaves out the author's next part and shows "Show thread", which opens
the commit's page. Without continuation_id from the API, that link can only
show once the replies have been opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Use glass/80 for both composer bars and even out the Messages bar

The lighter glass is now mobile-air's glass/N suffix rather than a
separate attribute, and it's on Display::composerBarGlass(), so the
Messages composer gets it too. Messages had the same uneven gaps as the
reply bar, so the spacing moves into composer-box for both: no top
padding on the row around the box, and 8pt between the field and the
row of tools. Both bars keep their height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move the glass/N test guard out of Pest.php

It sat at the end of tests/Pest.php, where the build branch's partial
frames helpers also land, so the two clashed on merge. It's a small class
in tests/Support now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Open every level of replies in place on the commit page, as the web does

A reply's "N replies" on the commit page used to open that reply's own
page. Now it opens its replies under it, and theirs under them, as deep
as they go, the way the web's commit page does. Tapping a reply still
opens its page.

The rows come from #179's ThreadRows, now recursive, and the threads
from ExpandsThreads, which replaces the page's separate mechanism for a
deleted reply's replies. Indentation stops at the web's depth of three
(maxIndentDepth in commit-thread.tsx). Replies at the third step hang
on their own elbow off the line of the reply they answer, and deeper
ones line up under them with no lines and a "replying to @handle" line.
"Show more" is a row of its own on the page too, as on the Log, and says
"to @handle" past that depth.

The Log keeps opening only the commit's replies in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move the commit page to a commit in its tree instead of pushing another

Tapping an ancestor, a part of the series or the author's thread, or a
reply at any depth used to push a new commit screen. Now the same page
moves to it: the commit becomes the one the page is about, with what's
above it as its ancestors and its replies showing below, built from
what the page already has so nothing goes blank. The commit it was on
keeps its replies opened, so going back up shows where you came from.
Reply on a commit in the tree retargets the reply bar the same way.
Commits outside the tree still push.

Back still leaves the screen, as Simon asked. There's no history of the
commits the page moved through.

The scroll view's rows are its own children now, so auto-scroll-to can
bring the commit into view. Both platforms jump on the first request
and animate later ones. Deleting a commit the page moved to takes the
page back to its parent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Animate the commit page's move to another commit in its tree

The scroll view now has animate-layout, so the rows the page keeps slide
to their new places and the ones it adds or drops fade, and
auto-scroll-animated, so the first move animates too. The focused commit
is keyed commit-<id>, as it is among the commits above it, so moving up
the tree slides that row rather than redrawing it.

Going back to a row the scroll view already went to used to mount the
scroll view again, which would make every row new. It now passes a new
auto-scroll-token instead.

These need NativePHP/mobile-air#736 and NativePHP/mobile-ui#225. Without
them the move jumps, as before, and asking for the same row twice in a
row doesn't scroll. The test that reads the new props skips until vendor
has them (Tests\Support\LayoutAnimation).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move the commit page's short hash to the top right of the commit

It sat under the commit's text. Now it ends the row with the name, handle
and time, pushed right by a spacer, in the same size and ink. Only the
focused commit shows a hash, so no other rows change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Open the replies of the commits above the commit in place

The commits above the one the page is on keep their "N replies" button,
and it now opens their replies in place under them, like the commit's and
every reply's, instead of moving the page there.

The reply on the line down to the commit is left out of the list and of
the count, since it already shows below. Closing an ancestor's replies
leaves the replies of the commits on the line open (drawsOnItsOwn in
ExpandsThreads). After a move the scroll target counts the rows opened
above the commit, and opening or closing them later doesn't scroll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fold the replies of the commits above the commit on every move

The commits above the one the page is on now start with their replies
folded behind "N replies", whether the page opened on a reply or moved
down to one. Before, moving down kept the replies of the commit the page
left open under it, and any opened on a commit above stayed open.

Moving up, the commit the page moves to shows its replies with the way
back down opened, as before. The scroll target after a move is just the
ancestor count again, since nothing is open above the commit then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Hold the mention suggestions to six rows and scroll the rest

With more than six people and organizations to suggest, the rows sit in
a scroll view six rows tall inside the suggestions, so the list can't push
the field and the bar's buttons down under the keyboard. Six or fewer are
drawn as before, as tall as their rows. The slot around the list keeps its
place, so the field's row doesn't move among its siblings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Let a caller that scrolls the mention list itself turn off its inner scroll

The composer sheet in #198 sizes its mention list and scrolls it. With more
than six rows the partial's own six-row scroll view sat inside that one, so
a short phone showed two scroll bars. 'scrolls' => false draws every row as
tall as it is with no scroll view inside. It defaults to true, so the reply
bar and the conversation bar keep their six-row list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Count the replies of the commits above from their own pages

devnull sends the ancestors on a commit's page without replies_count, so a
commit above only showed its "N replies" if the page had moved through it
before. Each ancestor that shows now reads its count from its own page,
kept from before at once and asked for behind, once per refresh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep the asked-for ancestor counts with the ancestors

Moves the new property away from $forceFullFrames, which the phone build
removes, so the two merge cleanly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Suggest every matching org member in Remotes, scrolling past six

Org threads ranked members on the phone and kept the first six, so the
list never scrolled. Now every member who matches is listed, and the list
scrolls past six rows like the reply bar's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Tidy a blank line left by the last commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Scroll to a reply you just sent on a commit page

Sending a reply from the bar or the composer sheet now scrolls the page to
the staged reply. The scroll view counts its direct children, so the page's
rows are now listed by CommitDetail::pageRows() and the view draws exactly
that list. The component looks the staged reply up in the same list, so the
index can't drift from what's drawn.

When devnull's reply replaces the staged one it lands on the same row, so
the target and token stay put and the page doesn't move again. The one case
where it moves is a reply to your own commit that becomes the next part of
your thread; the page follows it there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Draw the hairline under replies that another commit follows

A commit row gives its hairline up when its replies open under it, and on
a commit page the last reply never drew one. So the replies of a commit
above the focused one ran straight into the next commit with no line
between them. The same happened under the focused commit when later parts
of its series follow.

ThreadRows::under() takes a hairline flag now. Ancestor threads always end
on the line, and the focused commit's replies do when it isn't the last
row. Replies at the foot of the page still end without one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@simonhamp
simonhamp marked this pull request as ready for review November 24, 2026 10:01
simonhamp and others added 3 commits November 24, 2026 10:12
Most conflicts were both sides adding to the same lines, so they keep both.
The ones worth a look:

Client's commit methods now take both $author (Post as) and $guildHandle
(post to a guild's board), in that order. The outbox and scheduling pass both.
devnull's API accepts the two together, so the guild composer keeps the Post as
avatar for org members.

ResponseCache::commitAdded puts a guild post on that guild's board only, and
still keeps an organization's commit off your profile and its count.

Pin to profile needs your own commit (not an organization's) that isn't in a
guild.

Both sides hid the pastel on organization commits and both passed devnull's
status to a quiet refresh's $failed. I kept this branch's canGivePastel() and
main's status handling, which says 0 unless devnull answered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in #172, the Duo workspace.

A rejected commit is sent to every pane through broadcastOutboxChange, then
checkOrganizations runs once for the pane that sent it. Deleting keeps the
workspace's conversationDeleted and the org refresh when a delete fails.

commit-detail: main put the thread in a readable column inside the scroll
view. Here the rows have to stay the scroll view's own children for
auto-scroll-to, so the readable width goes on the thread stack instead, centred
in a surface column. The reply bar's readable column sits inside reply-rows, so
the iOS tint stays full width. The embedded clearance from main is kept.
Tests that read reply-rows' children now read reply-content.

conversation keeps this branch's composer bar, which has no hairline for main's
border fix to apply to. thread-reply keeps the $hairline condition with main's
border-b line.

FeedWorkspaceTest tapped reply-expand, which this branch removed when the bar
took over photos and preview. The rejected-sheet test now opens a quote of the
conversation's commit instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nativephp/mobile moves to a9fd09f, which brings the soft Liquid Glass
behind a bottom bar (mobile-air#710) that this branch's composer bar
needs, gradients that keep their dark colours (#734) and
NavAction::subtitle() (#740). nativephp/mobile-ui moves to 633ebed, with
the multiline field fix (#227) and menu row pictures (#224). The rest are
routine Laravel and Symfony patch releases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant