Skip to content

feat(phone): closable update line, one-line push banner, grouped More, quicker setup start (owner-approved design proposals) - #3485

Merged
devswha merged 8 commits into
mainfrom
feat/ui34-phone
Nov 9, 2026
Merged

devswha merged 8 commits into
mainfrom
feat/ui34-phone

Conversation

@devswha

@devswha devswha commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Summary

The phone, banner and first-run group of the owner-approved UI proposals (ui-proposals-34, PR 4 of 4), based on
main at b8cace07d; head 1faeebbbf. Positions stay where they were; no new control is always visible.

Per id

  • G-102 - close the update-available line. The line offering a release gets the same Close (X) the update-done
    line already has. It stays closed on this device for that release, keyed by its revision (a moved tag counts as
    a new offer), and comes back for the next one. A failed or changed install still has no Close until it is dealt
    with. Settings keeps offering the update either way. The new key ovis:update-offer-closed lives in lib/updateNotes.ts
    next to the done line's key and follows the same subscribe-then-read pattern across tabs.
    Reference: the Codex app's update toast (Update now and a close; the next version shows again).
  • G-103 - phone push banner on one line, Close at its right end (owner note). PushHealthNotice joins the
    shared .update-notice.is-line layout: one nowrap row, the sentence cut with an ellipsis (its full text is in
    the tooltip and in Settings → Alerts), the repair button, then Close at the right end of the same line. Why a
    repair failed (for example Brave's push setting) must be read in full, so in that case only the sentence wraps
    (.is-failure); the row and Close's place stay the same. Reference: the Claude iOS app's banners (one line,
    close glyph at the trailing edge).
  • G-143 - phone More folded into two groups. At sheet width (phone), More keeps the next waiting session,
    Search panes and actions (the phone's only way to the palette), Browse files, Copy link, Alerts and the split
    tab's pane list. It folds Find in terminal and Search conversation into Find… (찾기…), and every other pane
    and tab action into Pane and tab… (패널·탭…). Each opens its own sheet from More's button and takes over
    More's history entry, so one Back closes it. No item was removed; a group holding just one item is not folded.
    The phone sheet drops from 12 rows to 7. Desktop and landscape popovers are unchanged. A group still open when the window
    widens past a phone's width closes, since More lists those items itself there.
    The Chat/Terminal switch and the tab list were never in More (the header lens and the title's tab sheet), so
    they stay as they are. To stay under App's hook ceiling, the More state moved into src/lib/moreMenu.ts, which
    lowers the ceiling from 24 to 22. Reference: the Claude iOS app's action sheets (secondary actions grouped
    behind one row that opens a second sheet).
  • G-192 - setup guide reaches Start sooner. The agents screen's lead is one short line ("Pick one, then press
    Start." / "하나를 고르고 시작을 누르세요.") instead of two, and its blocks sit one spacing step closer on a phone. Order
    and Start's place are unchanged. On a 390x844 phone, Start is now fully in view and Connect your phone begins
    under it (before: Start sat on the bottom edge). Reference: the Codex app's onboarding (one short line over the
    choices).
  • G-032 - verify only. The manage icon already has its name (aria-label "Manage {name}" / "{name} 관리", tooltip
    "PC 관리"), and the step under an SSH failure points to it by its shape and menu name. The owner rule forbids a
    visible label beside it, so there is no code change.
  • G-031 - verify only. An SSH failure gives a plain cause with the host:port tried, keeps ssh's own line
    selectable under it, and adds the Manage-PC step.
  • G-139 - verify only. With no address a phone can open, the QR box says so ("폰이 열 수 있는 주소가 없습니다.
    코드를 직접 입력하세요.") at the same size and place (fix(ui): the rest of the design pass #3433).
  • G-198 - verify only. The welcome title is "Ovis 시작하기" and the subtitle says what the app does and what comes
    next, so the welcome no longer repeats itself (fix(ui): the rest of the design pass #3433).

Screenshots

Demo build, light theme, Korean, 390 phone and 1440 desktop where the shot has them:
~/.cache/ovis-tmp/ui-proposals-34/phone/before and .../phone/after (G-031, G-032, G-102, G-103, G-139, G-143,
G-192, G-198). The capture harness copy at .../phone/capture.ts waits for the welcome's h1 (the shared harness
waited for an h2 that #3433 had changed). It was used for both runs.

Tests and scripts

  • src/lib/moreMenu.test.ts: an open group has its items at a phone's width and none once the screen is wider, so it
    closes (found by the Codex adversarial review: Find… stayed open after a resize to 1440 and lost Search
    conversation; the test failed before the fix).
  • UpdateControls.test.tsx: the offer line closes for its revision only and comes back for the next; a failed
    install stays with no Close.
  • push-health-demo-regression.ts: at 390 and 1440, Close is on the repair button's line and is the line's last
    control at its right end.
  • Browser scripts that picked a pane or find action straight from the phone's More now open the group first,
    through the shared openMoreGroup in scripts/header-more.ts: chat-request-details, conversation-search,
    deep-link, design-gate-qa, mirror-fold, mobile-tabs, phone-glass-header, phone-safe-area, tab-menu.

Validation

Head 50f5a1494: my six commits cherry-picked onto origin/main 70575cd47, with no conflicts. Every check below ran on
that head.

  • bun install --frozen-lockfile (no changes), then TMPDIR=$HOME/.cache/ovis-tmp/ui-proposals-34/tmp-phone bun run check fast: pass (workflow syntax, generated types and themes, typecheck, build, unit 14280 pass / 0 fail / 50 skip).

  • Browser scripts, one at a time on this PC (1-min load under 80 before each): push-health-demo-regression,
    revision-bound-update-demo-regression, phone-glass-header-demo-regression, phone-safe-area-demo-regression,
    conversation-search-demo-regression, chat-request-details-demo-regression, deep-link-demo-regression,
    mirror-fold-demo-regression, agent-entry-points-demo-regression, phone-split-grid-demo-regression: all pass.

  • scripts/ui-contexts-regression.ts (isolated test herdr): pass, every check including checkPushSettings, checkMobileTabs,
    checkTabMenu (desktop, phone and tablet) and checkUpdateNotice.

  • scripts/design-gate-qa.ts: 335 failures (terminal-view contrast, chat minimap ticks, header counts). The same 335 as
    on the pre-rebuild base a00098952, so it adds none; the unsent-text visit, which goes through Pane and tab…, passes. I
    did not run it again on plain main.

  • After screenshots re-taken on this head (same harness copy). Next to the earlier after shots, the only differences are
    chat timestamps and, from main, the desktop Agents rows that are no longer cut in G-031/G-032 at 1440.

  • Not run: ui-regression.ts, ui-contexts-layout-regression.ts, the CI runner image runs, the Windows and macOS checks.

  • CI runner image (herdr-ci-runner:local, fresh clone of 50f5a1494): the ten browser scripts above, 10/10 pass in 287 s.

Final round

  • Codex Terra (gpt-6.1-terra, xhigh, team proxy) on 50f5a1494: one MEDIUM, one LOW, fixed test-first in 22f970fef:
    • MEDIUM (G-103): a failed repair's full reason wrapped one letter per line on a narrow phone with large text and could grow the banner past the screen. In that failure state only, the reason now takes the line's width, Close stays top-right and the repair button sits under the reason; the banner is capped at half the screen. The normal banner stays one line with Close at its right end.
    • LOW (G-102): dismissing the update offer from the keyboard dropped focus to the page; it now moves to the header's More button.
  • Terra on 22f970fef: one LOW (the failure layout also moved the controls on a wide screen), fixed in 1faeebbbf: the grid applies to narrow screens only; push-health checks one row at 1440 and the grid at 320/390.
  • On 1faeebbbf: bun run check fast on old-desktop (fresh clone): REMOTE_EXIT=0, unit 14296 pass / 0 fail.
  • On 1faeebbbf, browser regressions on old-desktop (bun run check run --build, one at a time): push-health, revision-bound-update, phone-glass-header, phone-safe-area, conversation-search, chat-request-details, deep-link, mirror-fold, agent-entry-points, phone-split-grid and ui-contexts-regression: 11/11 pass.

The line offering a release gets the Close the update-done line already has. It stays closed
on this device for that release, keyed by its revision, and offers the next one again. A failed
or changed install keeps the line with no Close; Settings still offers the update.
…its end (G-103)

The notice takes the shared .update-notice.is-line layout: the sentence is cut with an ellipsis
(its full text in the tooltip and Settings -> Alerts) and Close stays at the right end of the
same row. Why a repair failed still wraps to be read in full, with the row unchanged.
…-143)

At sheet width More keeps the waiting session, the palette, Files, Copy link, Alerts and the
split tab's panes; Find in terminal and Search conversation fold into Find..., the pane's and
tab's other actions into Pane and tab..., each opening its own sheet from More's button. No
item is removed, a group of one is not folded, and the popover is unchanged. The More state
moves to src/lib/moreMenu.ts, lowering App's hook ceiling to 22. Browser scripts that picked
those items from More open the group first (scripts/header-more.ts openMoreGroup).
The agents screen's lead is one short line and its blocks sit a step closer on a phone; order
and Start's place are unchanged.
…hone (G-143)

Find… stayed open after a resize to a desktop width, since Find in terminal kept it non-empty,
while Search conversation left it. Only a phone folds More, so a wider screen has no group to
show: the open one is now empty there and closes (src/lib/moreMenu.ts openGroupItems).
…fer's Close keeps the focus (G-103, G-102)

Terra review on 50f5a1494. On a narrow phone with large text, a failed push repair's reason was
squeezed beside the unwrapped buttons into a column a letter wide, and the notice ran past the
screen. In that state the notice is now a grid: the reason takes the line's width with Close at
the top right, the repair button goes under it, and the notice keeps to half the screen,
scrolling inside itself. The one-line notice of every other state is unchanged.

Closing the update offer from the keyboard dropped the focus to the page; it now moves to the
header's More. push-health and revision-bound-update regressions cover both, failing before.
…ide screen (G-103)

Terra review on 22f970fef. The failure grid (repair button under the reason, Close above it) applied
at every width, so a desktop's controls moved too. It now applies at a phone's width alone (640px,
the sheets' breakpoint); a wider screen keeps the repair button and Close on the line's row and lets
only the sentence wrap. push-health-demo-regression checks 1440 on one row, failing before, beside
the 320 and 390 checks.
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b8cace0 and 1faeebb.

Files selected for processing: 30

  • changelog.d/phone-banners-more-groups.md
  • scripts/chat-request-details-demo-regression.ts
  • scripts/conversation-search-demo-regression.ts
  • scripts/deep-link-demo-regression.ts
  • scripts/design-gate-qa.ts
  • scripts/header-more.ts
  • scripts/mirror-fold-demo-regression.ts
  • scripts/mobile-tabs-regression.ts
  • scripts/phone-glass-header-demo-regression.ts
  • scripts/phone-safe-area-demo-regression.ts
  • scripts/push-health-demo-regression.ts
  • scripts/revision-bound-update-demo-regression.ts
  • scripts/tab-menu-regression.ts
  • src/App.tsx
  • src/app-hooks.test.ts
  • src/components/PushHealthNotice.css
  • src/components/PushHealthNotice.tsx
  • src/components/SetupGuide.css
  • src/components/SetupGuide.tsx
  • src/components/UpdateControls.test.tsx
  • src/components/UpdateControls.tsx
  • src/lib/i18n.ja.ts
  • src/lib/i18n.ko.ts
  • src/lib/i18n.zh.ts
  • src/lib/i18n/guide.ja.ts
  • src/lib/i18n/guide.ko.ts
  • src/lib/i18n/guide.zh.ts
  • src/lib/moreMenu.test.ts
  • src/lib/moreMenu.ts
  • src/lib/updateNotes.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@devswha
devswha merged commit b4da9f7 into main Nov 9, 2026
26 of 28 checks passed
@devswha
devswha deleted the feat/ui34-phone branch November 9, 2026 17:33
@devswha

devswha commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

Merge note (merge pass) at head 1faeebb:

  • Phone: closable update line, one-line push banner, grouped More, first-run bundle (owner-approved design, as is). The merge pass's Codex review (route: team proxy): no HIGH; one MEDIUM filed as Phone: push notice Dismiss off-screen at 320 px with large Japanese text #3498. A newtab-typeahead touch failure in ui-contexts couldn't be reproduced (passes alone twice on the branch and on main) and passed on rerun. omo review CLEAR; required checks green; unresolved threads 0.

devswha added a commit that referenced this pull request Nov 10, 2026
…anese text (#3531)

## What was wrong

On a 320 px phone in Japanese at the 20 px interface text size, the
alerts health notice (the one-line
banner from #3485) pushed its Dismiss button past the right edge of the
screen. The repair button's
label (`通知をもう一度オンにする`, 239 px wide at that size) never shrinks, so even
with the sentence
cut to nothing the row needed 341 px of a 320 px screen. Dismiss (44 px
wide) sat at x 297 to 341:
its right 21 px, including most of the X glyph, was off-screen.

Reproduced on `origin/main` (6fa11f4) in headless Chromium against the
demo build, phone emulation
at 320x568, `language: "ja"`, `uiFontSize: 20`, a retired push
subscription.

## The fix

CSS only, in `src/components/PushHealthNotice.css`, for the notice's
fault line (the failed-repair
layout is untouched):

- the sentence's flex basis is 0, so it gives up its width before
anything else does (it already
  ended at 0 px in this case);
- the action button may then shrink, and its label wraps inside it
(`white-space: normal`,
`text-wrap: balance`, `word-break: auto-phrase` as `AddPcSheet.css`
already does for Japanese),
the button growing in height (`height: auto`, with the same minimum
height as before).

Dismiss keeps its 44 px size and its place at the line's right end.
Wherever the label fits, nothing
shrinks: the line stays the one-line banner of #3485.

Design reference (src/AGENTS.md): this follows the notice's own
failed-repair state on a phone, where
the button's label already wraps (`.is-failure > .btn`), rather than
another app; no layout was
copied.

## Measurements (headless Chromium, phone emulation, x positions in CSS
px)

320 px, Japanese, 20 px interface text:

| | action button | Dismiss | notice height |
|---|---|---|---|
| before | 50 to 289 | 297 to 341 (viewport 320) | 53 |
| after | 50 to 260, label on two lines, 58 px tall | 268 to 312 |
taller by the label's second line (read off the screenshot, not
measured) |

Same result while the repair runs (`通知をオンにしています…`: Dismiss 292 to 336
before, 268 to 312
after).

Unchanged, identical before and after (action button and Dismiss boxes,
sentence width, notice
height), at rest and while repairing: en, ko, zh and ja at the default
size at 320 and 390; en, ko
and zh at 20 px at 320 and 390; ja at 20 px at 390. That is 30 of the 32
measured states; the two
that changed are the ones above.

## Regression

`scripts/push-health-demo-regression.ts` gains `checkLineAtLargeText`
(Japanese, 20 px): at 320 px
Dismiss is whole on the screen after the button, at the line's right
end, both controls are
finger-sized, the label stays inside its button, nothing scrolls
sideways, at rest and while
repairing, and a tap on Dismiss closes the line; at 390 px the button
keeps its one line.

Fixes #3498

## Validation

- `bun run check fast` (through the heavy queue, on the pushed commit):
pass. Workflow syntax,
generated types and themes, typecheck, build, unit tests 14386 pass / 0
fail / 50 skip.
- `bun scripts/push-health-demo-regression.ts` in the CI runner image
(`herdr-ci-runner:local`, a
throwaway container as the host user, Bun 1.4.2, the image's Chromium):
pass, all ten lines,
including the two new ones. It ran on the same file contents as the
pushed commit, before the
  commit was made.
- Before/after measurements above: a one-off headless script on this PC
(not in the tree), on
`origin/main` and on the fix. The final CSS differs from the measured
"after" run only by a
dropped `padding-block` on the button; the 320 px Japanese numbers above
are from the final CSS
  (the regression run's screenshot).
- Skipped: `bun run check integration browser` / `full`, every other
browser script, any desktop
(fine pointer) before/after measurement (the existing regression's 1440
cases pass), real
devices, Safari and Firefox. `text-wrap: balance` and `word-break:
auto-phrase` are refinements a
  browser without them ignores; the label still wraps.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.2 <[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