Repository navigation
Conversation
The sheet's field stopped at eight lines with its own scroll bar, inside a scroll view, with empty space under it. Now nothing scrolls but the field. It gets as many lines as fit between the author row and the toolbar, less whatever sits under it: photos, the poll editor, the quoted commit or the schedule box. ComposerSheet works those heights out, since neither platform tells PHP how tall the sheet is and mobile-ui's multiline field sizes itself in lines rather than to the space it's given. The mention list is no longer in the layout. It floats over the field and the quoted commit, on Liquid Glass on iOS and a raised surface on Android, from just under the caret's line down to the toolbar, and scrolls inside. The caret's line is estimated from the text before it, wrapped at the field's width, because the field doesn't report where the caret is drawn. Each part of the sheet has a keyed slot that is always drawn, so the field keeps its id and its place among its siblings and the keyboard stays up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tions by its caret The sheet's field had its lines worked out from an estimate of the sheet's height and of everything under it, and the mention list's top from the text before the caret, wrapped at a guessed width. mobile-ui#227 lets a multiline field fill the height it's given (h-full) and report where its caret is drawn (@caretChange), so the field is now h-full in a flex-1 slot and the list starts just under the caret's line as the field reports it. ComposerSheet keeps only the list's placement. Its line and height estimates, and the 24pt line height set on the field for them, are gone. Tests of the fill and the caret skip on a mobile-ui without them (Tests\Support\TextFieldFill), where the field is as tall as its lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When the mention list doesn't fit between the caret's line and the field's bottom, the field now gets shorter instead, ending on the caret's line, and the list goes under it down to the toolbar. Before, the list moved up to make room for three people and could cover the line being typed on. The list is as tall as its rows (up to six) when it floats, so it only scrolls when it has to. Once the list goes, the field fills again. The body area has animate-layout (mobile-air#736), so the field's height and the list coming and going are animated. The field slot keeps its key and place, so the keyboard stays up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp
added a commit
that referenced
this pull request
Nov 21, 2026
…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>
The sheet sizes its mention list and scrolls it. #196 gives the shared mention list a six-row scroll view of its own, so once both are merged a list of more than six would show two scroll bars on a short phone. The sheet now passes 'scrolls' => false, which #196 adds. Before #196 merges the partial ignores it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
1 task
…ffect Both composer bars now carry scroll-edge-soft next to glass/80. With a mobile-air that knows the class, iOS 26 and later draw the system scroll edge effect under the bar, a progressive blur like the one under its own toolbars, and the bar drops its fade row and the tint on its rows so the effect shows. Older iOS keeps the fade over glass, and Android its fade over the surface. Which iOS the phone runs comes from System::osVersion(). Without a mobile-air that has it, every iOS keeps the fade, and the new tests skip (tests/Support/ScrollEdge.php). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From iOS 26 the field and its row of tools on the commit page's reply bar
and the Remote composer sit in a rounded Liquid Glass box, 16pt in from the
screen's sides, over the system's scroll edge effect. The bar asks for the
effect with mobile-air's new edge-blur attribute in place of the old
scroll-edge-soft class.
Two Display constants switch it: ComposerInGlassBox (on) and
ComposerEdgeBlur ("soft", or "hard" for the opaque fade). In the box the
field sits 16pt under the box's edge, as far as it sits above the tools,
and the send button is 8pt in from the box's right and bottom edges, so the
box is rounded at 24. That makes the bar 6pt taller, which the page and
thread clearances follow. Older iOS and Android draw the bars as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The suggestions now sit 8pt above the composer's glass box on the commit page and in Remotes, instead of touching it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It sat flush on the composer's glass box. Now there's 8pt between them, as there is under the mention list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What sits under the field (the quoted commit, photos, the poll, "Submit at") had padding above it but none below, so the quote card ran into the toolbar's line. It now leaves 12pt there, the same gap the field leaves under "Replying to". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp
added a commit
that referenced
this pull request
Nov 23, 2026
… 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>
Base automatically changed from
fix/reply-bar-spacing-and-fade
to
feat/post-as-avatars
November 23, 2026 17:54
simonhamp
added a commit
that referenced
this pull request
Nov 23, 2026
…#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>
simonhamp
added a commit
that referenced
this pull request
Nov 24, 2026
…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
marked this pull request as ready for review
November 24, 2026 18:56
…ffect (#203) * Blur what scrolls under the composer bars with iOS 26's scroll edge effect Both composer bars now carry scroll-edge-soft next to glass/80. With a mobile-air that knows the class, iOS 26 and later draw the system scroll edge effect under the bar, a progressive blur like the one under its own toolbars, and the bar drops its fade row and the tint on its rows so the effect shows. Older iOS keeps the fade over glass, and Android its fade over the surface. Which iOS the phone runs comes from System::osVersion(). Without a mobile-air that has it, every iOS keeps the fade, and the new tests skip (tests/Support/ScrollEdge.php). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Put the composer back in a glass box over the edge blur From iOS 26 the field and its row of tools on the commit page's reply bar and the Remote composer sit in a rounded Liquid Glass box, 16pt in from the screen's sides, over the system's scroll edge effect. The bar asks for the effect with mobile-air's new edge-blur attribute in place of the old scroll-edge-soft class. Two Display constants switch it: ComposerInGlassBox (on) and ComposerEdgeBlur ("soft", or "hard" for the opaque fade). In the box the field sits 16pt under the box's edge, as far as it sits above the tools, and the send button is 8pt in from the box's right and bottom edges, so the box is rounded at 24. That makes the bar 6pt taller, which the page and thread clearances follow. Older iOS and Android draw the bars as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Leave a gap under the mention list on iOS The suggestions now sit 8pt above the composer's glass box on the commit page and in Remotes, instead of touching it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Leave a gap under the Replying to card in Remotes on iOS It sat flush on the composer's glass box. Now there's 8pt between them, as there is under the mention list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Brings in main (a58df59), the Duo workspace from #172 (42dd4d4) and the dependency update (d122e60), which puts mobile-ui#227 in the lock. commit-sheet keeps this branch's layout: no scroll view, the field filling its slot, and the mention list floating by the caret. From the base it takes the guild composer and the hairlines drawn with border-b. The guild placeholder goes on the field. The "Posted to this guild" line goes first in the slot under the field, so it counts towards that slot's padding. Guilds are left out of $offersIssues, which hides the issue commands and the hint as the base did. commit-detail takes the base's reply-content column, which holds the readable width inside reply-rows, with #203's 8pt gap under the mention list on iOS. #203's edge blur and fade row changes merged on their own. CommitDetailTest and ConversationTest both had new tests added at the end on each side, so they keep all of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The base's dependency update moved mobile-ui to 633ebed, which is #227 merged at aaf451e, so the field fills and reports its caret on every install. Tests\Support\TextFieldFill only skipped tests on a mobile-ui without it, so it goes and those tests always run. ComposerSheet's mention row height and row count now come from Display, which #196 brought in with the same values. That keeps the sheet's sums in step with the rows the partial draws. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sheetCaretMoved() landed between the comment and the method it describes, so it sat above another docblock and updatedSheetBody() had none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fill the composer sheet with the field, and put mentions by its caret.
NativePHP/mobile-ui#227 is in the lock now. feat/remote-composer's dependency update (d122e60) moved mobile-ui to 633ebed, which is #227 merged at aaf451e. So the field fills and reports its caret on every install.
Tests\Support\TextFieldFill, which skipped those tests without #227, is gone (5f19776) and the tests always run.Also uses NativePHP/mobile-air#736 (with NativePHP/mobile-ui#225) for
animate-layout. Both are merged upstream, but after the commits the lock has (mobile a9fd09f, mobile-ui 633ebed), so they come in with the nextcomposer updateon the base. Until then the sheet works the same, the field and the list just jump instead of moving. The test that reads it skips without them (Tests\Support\LayoutAnimation).For a build before that update,
storage/app/patches(not committed, it's under the ignoredstorage/app) hasmobile-air-736-layout-animation.patchandmobile-ui-225-layout-animation.patch. The two #227 patches there aren't needed any more.The New commit, Quote and Reply sheet had its field inside a scroll view. The field stopped at eight lines with its own scroll bar and left empty space above the toolbar, and the mention list sat in the flow under the field, so three things could scroll at once.
Targets feat/remote-composer (#177), merged in at 2220b4d. #192 and #194, which this branch started from, are in it now, and so is #196. #203 (the iOS 26 scroll edge blur under the composer bars) is merged into this branch too. It changes the commit page's reply bar and the Remotes composer, not the sheet.
What changed in the sheet:
h-fullin aflex-1slot, so it reaches down to whatever is under it, or the toolbar. It never shows fewer than two lines.@caretChange, kept in$sheetCaret). The list is as tall as its rows, up to six, and scrolls inside past that. Glass on iOS like the reply bar's list, and a surface with a hairline and shadow on Android.animate-layout, so the field shortening and growing back, and the list coming and going, are animated. Photos, the poll and the preview coming and going are animated too.What a reviewer should know:
App\Devnull\ComposerSheet::mentionLayout()does the placing. The room for the list is measured to the field's bottom, because nothing reports how tall the quoted commit or poll under it is. So with something under the field the field can get shorter a little sooner than it has to. While it's shorter, what's under it comes up with it and the list covers it, as the floating list did before.scrollRangeToVisiblein the editor's probe). On Android, Compose's text field only scrolls to the caret when the caret moves, so mobile-ui#227 asks the field to bring the caret into view when it gets shorter (aaf451e there, which is what the lock has).animate-layoutslides children to their new places but doesn't animate size, so there the list slides and fades in and the field's height changes at once.'scrolls' => false(75cb547), and the sheet's list has one scroll view. A short phone doesn't show two scroll bars.ComposerSheet's row height and row count now come from Open every level of replies in place on the commit page, and move the page within its tree #196'sDisplayconstants.Not built on a device, so no screenshots yet. Tests: after merging feat/remote-composer, the full suite passes on the vendor the lock installs, with no patches: 2232 passed, 11 skipped. Two skips need mobile-air#736 (this sheet's animate-layout test and one in
NestedRepliesTest). The other nine are #203's scroll edge tests, which need a mobile-air with edge-blur on a bottom bar.QuoteTestchecks the quote's column has 12pt of padding top and bottom. ACommitMentionsTestcase puts nine suggestions in the sheet and checks its list has exactly one scroll view. Take the sheet's'scrolls' => falseout and that case fails with two scroll views.Screenshots
Not taken yet: this needs a build on a phone.
🤖 Generated with Claude Code