Repository navigation
feat(fork): no3y iOS app in the fork's Flat Glass look - #406
Conversation
Phase 1 of the mobile redesign. A bottom nav (Threads, Automations, New agent in the middle, Chat) with long-press peek lists, a Threads screen grouped by status the way the Mac sidebar groups it (Drafts, Needs input, Completed, Working, Idle, Pinned/Snoozed/Settled) with search, filter and sort, and Flat Glass rows, headers and status marks. The Threads list follows the Mac roster rules: automation runs (unless pinned), live bots' work and subagent children stay off it, and automation runs show on the Automations screen. The rules are a mobile copy in apps/mobile/fork; the Mac code is unchanged, and a parity guard runs both on the same fixtures so they cannot drift. Co-Authored-By: Gemini 4 Neon <noreply@google.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y iOS app Phase 2 of the mobile redesign, from the owner's device pass. The dock is now five icon-only Hugeicons items (Threads, Automations, New agent in the middle, Chat, Settings) with a soft pill behind the selected one, on a fade to the stage colour; Settings moved there from the top-right gear. Long-pressing Threads, Automations or Chat opens a card anchored above the item (which gets a ring) listing up to five threads with status marks and a New thread / New automation / New chat row. Threads search and one filter/sort menu moved to a bottom tray above the dock, in a fork component, so upstream ThreadListFilters.tsx is back to its base content. Chat's search is a button on the prompt bar that swaps it into a search field, and the Chat list now starts below the glass header instead of under it. Icons come from @hugeicons/core-free-icons at the Mac fork's version, drawn with react-native-svg. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ocks Implements the owner's two mocks (Threads list, inside a thread) on the no3y Code iPhone layout, and the model selector redesign. - Dock: four filled Hugeicons items (Threads, New agent, Chat, Automations) in an 80pt band, peeks kept; Settings moved to the Threads header. The dock now hides inside a thread and stays on New agent. - Threads: own header (title, Settings and Usage circles), Geist section headers with a collapse chevron, thread cards (title; PR, provider + model, project; trailing status mark, working is a still bead ring), and a bottom tray with a search pill plus separate filter and sort buttons. - Thread: native back/title with a usage ring and gauge; git, terminal and files move to a branch chip above the composer next to an access chip that sets the runtime mode. The composer is a flat card (editor on top; +, model chip, mic, send below) drawn by the upstream controls through a context. - Model chip opens a half-height sheet on iPhone: close button, Favorites / provider select, model list (long-press to favorite) and an effort slider, driving the existing thread settings session. - Geist (@expo-google-fonts/geist 0.4.2) is embedded and used on these screens only; HugeIcon gains the Mac's derived filled weight. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…S app Owner's TestFlight pass on be73df9. - Controls and the composer card use native glass (liquid glass, or the app's blur backdrop where unavailable); a fade-to-page scrim sits behind the composer stack so the transcript never reads through. Composer controls are 40pt. - Effort slider: a notch per level, tap jumps to the nearest level, drags snap with a haptic tick (snapping logic unit-tested). - Thread cards lead their meta line with the project icon and name. - The working mark is the Mac's bead ring, looping on the UI thread and still while covered, inactive or under Reduce Motion. - One page colour (#191817) across the iOS screens via the dark themes' page tokens, in CSS and JS theme variables. - Claude and Codex draw the fork's own marks on the no3y surfaces. - iOS uses the system font everywhere (Geist removed; Android keeps DM Sans). - Thread bar: 16pt title without subtitle, one usage button opening a half-height usage sheet (Threads' gauge too), and a ⋯ menu with project, environment, branch and the git, terminal and files items. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hite - Threads header gains a 40pt glass pull requests button opening the PR list the old tab bar reached. - Bots (live, unarchived; the Mac's listing rule) sit above the status sections as a wrapping grid of Petal tiles with the Mac's mascot art, status mark, tap to open and long-press rename/archive/delete; search and the environment filter narrow them. Listing, mascot pick and sprites are parity-guarded against web. - The chip row above the composer is gone: branch, git, terminal and files live in the thread bar's ⋯ menu; the model chip ends in the access shield and the model sheet gains an Access menu on the session's runtime mode (thread draft settings, or the New agent draft's mode). - Thread titles are pure white on every mobile surface regardless of status, read state or shelf. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Icon buttons and the search field are 44pt (Apple's minimum tap size) with 20pt icons, and the search field matches the buttons beside it. Thread cards get 12pt vertical padding, so cards in a section sit 24pt apart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Starting dictation flips the composer's control row out and the dictation row in with a 3D rotation. Under the no3y card the glass controls sit inside that flip, and the incoming row never painted, so the composer went empty until the screen was rebuilt. The no3y composer now swaps the rows instantly, as the reduced-motion path already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…poser Dictation hid the whole draft, typed text included, until it finished. The no3y composer now keeps the editor and its text in view and swaps only the control row (attach, model, mic and send) for the dictation row (cancel, waveform and confirm). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pressed and selected fill on thread and draft cards used an 8pt radius, which read too sharp on the phone; it is 14pt now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The thread's floating status control was a full-width glass bar that spelled out each status, e.g. a whole background command. On the no3y iPhone layout it is now one 30pt glass pill right-aligned with the composer card: a segment per active kind (icon + count, amber dot when something needs the user) for the transient status, background processes, monitors, subagents, Pi status, queue and previews. A tap opens a half-height sheet listing every item by kind with every action the old control offered. iPad and Android keep upstream's control. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Subagents in the iOS transcript used upstream's row: a blue dot and a blue "Working" label. On the no3y layout they now draw as the Mac fork's subagent card: the provider's mark in a tile with the Threads list's status mark at its corner (bead ring while working), a white title over model and effort, elapsed time, and the latest activity line, with paths truncated in the middle. A tap still opens the agent's thread. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On iOS the queue sat behind a "N queued" segment and a separate sheet. On the no3y iPhone layout it is now the Mac fork's collapsible "Queued · N" banner, a glass card right above the composer: one line per message with the sender for non-owners, Send now / Steer, Edit and Remove, and Move up / Move down in each row's long-press menu, on the existing mobile queue commands. A held queue offers Resume. The status pill no longer counts the queue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…p on taps Inside a thread the no3y iPhone layout drew UIKit's navigation bar with its blurred strip. It is now three floating glass bubbles over the transcript (back, the title in its own pill, usage ring + ⋯) under a soft fade from the page colour, with the transcript's top inset set to that row. Tapping the header's buttons scrolled the transcript to the top: on iPhone iOS 27 UIKit scrolls the content scroll view to the top on any tap inside a UINavigationBar, buttons included (react-native-screens ships a ScrollToTopGuard for exactly this). The bubbles are not in a navigation bar, so the interaction never fires; the back swipe stays native. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s shield on no3y iOS The no3y composer card's controls follow a new 40pt composer size, while controls elsewhere stay 44pt. The editor's clearance above the controls is now derived from that size, so the text's last line sits as far above the buttons as its first line sits below the card's top. Full access drew the outline ShieldOff glyph, which has no filled weight; it now uses the filled alert shield like the other modes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Status marks drew in a 16pt box. They now take one card-size constant, 20pt, and every mark (bead ring, half circle, dots, idle ring, clock, pencil) scales whole from its 16pt drawing so strokes stay in proportion. Thread cards, peeks, automation runs, chat rows, bot tiles and the activity sheet all use it; the subagent card's corner badge grows a little. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…arts fast Every dictation tap fetched the environment's speech status (or checked the cloud key) before recording could prepare: a network round trip to the Mac while the composer said "Preparing". The mobile transcriber's prepare now goes through a small cache keyed by connection and destination that keeps the last success for five minutes, shares one fetch between overlapping callers and never caches an error. The composer's mic warms it while it shows, so a tap usually resolves prepare immediately. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The usage sheet took half the screen for Settings › Usage's full section. It is now the Mac composer's usage drawer on a phone, in a sheet sized to its rows: one row per provider with its mark and each window's thin bar side by side (5hr / 7d from typed durations, Claude's Fable breakdown left out, the calmer green), % left and reset time, then any limit notices, usage links and a See all usage link. The thread ring and the Threads gauge open the same sheet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An agent's questions drew upstream's card: letter-spaced labels, blue option borders and a big blue Submit, floating as a separate dark box. On the no3y iPhone layout they are now the Mac fork's Questions card as a glass card in the composer's place: a Questions header with progress, one question at a time with radios or checkboxes on the left, the foreground/alpha selection, outline Previous / Next and a white 44pt Submit. Single-select picks move to the next question; free-text answers, dismiss, collapse and Stop still work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The user's sent bubble was a solid grey fill. On the no3y layout it is now a translucent white wash over the page (9% on dark), like the Mac's glass bubble; text, timestamp and copy row are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A live turn drew upstream's rows: a separate "Thinking" row with a brain icon, or the running tool group's row wherever it sat. On the no3y layout the feed's single live row now moves to the end of the derived rows and draws as the Mac's status line: the bead ring, what the agent is doing now, the turn timer and a chevron that opens the running group, with the open group's details above it. Upstream's derivation is untouched. The finished turn's "Worked for" row loses its divider. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Mac can set a prompt aside in its prompt stash; iOS could not. The no3y composer's + menu now has "Stash prompt" (moves the composer's text into the stash) and "Stashed prompts (N)", a half sheet listing each prompt's first line, project and age: tap to restore (replace or add below what is typed), swipe to delete. The queued-messages banner gains Move to stash. The stash is text only, newest first, at most 20, saved in the app's documents directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The iOS launch screen is now the new green sparkle on the dark page. A JS overlay draws the same frame, hides the native splash under it and twinkles on the UI thread (a squeeze, a springy turn back and a glint), then scales up and fades as soon as the first screen is ready, after a short floor so a fast launch does not flicker. It never waits for the twinkle, plays only on a cold launch, and only fades under Reduce Motion. App icons are untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n returns to it Back from a run opened in Automations landed on Threads: the run was opened with upstream's selectWorkspaceDetail, which rebuilds the stack as Home plus the run and so drops Automations. Runs are now pushed over Automations, so back (button or swipe) returns there with its scroll position, and the dock reads Automations meanwhile. The screen itself is redone in the Threads screen's language: its own header (title, environment filter, +), each automation as a card (schedule, next run or Paused, last error, an on/off switch, a menu with Edit, Open thread, Run now and Delete), then its runs as cards with status marks, grouped Needs you, Working and Recent, the automation's name on the meta line, 25 at a time with Show more, and a long-press menu. On iOS dark themes the cool grey grouped-card surface becomes the 4% white wash on the page (opaque #222120, since rows nest in and lift out of those cards). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ac access icons Chat had a bare prompt bar with no model, effort or access choice and a one-off header. It now uses Threads' header shape (Search, Settings, Usage; search turns the row into a search pill), lists chats as thread cards (swipe to archive/delete, the card long-press menu), and hosts New agent's own draft composer for a No-project chat: the Chat route carries the draft and the new-task flow serves it like a draft thread, so the model chip, model sheet, effort, access, +, stash and dictation pick what the chat starts with. A sent chat is pushed over Chat and the route takes a fresh draft. Access icons now match the Mac: Supervised a filled square lock, Auto-accept edits a filled pen, Auto a filled shield check, Full access a stroked crossed shield. Subagent cards drop the activity line and round to 20pt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…creen New agent drops the native "New thread" bar and the "What should we build in …?" headline. It now has a "New agent" header with Search, up to eight recent projects as two-column tiles (favicon, name, "N working" or last activity), ranked like the Mac launchpad by roster-visible threads, with No project and All projects (N) under them. The workspace mode, base branch and (with two or more machines) machine sit as glass pills directly above the composer and open their existing pickers. Chat and New agent share one draft surface seam in NewTaskDraftScreen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uns table on no3y iOS The Automations screen's card list wasn't landing. Its header now has a glass "Automations | Runs" switch (kept for the session) beside filter and +. Automations are two-column tiles with name, schedule, a result line with a 20pt status mark and the fork Switch (#00bc7d, white thumb); off tiles dim, a tap edits and a long press offers Run now, Edit, Open thread and Delete. Runs is a compact table like the Mac's: 40pt one-line rows with full-width hairlines (mark, run title, automation and project, PR number, time), needs you first, paged with Show more. Runs still push over Automations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chats started on the phone were never tagged `chat`, so the Mac's Chat list never showed them, and the phone counted every No-project thread as a chat while the Mac counts only tagged ones. The phone now tags a sent chat with the existing thread.tag.set command once the server lists it, keeping it in Chat meanwhile, and uses the Mac's rule (tagged, or sent here and awaiting the tag), parity-tested against chatMode.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bots grid read "Bots" and drew glass tiles with only a name and a mark. It is now "Petals" with its count, two columns of the Mac's Petal card: the mascot on a 32pt tile in its colour at half strength behind a 24% edge, the name, the Mac's status line (working, needs you, the unread report, next check), and a mark that takes the petal's launched work's need of you. The status-line and work rules are ported from the Mac and parity-guarded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s as the meta line A limited or failed card swapped its meta line for the run's error in amber or red, which read as a different font beside the muted meta. It now uses the meta line's own type and muted ink on one line; the status mark carries the colour, as on the Mac. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ens the PR list Usage: the sheet was the app's only iOS fitToContents formSheet, sized when it first laid out, before any limits had arrived, so rows that landed later were clipped; and nothing fetched limits for the thread ring. The sheet is a half sheet that scrolls, refreshes every connected machine on open and says when it is checking, offline or has nothing reported; the ring keeps its machine's limits refreshed (throttled) while a thread is open. Pull requests: the button called openWorkspaceTab, which only resets the stack to Home; Home shows the workspace tab state's selected list, which only useSelectWorkspaceTab changes. The button now selects the tab, and the dock's Threads selects Threads back with the selector Home's header lends it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Your next message compacts 525K tokens of history first." drew as upstream's floating notice: a faint dark card between the transcript and the composer, with an SF shrink icon and an X whose meaning was hidden. On the no3y layout it is now one glass row stacked on the composer like the queued banner (the Mac's composer banner treatment, rising in): a shrink icon, "Next message compacts history · 525K tokens", and an X that keeps the full history; once kept, it says so and offers a glass Compact pill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After a cold start the first New agent tap pushed the project picker, and
closing it pushed it again. The draft's fresh flow has no chosen project, so
NewTaskDraftScreen's upstream entry flow opens the picker and, once it closes
unanswered, leaves the draft. Under Home there is no route to leave:
useWorkspaceBackNavigation fell through to replace("Home"), the remounted tab
started a fresh entry flow, and the picker came back.
A Home tab now never opens or leaves for the picker (no3yInPlaceSkipsPicker).
New agent starts every draft with no project: send is blocked and the
composer says "Pick a project above to start" until a row is picked. The rows
are the whole list now, scrolling above the pinned composer: No project
first, then projects with roster activity newest first, then the rest in
their most-recently-updated order; there is no All projects step.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The compaction notice was a 22pt-radius glass card. It is now the thread header's bubble: a 44pt fully rounded glass pill with the shrink icon, "Next message compacts history" and the muted token count (which ellipsizes first when short of room), and the X or the Compact pill nested inside as the header's usage and ⋯ group nests its buttons. Position, stacking and the rise-in are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The no3y pill wrapped upstream mobile's compact-before-send: the next send compacted first and the X toggled keeping the full history. The Mac fork replaced that behaviour with its "Resume with less context" notice, and the phone now matches it. The pill reads "Resume with less context · 525K tokens", its Compact pill sends /compact now (what the Mac's compactContext sends), and its X keeps the full history for that thread and snapshot for the session. A send on the no3y layout is a plain send. The offer is client-runtime's compactBeforeSendTokens, which applies the Mac's own shouldOfferResumeCompaction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The usage, model, status and prompt-stash sheets drew an opaque page-coloured body inside the native sheet, and on iOS 26 that body's corner sat inside the sheet's own display-concentric corner, so two radii stacked at the edge. On iOS 26 their body and route content are now clear, so the native sheet owns the surface and the shape; earlier iOS keeps the page colour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uttons The no3y glass buttons opened their menus through @react-native-menu over an RN glass layer, so a menu only popped. On iOS 26 the Threads filter and sort buttons are now SwiftUI Menus with the glass button style, hosted through @expo/ui (already in the app, no native change), which is what makes iOS grow the button into the menu and collapse it back. Their items come from the same menu actions (titles, SF Symbols, checkmarks, sections, submenus, destructive and disabled), and earlier iOS keeps the RN glass button under the UIMenu. This is the prototype; the other glass-button menus follow once it is checked on a device. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Opening search shrank New agent's project list to three rows with a blank gap above the composer, and it stayed that way after search closed. The list was a fixed frame whose bottom edge was liveKeyboardHeight plus the composer's measured overlay height plus 24, and the rows were bottom-aligned in it: with the keyboard up the frame took the keyboard on top of a composer height that already sat above it, and that height is only re-measured when the composer lays out again, so the frame stayed short. The list now runs to the screen bottom behind the composer and keyboard and pads its end instead, so its frame never depends on those measurements and every row stays reachable. At rest the rows sit just above the composer; a search lists its matches from the top. Rows fade out under the header through a static gradient and into the composer's scrim at the bottom, never cut. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The composer rode every keyboard, including the one the New agent and Chat header searches raise, so opening search lifted it and closing search dropped it low before it settled. On the no3y layout the composer now follows the keyboard only for its own editor: the header search claims the keyboard (before its field even mounts), the composer's editor claims it back on focus, and the last owner holds through the keyboard's dismissal. With a search open the composer stays at rest under the keyboard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… glass The icons in the native glass filter and sort buttons sat about 3pt right and down of centre. Their RN host took the size of the SwiftUI label's frame and drew the 20pt icon at its top-left; the host now sizes to its content, so SwiftUI centres it in the 44pt circle. The glass menu button also draws a capsule around RN content now, and more menus use it on iOS 26: the thread header's ⋯ (its own glass bubble beside the usage bubble, so its menu morphs out of it), the Automations filter, and the model sheet's Favorites/provider and Access menus. Earlier iOS keeps the previous buttons and the UIMenu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s, empty Threads header - The dock peek's New automation opens a fresh editor instead of the last edited task. - The model half sheet lists the model's other options (fast mode, context size) and drives the session's provider filter, so a picked provider's workspace models are scanned. - An empty Threads tab keeps its header (Settings, PRs, Usage). - Chat retries opening the No-project workspace after a failed or interrupted attempt. - A long queue scrolls under its header. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e Chat open per connection - New automation from the dock waits for the editor's discard prompt instead of erasing edits. - Chat opens the No-project workspace once per connection, so a failure cannot retry in a loop. - Queue row actions take the first tap with the keyboard open. - The model Options menu checks what the provider reports, as the full sheet does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This PR changes the test suite by +86 test cases (browser 0, unit +86, server 0). Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
NoahHendrickson
left a comment
There was a problem hiding this comment.
Thermo-nuclear code-quality review of bc99bf7f603dfcafc9fe0d7d5c96b6b2c6577be7 (base 1f5d12ea62). Not approving. The fork-first layout is right: new code lives in apps/mobile/fork, and upstream only gets fenced hunks. But three structural problems will keep costing us on every upstream sync and every new screen. All of them can be fixed without changing behaviour.
1. There is no single "is the no3y layout on" predicate, and the gates already disagree (blocker)
The redesign is switched on by at least five different conditions:
useNo3yBottomNavEnabled(): iOS, not iPad, not split view, not Duo. This is line for line the existinguseCompactWorkspaceTabs()inuseSystemWorkspaceTabBar.ts:29.no3yHomeTabsAtom.enabled: a copy of that hook, written into a global atom from twouseEffects (No3yBottomNavHostandNo3yHomeTabRedirect), then read imperatively byshowNo3yHomeTab,new-task-flow-stateanduse-thread-composer-state.NO3Y_MODEL_SHEET:Platform.OS === "ios" && !Platform.isPad, a static check.- Bare
Platform.OS === "ios"inHomeScreen.tsx:760,fontFamilies.ts,AppearancePreferencesProvider.tsx:194andSettingsScheduledTasksRouteScreen.tsx:505.
The PR says "iPad and Android keep upstream's layout", but the bare iOS checks match iPad too. So an iPad gets the fork thread list, the system font, the fork page colour and the fork Runs section, while keeping the upstream dock, composer and model sheet. The fix is to define one canonical gate (reuse useCompactWorkspaceTabs, or derive one atom from layout metrics) and route every hunk through it. Keep one static twin only where module-scope route options need it, and say so next to it. That also removes the effect-driven mirror and its first-frame enabled: false window.
2. About 2k lines of Mac fork logic are copied into mobile and kept in sync by a parity test (blocker)
forkStatusGrouping.ts, forkRosterVisibility.ts, forkBots.ts, botMascotArt.ts (612 lines) and hugeiconsFill.ts (437 lines) are copies of apps/web/src/custom/*. no3yMobileRedesign.test.ts dynamically imports both copies to prove they still match. That turns a type-level guarantee into a test that only runs in CI, and every future Mac change has to be made twice. The repo already has the right home for this: @t3tools/shared/forkBotTags and forkDesignProps are fork-owned shared modules. botMascotArt and hugeiconsFill are pure data and can move as they are. The grouping and roster core needs only the SidebarThreadStatus types pulled out of Sidebar.logic. Move them into packages/shared (or client-runtime), import them from web and mobile, and the parity section of the guard can be deleted.
3. The composer card is threaded through upstream ThreadComposer as a boolean (21 no3yCard branches)
ThreadComposer.tsx now branches on no3yCard for insets, clearance, radius, padding, scrim, dictation, where the model control goes and the stash menu. Each one is a fenced ternary inside an already busy 1.3k-line render. This is exactly the "weird ifs in random places" pattern, and every upstream composer change will now conflict. ComposerAttachmentButton and ComposerModelControl already do this well: they read useNo3yComposerStyle() and swap the whole control. Do the same here. Have one fork hook return a layout profile ({ surfacePaddingVertical, radius, editorInsets, controlsClearance }) that the upstream code reads unconditionally, and one fork component own the control-row slot, so dictation and model placement live in fork/. That should take this file from ~15 fences to 2–3.
4. Smaller structural issues (see inline comments)
mobileStatusGrouping.ts(752 lines) mixes the list pipeline, dock routing, peek selectors and dock visibility. It also re-implementsisDraftThreadRoute(canonical:thread-route-state.ts:13) and hand-maintains lists of route names that drift silently whenever a route is added.No3yNavItemIdstill has"settings"(along withpress.settingsand theresolveActiveNo3yNavItembranch) after Settings left the dock. Drop it, andNo3yNavItemIdandNo3yHomeTabbecome the same type.lentWorkspaceTabsis a module-level mutable singleton filled in by an effect. That is a context leaking out through a global.SettingsScheduledTasksRouteScreendecides which mode it is in by sniffinguseRoute().name === "Home", andno3yBottomNav ? NO3Y_BOTTOM_NAV_CLEARANCE : 0(line 500) can never be true because of the early return on line 440.No3yModelPickerHostcopies the catalog-refresh effect fromThreadSettingsMainContent.- The new
HomeScreenprops are optional, and the call site fills them with?? "all"/?? (() => {})even thoughuseHomeListOptionsalways supplies them. Make them required. The ~50-prop pass-through toNo3yThreadsListViewalso suggests the split should hand over one list model, not a mirror of HomeScreen's locals.
5. File size
No file crosses 1k lines because of this PR. ThreadComposer (1216 → 1327) and NewTaskDraftScreen (1038 → 1102) were already over 1k and grow further, which is one more reason to fix item 3.
The guard's ~140 toContain assertions on source text follow the fork's convention, so I'm not blocking on them. But most of them would go away once items 1–3 shrink the seams.
| } | ||
|
|
||
| /* fork:begin no3y-mobile-redesign — see .fork/customizations.yaml#no3y-mobile-redesign */ | ||
| const useNo3yFlatGlassList: boolean = Platform.OS === "ios"; |
There was a problem hiding this comment.
This is yet another gate, and it disagrees with the others. Platform.OS === "ios" is true on iPad, so iPad gets the fork thread list while keeping the upstream dock and composer. The PR description says iPad keeps upstream's layout. Use the one canonical no3y-layout predicate here (see review item 1).
There was a problem hiding this comment.
Fixed in c9ffad6. The Flat Glass list now uses the same gate as the dock (useNo3yBottomNavEnabled), so iPad keeps upstream's list.
| readonly selectedEnvironmentId: EnvironmentId | null; | ||
| readonly selectedProjectKey: string | null; | ||
| /* fork:begin no3y-mobile-redesign — see .fork/customizations.yaml#no3y-mobile-redesign */ | ||
| readonly statusFilter?: No3yStatusFilter; |
There was a problem hiding this comment.
Why are these optional? useHomeListOptions always provides statusFilter, threadSortOrder and both setters, and HomeRouteScreen always passes them. The ?? "all" / ?? (() => {}) fallbacks at the call site only hide a contract that is actually required. Make them required.
There was a problem hiding this comment.
Fixed in c9ffad6. The four props are required now and the fallbacks are gone.
| } | ||
|
|
||
| /** Whether the compact iPhone Flat Glass dock is active for this device/layout. */ | ||
| export function useNo3yBottomNavEnabled(): boolean { |
There was a problem hiding this comment.
This is line for line useCompactWorkspaceTabs() (src/features/layout/workspace/useSystemWorkspaceTabBar.ts:29). Can we reuse the canonical one, or have that hook be the single definition of the no3y layout?
There was a problem hiding this comment.
I tried to reuse it, and it broke src/lib/filePreview.test.ts. useSystemWorkspaceTabBar.ts also imports native-glass and the workspace tabs context, so the feed's test loaded native modules. The gate is now its own small module, fork/no3yBottomNavEnabled.ts, which points at useCompactWorkspaceTabs as the source of truth. That also keeps the feed from importing the whole dock. Making the upstream hook the single definition would mean splitting an upstream file with no change in behavior, so I left upstream as it is.
| const serverConfigs = useServerConfigs(); | ||
| const [peekItem, setPeekItem] = useState<No3yNavItemId | null>(null); | ||
|
|
||
| useEffect(() => { |
There was a problem hiding this comment.
This copies a layout-derived boolean into global state from an effect, and No3yHomeTabRedirect does the same thing a second time. Until this host mounts, readNo3yHomeTabs().enabled is false, and non-React paths (use-thread-composer-state, new-task-flow-state, showNo3yHomeTab) branch on it. Derive enabled from layout state once (an atom over layout metrics) instead of copying it into the atom.
There was a problem hiding this comment.
Declined for this PR, follow-up. The host mounts with the root navigator before any user action, so the non-React readers only run once the flag is set. Deriving it as an atom over layout metrics is the cleaner shape, but it's a refactor of working navigation. I'd rather not fold it into the redesign PR that was tested on device.
| } | ||
|
|
||
| // Home's workspace tab selector, lent by Home (the dock and Settings sit outside its context). | ||
| let lentWorkspaceTabs: LentWorkspaceTabs | null = null; |
There was a problem hiding this comment.
This is a module-level mutable singleton that an effect fills in, i.e. Home's tab context leaking out through a global. It is null before Home mounts and stale after it unmounts. showNo3yHomeTab then has two code paths (lent vs resetRootStack). Can the dock and Settings reach workspace tab selection through a context or store that is in scope for them, so the fallback branch goes away?
There was a problem hiding this comment.
Declined for this PR, follow-up, same reasoning as the layout atom. The fallback branch covers Settings links that arrive before Home mounts. Moving tab selection into a scoped store is a navigation refactor for its own change.
| @@ -0,0 +1,278 @@ | |||
| /** Mobile copy of web's status-grouping primitives — guarded for parity in `no3yMobileRedesign.test.ts`. */ | |||
There was a problem hiding this comment.
"Mobile copy of web's …, guarded for parity": this file, forkRosterVisibility.ts, forkBots.ts, botMascotArt.ts and hugeiconsFill.ts copy roughly 2k lines of apps/web/src/custom, and a test imports both copies to prove they match. The pure modules belong in packages/shared next to forkBotTags and forkDesignProps (or in client-runtime), imported by both apps. Then the parity section of no3yMobileRedesign.test.ts can be deleted.
There was a problem hiding this comment.
Declined for this PR, follow-up. Moving them into packages/shared also changes apps/web/src/custom, which is a separate change from the iOS redesign. Until then, the parity guard keeps the two copies in step.
| "ConnectionsNew", | ||
| ]); | ||
|
|
||
| function isDraftThreadRoute(route: RouteLike): boolean { |
There was a problem hiding this comment.
This re-implements isDraftThreadRoute from src/features/threads/thread-route-state.ts:13, which no3yHomeTabs.ts already imports. Reuse the canonical one. Separately, this file mixes the thread-list pipeline with dock routing (AUTOMATIONS_ROUTES, IMMERSIVE_OR_MODAL_ROUTES, resolveActiveNo3yNavItem, shouldShowNo3yBottomNav). Move the dock routing into its own module. The hand-maintained lists of route names will also drift silently when routes are added, so derive them from the stack config (as registerNo3ySheetRoutes does for sheets) or from isWorkspaceOverlayRoute.
There was a problem hiding this comment.
Partly fixed in c9ffad6. It now imports isDraftThreadRoute from thread-route-state.ts. Splitting dock routing into its own module and deriving the route lists is a follow-up.
|
|
||
| export type No3yStatusFilter = "all" | SidebarV2StatusBucket; | ||
| export type No3yThreadSortOrder = "status" | "updated_at" | "created_at"; | ||
| export type No3yNavItemId = "threads" | "automations" | "newAgent" | "chat" | "settings"; |
There was a problem hiding this comment.
"settings" is vestigial now that Settings has left the dock. It survives only as press.settings in No3yBottomNav.tsx, the Exclude<…, "settings"> here, and a return value nothing highlights. Drop it, and No3yNavItemId is exactly No3yHomeTab, so one of the two unions can go.
There was a problem hiding this comment.
Declined for this PR, follow-up. It's a dead value with no behavior, so I'm leaving it for a cleanup pass rather than adding churn to this one.
| Math.max(insets.bottom, 18) + | ||
| 18 + | ||
| /* fork:begin no3y-mobile-redesign — see .fork/customizations.yaml#no3y-mobile-redesign */ | ||
| (no3yBottomNav ? NO3Y_BOTTOM_NAV_CLEARANCE : 0), |
There was a problem hiding this comment.
This is dead code: the if (no3yBottomNav) { … return } on line 440 means no3yBottomNav is always false here. Separately, line 422 picks the component's mode by sniffing useRoute().name === "Home". No3yHomePanes could render the Automations pane directly and pass its inputs, leaving this route as a plain redirect.
There was a problem hiding this comment.
Fixed in c9ffad6. The dead padding hunk is removed, so that line matches upstream again. Rendering the Automations pane directly from No3yHomePanes is a follow-up.
|
|
||
| /* fork:begin no3y-mobile-redesign — see .fork/customizations.yaml#no3y-mobile-redesign */ | ||
| /** The iPhone half-sheet picker on this session; the catalog refresh mirrors the model list's. */ | ||
| function No3yModelPickerHost(props: { readonly onClose: () => void }) { |
There was a problem hiding this comment.
This copies the catalog-refresh effect from ThreadSettingsMainContent (~line 949), including the capability check and the disable comment. Extract a useRefreshModelCatalogOnOpen() hook and call it from both places.
There was a problem hiding this comment.
Declined. Extracting the hook would mean editing upstream's ThreadSettingsMainContent to call it. This copy sits in a fork fence, so the upstream function stays as it is for syncs.
NoahHendrickson
left a comment
There was a problem hiding this comment.
Reviewed bc99bf7f603dfcafc9fe0d7d5c96b6b2c6577be7 against the PR diff for recorded base 1f5d12ea62214e1f2c067afd60ee011fabb42299. Four findings are inline. git diff --check passed. This was a source review without a native device run.
| } | ||
|
|
||
| /* fork:begin no3y-mobile-redesign — see .fork/customizations.yaml#no3y-mobile-redesign */ | ||
| const useNo3yFlatGlassList: boolean = Platform.OS === "ios"; |
There was a problem hiding this comment.
[P2] Keep the upstream Threads list on iPad
This condition also replaces the iPad list. useNo3yStatusGroupedList unconditionally filters out tagged chats and Petal threads, while No3yHomePanes and the Petal grid are gated on the phone dock. On iPad, a chat created on the Mac or a Petal therefore disappears from Threads with no corresponding Chat tab or grid. Gate the list replacement on the same layout condition as those destinations.
There was a problem hiding this comment.
Fixed in c9ffad6, with the same gate change as the comment above. The list only swaps when the phone dock is on, so iPad keeps upstream's list with its chats and Petals.
| const useNo3yFlatGlassList: boolean = Platform.OS === "ios"; | ||
| if (useNo3yFlatGlassList) { | ||
| return ( | ||
| <No3yThreadsListView |
There was a problem hiding this comment.
[P2] Drive thread-jump shortcuts from the list on screen
HomeScreen still registers useThreadJumpShortcuts(threadListV2Items, selectThread) above this return. Those items come from the upstream layout, which has a different order and ignores the fork's status and roster filters. On iPhone, a jump shortcut can open a different thread from the corresponding visible row, including a chat hidden from Threads. Register the shortcuts against the rendered Flat Glass rows when this branch is active.
There was a problem hiding this comment.
Declined, nit. This needs a hardware keyboard on an iPhone. Registering the shortcuts against the rendered rows is a follow-up.
| return; | ||
| } | ||
| stashPromptText(text, projectTitle); | ||
| setComposerDraftText(draftKey, ""); |
There was a problem hiding this comment.
[P2] Preserve attached context when stashing a prompt
For a draft with an attached thread or file reference, the stash saves the text token alone. Clearing the draft via setComposerDraftText prunes the associated context records and can remove the files owned by those records. Restoring the stash then leaves a reference with no payload. The same text-only stash is used for queued messages, where No3yQueuedRunsBanner allows stashing a message with context records and no attachments. Preserve the context and its associated files, or keep the stash action unavailable for prompts it cannot restore.
There was a problem hiding this comment.
Fixed in c9ffad6 by refusing the stash instead. A composer prompt with thread or file references now gets an alert ("Remove its thread or file references first"), and a queued message with context records no longer offers Stash. The stash only stores text.
| }, [environmentId, project, openScratch]); | ||
|
|
||
| useEffect(() => { | ||
| if (draft !== null && draft !== storedDraft) setNo3yHomeDraft("chat", draft); |
There was a problem hiding this comment.
[P2] Keep a Chat draft bound to its environment through reconnects
With two connected environments offering scratch workspaces, compose a Chat draft on the first one and let its connection drop. resolveNewTaskScratchOption prefers a ready environment, so this effect replaces the stored draft with a fresh request for the second workspace. When the first environment reconnects, switching back creates yet another request ID, leaving the original text and attachments behind under an unreachable draft key. Keep the existing draft bound to its workspace while it reconnects, or retain separate drafts by workspace.
There was a problem hiding this comment.
Declined. This needs two connected environments that both offer a No-project workspace, and this app pairs with one Mac. Binding drafts per workspace is a follow-up.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
NoahHendrickson
left a comment
There was a problem hiding this comment.
Code review of bc99bf7f603dfcafc9fe0d7d5c96b6b2c6577be7 (base 1f5d12ea62214e1f2c067afd60ee011fabb42299), using /code-review high. I checked each finding against the source before posting.
Important (5)
voiceDestination.ts: the shared voice prepare no longer takes an abort signal, so one stalled fetch can block dictation for the whole connection.No3yCompactBanner.tsx: Compact turns back on as soon as the enqueue resolves, so a second tap can queue a second paid/compact.No3yChatTab.tsx: an interrupted No-project open leaves Chat with no composer and no notice.No3yBottomNav.tsx: the Automations badge counts settled runs, so a failed run the user already settled keeps the dock red.no3yUsageCompact.ts: the ring shows the weekly window even when the 5h session is the one at 0%.
Nits (3): a stale open-failure message after a disconnect, effects with no reason given (lint misses them in apps/mobile/fork), and ring labels for windows under an hour.
I left out one finding because the PR description already declines it: a failed stash write still clears the composer. The write backend swallows the error after its alert, so stashComposerPrompt clears the draft anyway.
Not covered: device behaviour, visual fidelity to the Figma mocks, and the 826-line guard file beyond a skim.
🤖 Signed: Claude Opus 5.5 (claude-opus-5-5) via Claude Code
| const destinationKey = provider ? `cloud:${provider}:${model ?? ""}` : "environment"; | ||
| // The shared fetch outlives one tap's abort, so it never takes the caller's signal. | ||
| const prepare = (signal: AbortSignal) => | ||
| voicePrepareCache.read(prepared, destinationKey, () => prepareDestination(), signal); |
There was a problem hiding this comment.
Important: one stalled prepare can block dictation until reconnect. On base, prepare passed the tap's AbortSignal into runSpeech, so a cancel interrupted the RPC and the next tap started fresh. Now prepareDestination() runs with no signal, and voicePrepareCache keeps that one pending promise until it settles. abortable only rejects the caller, and every later tap for the same prepared + destination joins the same promise.
How it fails: the network drops mid-request and expoFetch doesn't resolve for a long time. The user cancels and taps again, and each tap waits on the hung fetch until TCP gives up or a new prepared connection object arrives.
Fix: give the shared fetch its own timeout or AbortController, and clear pending when the last waiter aborts, so a later tap can start a new fetch.
There was a problem hiding this comment.
Fixed in c9ffad6. The shared fetch now gets its own AbortController, and it's aborted when the last waiting tap aborts, so the next tap starts a fresh fetch. A prefetch with no signal holds nothing. Added a test in no3yVoicePrepareCache.test.ts that checks the hung fetch's signal is aborted and the next read fetches again.
| if (compacting || !props.canCompact) return; | ||
| setCompacting(true); | ||
| compactNow(props.thread).then( | ||
| () => setCompacting(false), |
There was a problem hiding this comment.
Important: Compact can queue /compact twice. compacting resets as soon as enqueueThreadOutboxMessage resolves. The offer (tokens) stays until the server actually compacts and the thread updates, so the pill turns back on while the first /compact is still queued or running. A second tap queues a second paid compaction turn.
Fix: after a successful enqueue, record the offer key as sent, the way a dismissal is recorded, and keep the pill hidden or disabled for that key until the offer goes away.
There was a problem hiding this comment.
Fixed in c9ffad6. A successful enqueue dismisses that offer key, so the pill stays hidden until the offer changes.
| openedEnvironmentRef.current = environmentId; | ||
| setOpenFailure(null); | ||
| void openScratch({ environmentId, input: {} }).then((result) => { | ||
| if (result._tag === "Failure" && !isAtomCommandInterrupted(result)) { |
There was a problem hiding this comment.
Important (plausible): an interrupted open leaves Chat stuck. openedEnvironmentRef is set before the call and never cleared on failure, which is the fix for the retry loop. An interrupted result sets no openFailure either. While the environment stays connected, project stays null, unavailable is null because the scratch option is ready, and the effect never runs again for this environmentId. Chat shows the list with no composer and no explanation.
Fix: on isAtomCommandInterrupted(result), clear openedEnvironmentRef.current (an interrupt shouldn't loop the way a hard failure did), or show a notice.
There was a problem hiding this comment.
Fixed in c9ffad6. An interrupted result now clears the attempt ref for that environment, so the next render tries again. A real failure still waits for a reconnect, which avoids a retry loop.
| useEffect(() => { | ||
| // One attempt per connection: a disconnect lets the next connection try again. | ||
| if (environmentId === null) { | ||
| openedEnvironmentRef.current = null; |
There was a problem hiding this comment.
Nit: a stale open failure outlives a disconnect. This branch resets the ref but keeps openFailure, and unavailable checks openFailure first. After a failed open and then a disconnect, Chat keeps showing the old error instead of "Connect an environment to start a chat." Fix: call setOpenFailure(null) here as well.
There was a problem hiding this comment.
Fixed in c9ffad6. unavailable ignores openFailure while no environment is ready, so a disconnect shows its own notice. It's derived in render rather than set in the effect.
| }, [environmentId, project, openScratch]); | ||
|
|
||
| useEffect(() => { | ||
| if (draft !== null && draft !== storedDraft) setNo3yHomeDraft("chat", draft); |
There was a problem hiding this comment.
Nit: effects with no reason given. This effect copies the derived draft into the atom. The same applies to the effect at line 278, No3yHomeTabRedirect.tsx:19, No3yBottomNav.tsx:333, useVoicePreparePrefetch.ts and no3yWorkspaceTabs.ts:17. CLAUDE.md says every effect that stays gives its reason with // oxlint-disable-next-line t3code/no-unreasoned-state-sync -- <why>.
Lint doesn't flag these because vite.config.ts scopes no-unreasoned-state-sync to apps/mobile/src/**, and apps/mobile/fork sits outside that glob. The same gap applies to no-hermes-unsupported-apis, no-manual-memo and no-hookless-use-function. The Hermes guard test covers one of these by hand. It may be simpler to add apps/mobile/fork/** to those overrides. Where you can, move this draft sync into render or a handler.
There was a problem hiding this comment.
Declined for this PR, follow-up. Widening those lint overrides to apps/mobile/fork/** would affect every fork file and is its own change. The Hermes guard covers the crash-class rule in the meantime.
| const automationsBadgeColor = useMemo(() => { | ||
| let hasWorking = false; | ||
| for (const thread of listNo3yAutomationRunThreads({ threads })) { | ||
| if (thread.pinnedAt != null) continue; |
There was a problem hiding this comment.
Important: settled automation runs keep the dock badge on. threadsBadgeColor skips settledOverride === "settled", but this loop only skips pinned runs. Neither listNo3yAutomationRunThreads nor resolveNo3yThreadCardStatusKind looks at settlement. An automation run that failed last week and that the user settled is still unarchived, so kind === "failed" keeps the Automations dock icon red on every screen.
Fix: add if (thread.settledOverride === "settled") continue; as the Threads badge does.
There was a problem hiding this comment.
Fixed in c9ffad6. Settled runs are now skipped, the same way the Threads badge skips them.
| const weekly = byLength | ||
| .filter((window) => minutes(window) === minutes(longest)) | ||
| .reduce((least, window) => (remainingOf(window) < remainingOf(least) ? window : least)); | ||
| return remainingOf(weekly) <= WEEKLY_BINDING_REMAINING_PERCENT ? weekly : session; |
There was a problem hiding this comment.
Important: the ring can show the weekly window while the session is what's blocking. This returns the weekly window whenever it has 20% or less left, even if the session is exhausted. With 5h at 0% and 7d at 15%, the ring and the sheet's binding row show "7d 15%" while every send is rejected by the 5h limit.
Fix: return session first when remainingOf(session) <= 0. More generally, pick the window with the least left among those at or under the threshold. A row for this case in no3yUsageCompact.test.ts would cover it.
There was a problem hiding this comment.
Fixed in c9ffad6. A spent weekly comes first, since it outlasts the session, then a spent session, and only then the weekly at 20% or less. Added the row: 5h 0% and 7d 15% now show 5h 0.
| const mins = window.windowDurationMins; | ||
| if (window.id === "seven_day") return "7d"; | ||
| if (mins === undefined || mins <= 0) return window.label; | ||
| if (mins < 24 * 60) return `${Math.round(mins / 60)}h`; |
There was a problem hiding this comment.
Nit: windows under an hour get the wrong label. Math.round(mins / 60) labels a 20-minute window "0h" and a 30-minute one "1h". Fix: return ${mins}m when mins < 60.
There was a problem hiding this comment.
Fixed in c9ffad6. Windows under an hour now read in minutes, and a test row checks that a 30-minute window shows 30m.
- iPad keeps upstream's Threads list; the Flat Glass list follows the phone dock gate. - The feed and other screens read the dock gate from a small module, not the dock itself, which fixes filePreview.test.ts loading react-native-svg. - A spent 5-hour session shows on the usage ring; windows under an hour read in minutes. - Compact hides its offer once /compact is queued, so a second tap cannot queue another. - A cancelled dictation tap cancels a hung speech-status fetch, so the next tap starts fresh. - Settled automation runs no longer badge the Automations dock icon. - Chat retries an interrupted No-project open, and a stale failure no longer hides the disconnected notice. - The stash refuses prompts with thread or file references it cannot restore. - HomeScreen's no3y list props are required; dead Automations padding and a copied isDraftThreadRoute are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The system font, fork page colour and Automations Runs section checked bare Platform.OS, which matches iPad too. They now read NO3Y_IPHONE, the static twin of the dock gate that the model sheet already used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Reply to the three reviews on Code-quality review
Code review /code-review high
Source review
Checks: 🤖 Signed: Claude Opus 5.5 ( |
…406 Resolves the 17 files where the sync changed upstream mobile code that the no3y redesign fences, and ports the redesign to what upstream moved: - The composer editor and surface now live in ComposerSurface.tsx; the no3y card's full-width editor and glass surface hunks moved with them. Upstream's compact-before-send control stays off the card, which keeps its own "Resume with less context" banner. - Upstream moved working, compacting, background work and snooze/settle out of its floating status into the feed, and syncing into the header. The no3y pill keeps them: fork/no3yPillStatus.ts rebuilds the pill's status in its old order from what upstream still computes, and the feed's closing status lines are hidden on iPhone so nothing shows twice. - Follows upstream renames (THREAD_LIST_ROW_LAYOUT, usageLimitsCopy helpers, subagentThreadTarget's reach, describeSchedule's translator). - Fork copy inside upstream files carries the fork-i18n-catalog disable. - Upstream's new SettingsScheduledTasksRouteScreen test stubs the fork's Automations screens, which it does not cover. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merged #401's branch, which now includes the #402 upstream sync, in d8ec803. That clears the 17 conflicting files. What the sync moved, and how the redesign follows it
Needs a device pass before merging. These weren't tested on a phone: the composer card's editor in upstream's new animated layout, and the feed's live row next to upstream's new working fold row. |
… tiles - The SwiftUI glass behind the ⋯, composer +, filter and sort buttons was sized by SwiftUI's `large` control padding, so it drew past the 44pt and 40pt slots: the buttons looked oversized and filter and sort crowded each other. Header controls take `regular` and the composer's `small`. - Petals on the Threads page are five to a row: 26pt mascot, 12pt name, 10pt padding, 12pt corners. - Upstream's ComposerEditor test mocks react-native without Platform, which fork/no3yIphone.ts reads at load; the mock reports an iPad so the test keeps upstream's look. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Problem
The no3y iOS app (#401) still looked and navigated like upstream's mobile app. It didn't match the fork's Flat Glass look, the Figma mocks, or how the Mac fork behaves.
Change
This restyles the iPhone app to Flat Glass and the Figma mocks, keeping all existing functionality. Fork code lives in
apps/mobile/fork. Upstream files only gain fenced hunks, registered underno3y-mobile-redesign(plusno3y-prompt-stashandno3y-voice-prepare-cache) in.fork/customizations.yaml.No3yGlassMenuButton, via@expo/uiSwiftUIMenu). Earlier iOS versions keep the UIMenu.Scope
The maintainer asked for this. It's stacked on #401 (app identity and push service). Nothing changes on the server, contracts, web or desktop, apart from guard tests under
apps/web/src/__fork_guards__. The redesign applies to iPhone only. iPad and Android keep upstream's layout.Verification
vp run check:changedpasses: format, lint, knip, typecheck (42 packages), tests (147 files) and React Compiler.apps/mobile/forkpass (78), and the fork guards pass (756). The guards includeno3yHermesArrayMethods, which keepstoSorted,toReversedandtoSplicedout of fork mobile code because Hermes lacks them.Reviewed with sol-loop: 3 rounds with gpt-6.2-sol on high. The budget ended without approval.
🤖 Signed: Claude Opus 5.5 (
claude-opus-5-5) via Claude Codeclaude-opus-5-5) via Claude Code merged the chore(sync): absorb upstream main through ad2bdc76a5 #402 upstream sync in (d8ec803) and ported the status pill to upstream's new status model.claude-opus-5-5) subagents built parts of the screens: dock tabs, Figma screens, status pill, Chat screen and the functionality audit.gemini-4-neon) via T3 Code built the first pass of the bottom nav and threads UX.gpt-6.2-sol) via Codex reviewed it in 3 rounds, and its fixes were applied.