Skip to content

Start the iPhone home-screen app below an opaque status bar (header blur, #164) - #199

Merged
devswha merged 4 commits into
devswha:mainfrom
Yoonwoo-Ha:fix/ios-status-bar-default
Sep 30, 2026
Merged

devswha merged 4 commits into
devswha:mainfrom
Yoonwoo-Ha:fix/ios-status-bar-default

Conversation

@Yoonwoo-Ha

@Yoonwoo-Ha Yoonwoo-Ha commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

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 Start the iPhone home-screen app below an opaque status bar (header blur, #164) #199/fix(mobile): no status-bar gap under the composer, and notification taps open their pane #186 acceptance.
  • Final published-head CI 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 fix(mobile): no status-bar gap under the composer, and notification taps open their pane #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.

…ha#164)

`apple-mobile-web-app-status-bar-style: black-translucent` has the page
run under the iOS status bar. Since iOS 26 the home-screen app lays its
Liquid Glass edge blur over the top ~110 px of such a page, and the
sticky header from devswha#106 only fixes the color there: the header's text
and icons stay blurred (devswha#164, measured on iOS 27.0 by the reporter;
devswha#178's fixed shell measures the same).

Without the meta (the default style) the web view starts below an
opaque status bar, which theme-color already tints per theme, and
nothing is blurred. Checked on an iPhone with iOS 27.0.0 against the
same server, in the dark and the light theme: added with
black-translucent, the header is blurred; added with the default
style, it is sharp. env(safe-area-inset-top) is then 0, so the header
padding collapses on its own; viewport-fit=cover stays for landscape
and the home indicator.

The sticky header stays: in an app added before this change it still
gives the status bar the header's color. iOS reads the meta when the
app is added, so the blur goes once the app is added again.

This reverses the second half of devswha#106. Its first version dropped the
meta the same way, but was reverted after a screenshot that came from
an app still installed with the old meta.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

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 configuration

Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 4a3c9772-8072-4492-bee3-1a58c17886aa

📥 Commits

Reviewing files that changed from the base of the PR and between 67f5eba and 79ccbb0.

📒 Files selected for processing (4)
  • CHANGELOG.md
  • docs/ios-home-screen-testing.md
  • index.html
  • src/styles.css
 _____________________________________________________________________________________________________________
< Hello, it's me. I was wondering if after all these reviews you'd like to meet...to celebrate bug-free code. >
 -------------------------------------------------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 2f03e582-b701-40f2-b4ba-a21a4389004d

📥 Commits

Reviewing files that changed from the base of the PR and between 9d361e3 and 67f5eba.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • index.html
  • src/styles.css

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.


📝 Summary

Summary by CodeRabbit

  • Bug Fixes
    • Fixed the layout of the Home Screen app on iPhone running iOS 26 or later, so it starts below the status bar. The status bar now uses the app’s theme color in both light and dark themes.
    • To apply the fix, remove the app from your Home Screen and add it again.

Walkthrough

The page removes the black-translucent status-bar setting. The changelog and header comment describe iOS 26+ Home Screen behavior, including the need to remove and re-add the app.

Changes

iOS Home Screen status bar behavior

Layer / File(s) Summary
Status-bar setting and supporting notes
index.html, src/styles.css, CHANGELOG.md
The page removes the black-translucent status-bar setting. The header comment and changelog describe iOS 26+ behavior and state that users must remove and re-add the app for iOS to read the setting.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Suggested reviewers: devswha

Merge Risk: ⚪ Minimal · up to 67f5e

The change targets the iPhone Home Screen status-bar presentation, with reported testing on iOS 27. iOS 26 behavior remains unconfirmed, but no concrete failure is established.

Architecture Summary

Architecture risk: 🔵 Low · up to 67f5e

The change affects 3 systems.

Changed systems: CHANGELOG.md, index.html, src

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — CHANGELOG.md (service) was modified; 1 changed file maps to changed impact.
  • observed — index.html (service) was modified; 1 changed file maps to changed impact.
  • observed — src (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in CHANGELOG.md: Added an Unreleased fix note describing the iOS 26+ home-screen app layout and status-bar color change, and stating that users must remove and re-add the app for iOS to read the setting.
  • observed — Modified behavior in index.html: Removed the apple-mobile-web-app-status-bar-style meta tag with value black-translucent and added a comment describing the iOS Home Screen app’s default status-bar behavior.
  • observed — Modified behavior in src/styles.css: Revised the .app-header comment: it now identifies apps added before the status bar became opaque as the case where iOS 26+ uses the header color for the status bar, and says the text blur remains until the app is added again. The removed comment instead described the blur reaching into the bar unless a fixed or sticky background box covered the edge, and stated that CSS, meta switches, and an opaque status bar do not disable it.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The direct target is #164. The PR removes black-translucent from index.html, so a Home Screen app uses an opaque, theme-color-tinted status bar and the web view starts below it. This directly remo…
Out of Scope Changes check ✅ Passed All changed files support #164. The changelog records the fix and its installation lifecycle requirement. The HTML and CSS comments document the iOS behavior and compatibility with apps added before t…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Title check ✅ Passed The title clearly identifies the primary change: starting the iPhone home-screen app below an opaque status bar to address header blur.
Description check ✅ Passed The description explains the problem, resulting behavior, implementation scope, validation results, known limitations, and pending acceptance work. It omits the template's explicit “## Change” heading…
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@devswha

devswha commented Sep 30, 2026

Copy link
Copy Markdown
Owner

Ran the pending combined acceptance on an iOS 27 Simulator with the software keyboard actually visible.

Setup: Xcode 27.0 (27A266a), iPhone 17 Pro Simulator, iOS 27.0 (24A434). I built main da484de with #186 (8bf88fc) and this PR (ce0f2bf) merged in, served it against a test herdr session, and did a fresh Add to Home Screen install with Open as Web App on.

Getting the keyboard to show: in Xcode 27, DeviceHub simulates a hardware keyboard by default, so only the accessory bar appeared. Turning off Always simulate hardware keyboard (defaults write com.apple.dt.Devices alwaysSimulateHardwareKeyboard -bool false) and rebooting the device made the full keyboard appear.

Results (dark theme, portrait):

  • Idle: the app starts below the status bar, and the header text and clock are sharp. The composer and key bar sit on the bottom edge with no band below them.
  • Composer focus, software keyboard open: the composer and key bar move up directly above the keyboard's floating accessory bar. The only strip between them is the page background, about 10 pt, which is the accessory bar's own margin. The header stays sharp.
  • Typing, then Done: the layout returns to full height with no gap, and the draft text is kept.
  • Keyboard via the key bar (xterm direct typing): the key bar sits above the keyboard and the header stays sharp.
  • Drawer and relaunch: opening and closing the drawer and relaunching from the Home Screen work, with the header sharp and the draft kept.

Not covered here: light theme, rotation, and existing-install data lifecycle.

I also pushed a small follow-up. The testing guide now records this run, and the CHANGELOG tells people with an existing install that they need to remove the app from the Home Screen and add it again, because iOS reads the status-bar setting only when the app is added.

@devswha
devswha marked this pull request as ready for review September 30, 2026 12:21
@devswha
devswha merged commit cab6aae into devswha:main Sep 30, 2026
3 checks passed
devswha added a commit that referenced this pull request Sep 30, 2026
…aps open their pane (#186)

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

- Integrated main `66328ef`, preserving the #193 completion and #196
snapshot guards and the contributor branch history.
- At `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.
- The earlier integrated frontend passed all 28 browser groups. After
the latest main integration its frontend is byte-equivalent except the
embedded revision and generated bundle filename. Final-head
[CI](https://github.com/devswha/herdr-web-ui/actions/runs/36708225138)
passes both Fast checks and Integration and browser, rebuilding and
running the full suite with pinned herdr 0.9.3.
- Independent notification review accepts the ordering, cold-start queue
and App lifecycle. Browser probes use real worker-to-App messages with
controlled window creation/focus; they do not establish native
notification activation.
- Fresh owned iOS 27.0 (24A434) Simulator installs of the default and
black-translucent variants passed idle/rotation tests. Their measured
frontend is equivalent to the current candidate.

## Native acceptance gate

The owned combined build `33cfc7b` preserves 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
and `navigator.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.

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: e2e <[email protected]>
Co-authored-by: Hako <[email protected]>
devswha added a commit that referenced this pull request Sep 30, 2026
## 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]>
devswha added a commit that referenced this pull request Oct 1, 2026
Release v0.3.39: moves the Unreleased notes under 0.3.39 and bumps
`package.json` and `herdr-plugin.toml`.

In this release, all fixes: a password sent right after a reconnect
(#244), typing and keys outliving their connection (#235), panning a
terminal whose grid is not the browser's own on a phone (#241), omo's
question form in the chat (#237 by @nahwan-kim), and a held pane resumed
by a late herdr answer plus a new shell taken for OmO (#243). No remote
bundle change: `REMOTE_BUNDLE_VERSION` stays 9.

Changelog housekeeping that was waiting for a release:
- Compare links at the bottom now cover 0.3.31 to 0.3.39 (they stopped
at 0.3.30), and `[Unreleased]` compares from v0.3.39.
- Five references that were a bare `#N` are full PR links with their
author: #164 is the issue PR #199 fixed, #154 the issue PR #155 closed,
and #45 and #6 are PRs. No other wording of released entries changed.

`bun scripts/release-notes.ts 0.3.39` prints the notes and exits 0.
innocentiv pushed a commit to innocentiv/cedo that referenced this pull request Nov 4, 2026
…61)

The opaque bar over the edge did not stop iOS 26 blurring the top of
the page: the blur sits on the first ~25pt below the clock, over the
title and whatever scrolls there. With `black-translucent` gone, iOS
draws an opaque status bar tinted by `theme-color` and starts the page
below it — reported sharp on a physical iPhone where the translucent
style blurred (devswha/ovis#199). The fixed bar goes. iOS reads the
style when the app is added, so an install takes it once re-added; the
standalone height fix stays for installs that keep the old style, and
is inert where the top inset is 0.

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.

2 participants