Skip to content

feat(site): link the phone app icons to the Beta page and point to the beta from the hero and nav - #1929

Merged
devswha merged 2 commits into
mainfrom
feat/site-beta-links
Oct 25, 2026
Merged

devswha merged 2 commits into
mainfrom
feat/site-beta-links

Conversation

@devswha

@devswha devswha commented Oct 25, 2026

Copy link
Copy Markdown
Owner

What

The iPhone and Android apps are in open beta, but ovis.sh still called them "coming soon". This PR points every phone-app spot on the site at the Beta page, in the visitor's language, and makes the beta easy to find.

  • App Store and Google Play icons (hero and the closing call to action): they were <span role="note"> notes reading "coming soon". Now they are links like the demo icon next to them: App Store → /beta/#iphone, Google Play → /beta/#android. The tooltip and label are "App Store · beta (TestFlight)" / "Google Play · beta", translated in #i18n-data. They look the same and keep their focus ring and tooltip.
  • The download button on a phone (assets/platform.js): "Get it on iPhone" / "Get it on Android" now links to the same sections instead of becoming a "Coming soon" note. The span-note branch is gone.
  • Beta page anchors: each of the four Beta pages (/beta/, /zh/beta/, /ja/beta/, /ko/beta/) has id="iphone" on its iPhone section and id="android" on its Android section.
  • Links in the visitor's language: the home page's language script used to point beta links at /ko/beta/ in Korean only, so a Chinese or Japanese visitor got the English Beta page, footer included. It now sends /beta/ and /beta/#… links to /zh/beta/, /ja/beta/ or /ko/beta/. Privacy and support still go to /ko/… in Korean and to English otherwise.
  • Easy to find (owner request):
    • One line under the hero's download buttons, in the existing .dl-note style: "iPhone and Android apps are in beta. [Join the beta]". It is a single line at 390 px and sits below the buttons, so the hero above them does not move.
    • The home page's top navigation gets Beta after FAQ, in all four languages. Like the other items, it is hidden below 640 px, where the hero line covers phones.
    • The Privacy, Support, 404 and Beta pages get Beta in their top navigation. On the Beta pages it is marked aria-current="page". The footer link stays.
  • Copy: the FAQ "When will the iPhone and Android apps be available?" now says "Both are in open beta: anyone can join the iPhone (TestFlight) and Android (Google Play) tests at ovis.sh/beta." The visible answer links to the Beta page, and the JSON-LD has the same text. The rest of the home page catches up: the hero footnote drops "the apps are in testing" (the new line covers it), the "iPhone & Android" card tag says Beta instead of Soon, and the closing line links "in beta".
  • scripts/ovis-site.test.ts: the beta section check now accepts an id on the section. A new check fails when the home page or platform.js links to a /beta/#id that any Beta page lacks. To confirm it bites, I removed id="android" from ko/beta, saw it fail, and restored it.
  • ovis-site/README.md and changelog.d/site-beta-links.md are updated.

Site only: no server/, src/ or shared/ changes.

Checked

  • bun test scripts/ovis-site.test.ts scripts/ovis-site-platform.test.ts: pass.
  • bun run check fast: pass (typecheck, build, unit tests).
  • Browser (headless Chrome against a local copy of ovis-site/, Mac UA at 1440 px and iPhone 14 at 390 px; Pixel 7 for Android):
    • In en, zh, ja and ko, at both widths, clicking the App Store icon, the Google Play icon and the hero line, plus the nav item at 1440, lands on that language's Beta page. The icons land on #iphone / #android, with that section shown and in view.
    • The tooltip shows on keyboard focus, translated.
    • On an iPhone and on an Android phone, the main button opens #iphone / #android of the visitor's Beta page.
  • Before/after screenshots at 390 and 1440 px for each language were shared with the owner on the tailnet.

…e beta from the hero and nav

The iPhone and Android apps are in open beta, but ovis.sh still called them
"coming soon". The App Store and Google Play icons, and the download button on
an iPhone or Android phone, now link to /beta/#iphone and /beta/#android, which
the language script points at /zh/beta/, /ja/beta/ or /ko/beta/. Each Beta page
gets those ids. A one-line note under the hero buttons, a Beta item in the top
navigation of every page, and the FAQ (and its JSON-LD) say the apps are in
open beta.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Deploying ovis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 29b9e7a
Status: ✅  Deploy successful!
Preview URL: https://152f4888.ovis.pages.dev
Branch Preview URL: https://feat-site-beta-links.ovis.pages.dev

View logs

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 72acea8 and 29b9e7a.

Files selected for processing: 14
  • changelog.d/site-beta-links.md
  • ovis-site/404.html
  • ovis-site/README.md
  • ovis-site/assets/platform.js
  • ovis-site/beta/index.html
  • ovis-site/index.html
  • ovis-site/ja/beta/index.html
  • ovis-site/ko/beta/index.html
  • ovis-site/ko/privacy/index.html
  • ovis-site/ko/support/index.html
  • ovis-site/privacy/index.html
  • ovis-site/support/index.html
  • ovis-site/zh/beta/index.html
  • scripts/ovis-site.test.ts

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

📝 Summary

Summary by CodeRabbit

  • New Features
    • Added Beta links to site navigation, including localized pages.
    • App Store and Google Play icons and mobile download buttons now direct visitors to the matching iPhone or Android section of the Beta page.
    • The home page and FAQ identify the phone apps as being in beta, with links to join.
    • Beta sections can be opened directly from matching home-page and download links.

The site now presents its iPhone and Android apps as being in beta and links to their Beta page sections. Beta navigation and section anchors are available across localized pages. The site also adds tests for the linked anchors.

Changes: Beta Page Links

Layer / File(s) Summary
Beta destinations and navigation
ovis-site/beta/index.html, ovis-site/ja/beta/index.html, ovis-site/ko/beta/index.html, ovis-site/zh/beta/index.html, ovis-site/404.html, ovis-site/privacy/index.html, ovis-site/support/index.html, ovis-site/ko/privacy/index.html, ovis-site/ko/support/index.html
Beta pages add iphone and android section IDs and current-page navigation links. The 404, privacy, and support pages add Beta navigation links.
Home-page and phone beta links
ovis-site/index.html, ovis-site/assets/platform.js, scripts/ovis-site.test.ts, ovis-site/README.md, changelog.d/site-beta-links.md
The home page and phone buttons link to the Beta page, and the home-page copy describes the apps as in beta. Routing handles localized Beta URLs. Tests check referenced section IDs, and documentation describes the links and anchors.

Priority: Normal

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Merge Risk: Minimal · up to 29b9e

The beta-link change is ready to merge with no established user-facing or operational risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the main change: linking phone app icons to the Beta page and adding Beta links to the hero and navigation.
Description check Passed The description provides detailed change information and validation results through equivalent sections titled "What" and "Checked". It is complete enough for review, although it does not include an i…
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 2…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description provides detailed change information and validation results through equivalent sections titled "What" and "Checked". It is complete enough for review, although it does not include an issue link for the feature.

Full details: Docstring Coverage

Explanation

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 2 files. (12 skipped: 12 unsupported.)

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • 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

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

@devswha

devswha commented Oct 25, 2026

Copy link
Copy Markdown
Owner Author

Merge pass: code review PASS. The PR is queued and merges once its checks are green; it changes only the site, so it does not wait for the release run.

One MEDIUM finding for a follow-up, test only: the new check in scripts/ovis-site.test.ts:137-143 checks ids only for /beta/#… links that already exist. If the links go away, it has nothing to check and passes; with the pre-PR index.html and platform.js, all 25 tests still pass. Asserting that both download rows have a.dl-icon[href="/beta/#iphone"] and a.dl-icon[href="/beta/#android"], and that the iPhone and Android entries in platform.js link to /beta/#…, would lock it in. If you push that here before the merge, the merge pass rechecks only that commit.

…page sections

The id check passed with no /beta/#... links at all. Both download rows of the
home page must now have the App Store and Google Play icons linking to
/beta/#iphone and /beta/#android, and the iPhone and Android buttons in
assets/platform.js must link there too. With the files from before this PR,
the test fails on all six.
@devswha

devswha commented Oct 25, 2026

Copy link
Copy Markdown
Owner Author

Pushed cd66d2d (test only) for the MEDIUM finding. A new test in scripts/ovis-site.test.ts requires both download rows of index.html to have <a class="dl-icon" href="/beta/#iphone"> and <a class="dl-icon" href="/beta/#android">, and BUTTONS.ios / BUTTONS.android in assets/platform.js to have href: "/beta/#iphone" / href: "/beta/#android". With the pre-PR index.html and platform.js it fails on all six; on this branch the site tests pass 26/26. bun run check fast passed on cd66d2d.

@devswha

devswha commented Oct 25, 2026

Copy link
Copy Markdown
Owner Author

Merge pass review-work report. Overall: PASSED. The PR changes only the site (ovis-site/ plus its test), and none of server/, shared/, bun.lock or patches/. It was gated by omo-native-code-reviewer plus the merge pass's checks.

Lane Verdict
Code review (omo-native-code-reviewer) PASS: 1 MEDIUM (a test gap), 3 LOW

Verified in headless Chrome:

  • In the hero and CTA, the App Store and Google Play icons link to /beta/#iphone and /beta/#android.
  • The phone download button in platform.js links to the same sections.
  • In zh, ja and ko, the language script rewrites Beta links to that language's page and keeps the hash. Privacy and support go to /ko/ only in Korean.
  • Switching language repeatedly gives the same result each time.
  • #iphone and #android exist on all four Beta pages.
  • The hero line fits on one line at 390 px in all four languages, and the hero itself doesn't move.
  • The nav Beta item is hidden below 640 px.
  • 25 site tests pass.
  • git merge-tree is clean, and no other open PR shares a file.

Follow-ups:

  • LOW: on a phone, the button's accessible name doesn't contain its visible text. This was already the case before this PR.
  • LOW: the tooltip says App Store while the link goes to TestFlight.
  • LOW: without JS, the Beta page's anchors point at hidden sections.

cd66d2d (test only): fixes the MEDIUM. A new test requires both download rows to have a.dl-icon links to /beta/#iphone and /beta/#android, and platform.js's iOS and Android buttons to link there too. It passes on the PR (22 pass). With the pre-PR index.html and platform.js put back, it fails (21 pass, 1 fail).

CodeRabbit did not review this PR (rate-limited or skipped). The reviews above stand in for it.

@devswha
devswha merged commit 1621f61 into main Oct 25, 2026
11 checks passed
@devswha
devswha deleted the feat/site-beta-links branch October 25, 2026 04:44
@devswha devswha mentioned this pull request Oct 25, 2026
devswha added a commit that referenced this pull request Oct 25, 2026
This is release 0.4.16, step 1 of
[Releasing](docs/development.md#releasing). **It does not merge until
the maintainer confirms the release.** The merge pass prepares it so it
can go out right after the confirmation.

## What changes
- `version` goes from 0.4.15 to 0.4.16 in `package.json` and
`herdr-plugin.toml`.
- `bun scripts/changelog-fold.ts 0.4.16` moves 2 fragments under `##
[0.4.16] - 2026-10-25`:
- #1931, the hotfix: a fresh 0.4.14/0.4.15 install kept its sign-in gate
and paired devices across an update.
  - #1929, the ovis.sh beta links.

  Neither PR is from an outside contributor.
- `release-summaries.json` gets a 0.4.16 entry in en, ko, ja and zh,
with `fixed` only: the gate and pairing fix, and the update staying on
the new version. The site change isn't in the app's notes.
- `REMOTE_BUNDLE_VERSION` goes from 34 to 35 in `shared/machines.ts`, as
`scripts/release-guards.ts` requires. Since `remote-v34`, #1931 changed
`server/devices.ts`, `index.ts`, `private-state.ts`, `push.ts`,
`state-merge.ts`, `supervisor.ts` and `update-state.ts`.
- The telemetry Worker is unchanged.

## Checks
- `bun scripts/release-guards.ts --base origin/main` reports: "Release
0.4.16: remote bundle, telemetry Worker and release metadata are in
order."
- The release notes, guards, changelog fold, conventions, updater and
updateNotes tests pass (136), and the typecheck passes.
- `bun run check fast` passes; see the comment below.

## After the maintainer confirms (merge pass)
1. Merge this PR.
2. Push `remote-v35` on the merged commit, then wait for **Remote PC
bundles**.
3. Once main's CI is green, run `gh workflow run release.yml --ref main
-f version=0.4.16`.

Co-authored-by: devswha <[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