Repository navigation
fix(mobile): no status-bar gap under the composer, and notification taps open their pane - #186
Conversation
…aps open their pane In an iPhone home screen app the visual viewport reads shorter than the screen without a keyboard, so --app-height now follows it only while the keyboard is up. The service worker names the pane before and after focus() and opens it in a new window when focus is refused. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (10)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe shell uses ChangesKeyboard-aware viewport sizing
Notification pane selection
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The changes address keyboard-aware shell sizing and notification pane selection without an established merge-blocking issue. Real-iPhone confirmation remains useful follow-up validation. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change preserves the existing machine-and-pane selection format and login gate. No new authorization bypass was established. Remaining uncertainty concerns asynchronous selection ordering and server-side ownership enforcement. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 3 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
…lur, #164) (#199) Refs #164. Fresh iPhone home-screen installs drawing below the status bar avoid the portrait header blur seen with `black-translucent`. Remove that metadata and retain the existing shell, sticky header, viewport code and safe-area padding. Existing installs can retain their original status-bar layout. The testing guide distinguishes the contributor's fresh physical-iPhone iOS 27.0.0 dark/light report, the independently tested explicit-default Simulator control, and this exact absent-meta candidate. It keeps the user install intact and describes draft/queue/settings, pairing and notification boundaries without promising automatic migration or advising unconditional removal. ## Validation - Preserves contributor `67f5eba8` and integrates main `66328ef`; only runtime behavior change is omission of the status-bar metadata. Other HTML tags and all CSS declarations are unchanged. - Generated types, typecheck, build and diff checks pass with Bun 1.4.2. Forty existing data-boundary tests pass; these do not prove iOS removal/re-add retention. - Independent code/documentation review accepts `8fff966`; the following documentation-only clarification identifies fresh installs, the baseline application build, and required combined #199/#186 acceptance. - Final published-head [CI](https://github.com/devswha/herdr-web-ui/actions/runs/36708265450) passes both Fast checks and Integration and browser with pinned herdr 0.9.3. - Xcode 27.0 (27A266a), iPhone 17 Pro Simulator iOS 27.0 (24A434): the exact absent-meta build from `8fff966` passes fresh home-screen installation and portrait/landscape/portrait testing, with a sharp header and clock. The last commit `ce0f2bf` changes documentation only. Metadata is null, standalone is true, top safe area is 0 and header height is 52 CSS px in this environment. - Combined build `33cfc7b` includes #186's viewport implementation and this metadata omission; its fresh installed-app launch and composer-focus test passes. Essential visible-software-keyboard validation is still pending. The explicit-default control's earlier rotation, background/reopen and drawer checks remain separate evidence. Keep draft pending combined #186 header/composer/software-keyboard acceptance. iOS 26.5 compatibility and owned-install update/data-lifecycle results remain unverified and documented; no automatic migration is claimed. A desktop browser or a Safari tab does not establish that native blur is fixed. No settings, runtime, license, user installation or website-data reset is part of this change. --------- Co-authored-by: Yoonwoo-Ha <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: e2e <[email protected]> Co-authored-by: Hako <[email protected]>
…out focusout A composer removed with its pane can take focus away without a focusout event, which left data-keyboard set and the shell sized to the visual viewport after the keyboard closed, bringing back the status-bar gap. A visual viewport resize now re-reads focus as well as the height. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ap-and-notification-tap Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Accepted. The combined iOS 27 home-screen check (main + this PR + #199) passed with the software keyboard visible; details are in #199. Maintainer follow-up 7db17d6: when a focused field is removed without a focusout event, the next visual-viewport resize now re-reads focus, so |
## Change Installed apps are on v0.3.34. This PR prepares v0.3.35: the app and plugin versions go up together, and the Unreleased notes move under the dated release heading. The two #186 entries are reworded to describe what changed for the user, in the same style as the rest of the list. This release includes: - **Remote runtime v8:** bundles herdr 0.9.3. Each connected PC's bridge asks for **Update bridge…** once (#191). - **iPhone home-screen app:** - The header is no longer blurred on iOS 27 (#199, #164). An existing install has to be removed from the Home Screen and added again. - No band under the composer (#186). - Tapping an alert opens its pane (#186). - **Claude menus:** unnumbered menus such as the folder-trust check are answerable from the chat. The server confirms only while the cursor is on the answered row (#200). - **Two bridges on one herdr:** when another bridge has a pane open, this one waits for it instead of ending the pane (#197). - **Pane status:** a Codex pane no longer reads RUN forever (#193), and a refresh no longer overwrites a newer status (#196). - **Smaller changes:** Copilot Free is no longer listed for every `gh` user, and there is a Korean README (#194). ## Validation - `bun scripts/release-notes.ts 0.3.35` passes. - Fast checks and Integration and browser must pass before the squash merge. After the merge, publish with `gh workflow run release.yml --ref main -f version=0.3.35`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…ha#197 devswha#200 merged) + open devswha#187 devswha#188 devswha#205 devswha#206 devswha#207 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…es no band under the composer (#349) On an iPhone home screen app, a band as tall as the status bar (~59pt) still showed under the composer, even though #186 removed it for the idle case. **Why.** `viewport.ts` publishes the visual height as `--app-height` whenever a text field on a touch screen has focus, on the assumption that its keyboard is up. iOS keeps the field focused with the keyboard down in two cases: - coming back from a dictation keyboard's own app (e.g. Typeless records in its app, then returns); - after the keyboard's own close key. In standalone mode the idle visual viewport is the screen minus the status bar. So the shell shrank to that height and left the band. **Fix.** The keyboard also has to take room: the visual viewport must be more than 150px shorter than the screen (orientation-aware), which a status bar and a toolbar never are. A focused field with the keyboard down now gets the full `100dvh` shell. Hardware keyboards on touch devices also stop shrinking the shell. **Test.** `scripts/mobile-viewport-regression.ts` now focuses the composer with the idle 780px visual viewport and expects no keyboard sizing. It then checks that the keyboard opening (500) and closing (795) while focus stays are followed. - On main the new step fails: `observed {"keyboard":true,"appHeight":"780px","pixels":780}`. - With the fix the whole viewport contract passes. - `bun run typecheck` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Hako <[email protected]>
An installed iPhone app can report an idle visual viewport shorter than its layout viewport. Publishing that height for the whole shell leaves a band below the composer. Use the dynamic viewport while idle and follow the visual viewport while an eligible touch-device text field is focused. Direct xterm typing and pointer changes update that state even when focus stays on the same field.
Notification taps now select their PC and pane before and after focus, fall back to opening the pane URL on focus failure, and preserve the newest intent across delayed focus/opening. An early App-module listener retains messages that arrive before React subscribes, including a cold start with a newer tap.
Validation
66328ef, preserving the fix(status): a Codex pane finishes instead of reading RUN for good #193 completion and fix(machines): preserve newer statuses during snapshot refresh #196 snapshot guards and the contributor branch history.8bf88fc: 563 unit tests, generated types, typecheck, build, and diff checks pass with Bun 1.4.2. Focused actual-App notification startup and controlled viewport/focus browser probes pass.Native acceptance gate
The owned combined build
33cfc7bpreserves this implementation and #199's absent metadata. Its fresh home-screen installation, icon launch and composer-focus test passes on iOS 27.0 (24A434), with a sharp header andnavigator.standalone === true. Keep this candidate draft until essential software-keyboard validation is complete. Software keyboard keys are currently offscreen; accessory-only focus and Done/reopen tests do not count as visible software-keyboard or retained-focus dismissal coverage. Existing-install data continuity and Safari 26 viewport compatibility remain unverified and documented separately. No user install or website data has been removed.