Skip to content

Phones: the home as Inbox, Crew and Bench tabs, status words, swipe to snooze - #1635

Merged
i2cjak merged 6 commits into
mainfrom
mobile-crew
Nov 23, 2026
Merged

i2cjak merged 6 commits into
mainfrom
mobile-crew

Conversation

@i2cjak

@i2cjak i2cjak commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

The phone side of the sidebar work in #1634, built for a phone rather than as a narrow sidebar. iOS and Android draw the same hub sections.

What changes

  • Three bottom tabs (iOS TabView, Android Material 3 NavigationBar): Inbox (Needs you, Running, Snoozed folded; the tab carries the needs count), Crew (Bub, bots, rooms), Bench (Pinned and Recent as tall rows, then groups, All projects and Quiet folded).
  • Bub and Search in the top bar of every tab: Bub is one press from anywhere.
  • Status words, no dots: each thread row shows the hub's label + tone as an icon-and-word pill (Approve, Input, Sign in solid red; Failed, Stopped outlined red; Working, Waiting, Done). An older hub with no label gets the same table from word/want.
  • Swipe to snooze: iOS swipeActions (one button per span the hub offers, a full swipe takes 1 hour; Wake on a snoozed row; Settle on the other edge), Android SwipeToDismissBox with a span sheet. Snoozed rows keep their status and say "Wakes in …".
  • All clear: with nothing needing the person and nothing running, the Inbox offers Talk to Bub, the three projects last used and Open Bench.
  • PCB chip on projects with a board (hasBoard).
  • A hub without sections keeps the old single list.

Hub

sidebar.act (data/1) takes two more actions:

  • row-snooze, value <thread>|1h|tomorrow|1w|off (the row's own snooze[].value / wake) → thread.snooze. The web sidebar already sent this and was answered "no such action", so Snooze on the web works with this too.
  • project-page, value a project key → the visit mark, so Recent follows a phone.

Checked

  • Hub: cargo test data:: present::sections passes (137), with new assertions for both actions.
  • Android: :app:testDebugUnitTest passes (JDK 17), including the new MobileSectionsTest.
  • iOS: Xcode simulator build on the Mac mini, 0 errors; HomeModelTests 26/26 (added to scripts/mobile/ios-unit-tests.sh).
  • i18n: i18n-check, i18n-ios --check, check-ios-i18n, i18n-android --check, check-android-i18n pass; 13 new strings in en/ja/es.
  • iOS screenshots on an iPhone 17 simulator against a hub seeded with 43 projects (test/sidebar/seed43.py), all three tabs, dark and light.
  • Cross-model review: each of the two authors (Claude Fable, Gemini Neon) read the other's platform.

Not checked

  • Android was not run on an emulator or device: no screenshots, swipe gestures untested by hand.
  • iOS swipes, the search field and the All clear state were not exercised in the simulator (screenshots are of the three tabs at rest).

🤖 Generated with Claude Code

i2cjak and others added 6 commits November 23, 2026 02:55
…the phones' home words

sidebar.act takes row-snooze (the row's own value, <thread>|1h, tomorrow, 1w or off) and
project-page (a visit, so the bench follows a phone). The web's Snooze already sent
row-snooze there and was refused.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ts, swipe to snooze

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…r, BACKPLANE_TAB for checks

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…Models.swift alone again

The iOS job's unit tests stopped at wire-json (cannot find type 'DSections'), so nothing after it ran.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@i2cjak
i2cjak merged commit 85293df into main Nov 23, 2026
11 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant