Skip to content

Mobile: Cloud badge for pending transcriptions, Goals only in Settings, compact Home and Tasks - #19766

Merged
Git-on-my-level merged 4 commits into
mainfrom
lane/mobile-cloud-badge
Sep 29, 2026
Merged

Git-on-my-level merged 4 commits into
mainfrom
lane/mobile-cloud-badge

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

What

Follow-ups to #19730 from David's first look at TestFlight 1.0.553 (1296):

  • Pending transcriptions become a count badge on the Cloud button. The full-width "Transcriptions pending N" row on Home is gone. It opened the same sync page as the Cloud button, so the badge carries the count instead. The badge is neutral (dark on light, light on dark) and caps at "9+". It turns orange only when it counts recordings still on the device, matching Cloud's existing warning tint. Screen readers hear "Sync, Transcriptions pending N".
  • Cloud now also appears with no device paired when phone-mic recordings are waiting, so phone-only users keep a way to the sync page. Before, it was hidden without a paired device, and the removed row was their only entry point.
  • Goals are removed from the Tasks page. They already live in Settings › Goals (Mobile: simplify the app shell — one Home feed, Ask Omi sheet, global search #19730), which keeps create, edit and delete. The small linked-goal label under a task stays.
  • Compact pass on Home and Tasks. Less whitespace, same structure:
    • Conversation rows: title on top, then time • length. Padding goes 20→14, the emoji tile 40→36, and the gap between cards 12→8.
    • Home | Tasks switcher: 28pt → 24pt bold.
    • Live capture card: tighter margins and line gap.
    • Daily Recaps: tighter header; "View All" is a text button instead of a grey pill. Cards are 180→160 tall, with the map band 96→76; the headline above the map is fitted to whole lines at any text size.
    • Date headers: tighter, aligned to the 20pt section inset.
    • Task rows: 10pt vertical padding, and the completion target is 44pt.
  • One conversation-row layout. ConversationListItem had a desktop-only branch (emoji and tag chip on top, title below). This app ships only on iOS and Android (desktop lives in desktop/), so that branch never ran on a phone, but flutter-tester rendered it. It is removed, so audit renders now show the phone layout.

Implementation

  • HeaderCircleButton gains badgeCount / badgeColor, and there is a new HeaderCountBadge. The badge is visual only, so callers put the count in the semantic label.
  • The new HeaderSyncButton (lib/pages/home/widgets/header_sync_button.dart) replaces the inline Consumer2 in HomePage's app bar. Its count is on-device files plus phone-local transcriptions.
  • Deleted: PendingTranscriptionsBanner; the Tasks page's goals row, goal item and create/edit sheets hooks; GoalProgressPainter, which is now unused; and the unused ActionItemsPage.onAddGoal.
  • pending_transcriptions_banner_test.dart becomes header_sync_button_test.dart. It covers the badge count and its semantics, the 9+ cap, no badge at zero, and hiding without a device.
  • Visual audit: HomeFrame gains pendingSync, and home-feed now shows one recording waiting. The new home-feed-live scenario shows the feed while the pendant records.

Verification (worktree lane/mobile-cloud-badge, Flutter 3.44.5)

Check Result
bash app/test.sh (spine, then all unit/widget) spine 138/138; 3,550 passed, 5 skipped, 0 failed (plus a re-run of the conversation-row and audit tests after dropping the tag chip: 125/125)
test/widgets/header_sync_button_test.dart 3/3
app/scripts/analyze_ratchet.sh passed
check_mobile_ux_contract.py --base origin/main INV-UI-3 OK, no hand-rolled UI increase
check_dead_code.py --area flutter ok, at the floor
scripts/check_app_addressability.py 0 errors

Screenshots were rendered with OMI_AUDIT_BRIGHTNESS=light app/scripts/visual_audit.sh --head WORKTREE --only home-feed,home-feed-live,tasks-in-shell,tasks-indented. They are not committed.

Not verified: nothing has run on a device yet.

Failure-Class: none

🤖 Generated with Claude Code

Git-on-my-level and others added 3 commits September 29, 2026 17:48
The "Transcriptions pending" row on Home opened the same sync page as the
Cloud button, so the count moves onto Cloud as a badge (neutral, 9+ cap,
orange only for files still on the device). Cloud now also shows with no
device paired while phone recordings wait, keeping phone-only users' way in.

Goals leave the Tasks page; Settings > Goals already covers them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Less whitespace without changing structure: tighter conversation cards
(title, then time and length), a 24pt Home | Tasks switcher, a tighter
live card, recap header and cards, date headers, and task rows.

ConversationListItem's desktop-only branch never ran on a phone but was
what flutter-tester rendered; it is removed so audit renders match the
device. New home-feed-live audit scenario.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Git-on-my-level Git-on-my-level changed the title Mobile: pending transcriptions as a Cloud badge; Goals only in Settings Mobile: Cloud badge for pending transcriptions, Goals only in Settings, compact Home and Tasks Sep 29, 2026
@Git-on-my-level
Git-on-my-level marked this pull request as ready for review September 29, 2026 11:06
The shorter card left ~1pt of spare room for a two-line headline above the
map, so large text clipped the second line mid-glyph. Fit whole lines (at
most two) the way the overview already does, and give the text 8pt back
(map band 76). Test covers 1.0/1.3/1.6x.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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