Skip to content

fix(site): send the addresses people guess for the docs on ovis.sh to the docs - #1719

Merged
devswha merged 1 commit into
mainfrom
fix/ovis-site-doc-paths
Oct 23, 2026
Merged

devswha merged 1 commit into
mainfrom
fix/ovis-site-doc-paths

Conversation

@devswha

@devswha devswha commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Change

Every link on ovis.sh resolves (checked all 93 on the live pages), but the addresses people type or guess for the docs ended on the 404 page: /docs, /docs/, /guide, /install, /changelog, /faq, /ja/ and /zh/.

ovis-site/_redirects now hands them on with 302s:

Path Goes to
/docs, /docs/*, /guide, /guide/* docs/guide.md on GitHub
/install README.md#install (the /install.sh and /install.ps1 rules stay as they are)
/changelog CHANGELOG.md
/faq /#faq
/ja, /ja/*, /zh, /zh/* /?lang=ja, /?lang=zh, as /ko/ does for Korean

A new scripts/ovis-site.test.ts check keeps each rule's target real: a repository target names a file on main, and a /#section target names an id on the home page.

Validation

  • bun run check fast: pass.
  • bun test scripts/ovis-site.test.ts: 18 pass; pointing a rule at docs/nope.md or /#nofaq makes the new check fail with both named.
  • To confirm on the Cloudflare preview of this PR: /docs, /faq and /ja/ answer 302 to the targets above.

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying ovis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2bce35b
Status: ✅  Deploy successful!
Preview URL: https://a5eaf460.ovis.pages.dev
Branch Preview URL: https://fix-ovis-site-doc-paths.ovis.pages.dev

View logs

@coderabbitai

coderabbitai Bot commented Oct 23, 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 42 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 464fda5 and 2bce35b.

📒 Files selected for processing: 4
  • changelog.d/ovis-sh-doc-paths.md
  • ovis-site/README.md
  • ovis-site/_redirects
  • scripts/ovis-site.test.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

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

@devswha

devswha commented Oct 23, 2026

Copy link
Copy Markdown
Owner Author

Checked on the Cloudflare preview (fix-ovis-site-doc-paths.ovis.pages.dev):

/docs, /docs/, /docs/remote-pcs.md, /guide, /guide/ -> 302 docs/guide.md
/install    -> 302 README.md#install   (/install.sh still -> 302 herdrweb.dev/install.sh)
/changelog  -> 302 CHANGELOG.md
/faq        -> 302 /#faq
/ja, /ja/   -> 302 /?lang=ja
/zh/        -> 302 /?lang=zh
/ko/ 200 and /demo/ 302 herdrweb.dev/demo/ unchanged

@devswha

devswha commented Oct 23, 2026

Copy link
Copy Markdown
Owner Author

Merging without a CodeRabbit review: CodeRabbit hit its review limit, so no review ran. The merge pass reviewed it instead. A gate reviewer on a different model than the author's ran bun test scripts/ovis-site.test.ts (18 pass) and confirmed the new target check fails on a broken target. It found the /install.sh, /install.ps1 and /ko/ rules intact, and the routing works on the PR's Cloudflare preview. All required checks are green and no review thread is open.

@devswha
devswha merged commit f571153 into main Oct 23, 2026
10 checks passed
@devswha
devswha deleted the fix/ovis-site-doc-paths branch October 23, 2026 07:58
devswha added a commit that referenced this pull request Oct 23, 2026
…give the day-look sheep navy wool (#1742)

## Change

Two ovis.sh changes, together because both touch `ovis-site/index.html`.

### The download button follows the visitor's platform

`ovis-site/assets/platform.js` (new, no dependencies) finds the platform
from `navigator.userAgentData.platform`, falling back to the userAgent.
It then rewrites both download buttons (the hero and the closing call to
action):

| Platform | Label | Icon | What it does |
| --- | --- | --- | --- |
| macOS | Download for Mac | Apple | unchanged: Coming soon (no Mac
build yet) |
| Windows | Download for Windows | Windows | copies `irm
https://ovis.sh/install.ps1 \| iex` |
| Linux | Download for Linux | Tux | copies `curl -fsSL
https://ovis.sh/install.sh \| sh` |
| Android | Get it on Android | Android | Coming soon (Google Play app
in testing) |
| iPhone / iPad | Get it on iPhone | Apple | Coming soon (App Store app
in testing) |
| unknown (e.g. ChromeOS), no JavaScript | Download for Mac | Apple |
the shipped button, unchanged |

No platform has a download file or a published store listing yet.
Windows and Linux get their install command, and the phones say Coming
soon, so no button links somewhere wrong. An iPad asking for the desktop
site (Mac UA with touch) counts as iPhone/iPad.

- The script is a classic script placed before the page's copy and
language scripts. Those then pick up the new button and its English
label, so a copy shows Copied, and switching the language later
translates the platform label.
- New labels and the Windows aria-label are in `#i18n-data` for zh, ja
and ko.
- `[data-copy]` default tips are now set on every copy button, not only
the first.
- The marks are monochrome Simple Icons paths (CC0-1.0), drawn in
`currentColor` like the Apple mark.
- `scripts/ovis-site-platform.test.ts` covers the detection: the
userAgentData hint first, the UA fallback, iPad, and unknown. It is a
new file because `scripts/ovis-site.test.ts` is in #1719.

### Navy wool on the day-look sheep

In the day look the sheep's cream wool (`#FCF0DE`) blended into its face
and the cream page (1.06:1 against the page). The wool in
`assets/logo-light.png` (header, footer, privacy/support/404 pages) and
`assets/sheep-480.png` (the mascot) is now navy `#2E3A59`, the site's
`--navy-800`: 10.55:1 against the page and 8.29:1 against the face.

- Only wool pixels connected to the outline moved, and the drawing's
light and dark wool shading moves with it. No face, ear, eye or text
pixel more than 3 px from the wool changed.
- The night look (`*-night.png`, `logo-dark.png`) and the app icon are
unchanged.
- The mascot's alt text now says navy.
- The logo no longer matches `app/web/ovis-logo.png`, which keeps the
cream wool. The note in `ovis-site/README.md` that the logo is the app's
is left alone here because #1719 owns that file.

## Screenshots

Spoofed userAgent and `navigator.userAgentData` in Playwright Chromium,
light theme. Phones are at 390 px with mobile emulation.

**Desktop: macOS, Windows, Linux, unknown, JavaScript off**

![desktop](https://gist.githubusercontent.com/devswha/1fb4d614ca30d74b42f8160577cf70f8/raw/8ff59ba7858c8621f865a7ddb57874f5e81cf458/desktop.png)

**Phones: Android, iPhone**

![phones](https://gist.githubusercontent.com/devswha/1fb4d614ca30d74b42f8160577cf70f8/raw/8ff59ba7858c8621f865a7ddb57874f5e81cf458/phones.png)

**Languages (ko, ja, zh)**

![languages](https://gist.githubusercontent.com/devswha/1fb4d614ca30d74b42f8160577cf70f8/raw/8ff59ba7858c8621f865a7ddb57874f5e81cf458/languages.png)

**After a click on the Windows and Linux buttons** (the clipboard held
the command in each case)

![copied](https://gist.githubusercontent.com/devswha/1fb4d614ca30d74b42f8160577cf70f8/raw/8ff59ba7858c8621f865a7ddb57874f5e81cf458/copied.png)

**Navy wool: before, after, night unchanged**
![wool
hero](https://gist.githubusercontent.com/devswha/1fb4d614ca30d74b42f8160577cf70f8/raw/8ff59ba7858c8621f865a7ddb57874f5e81cf458/wool-hero.png)
![wool
logo](https://gist.githubusercontent.com/devswha/1fb4d614ca30d74b42f8160577cf70f8/raw/8ff59ba7858c8621f865a7ddb57874f5e81cf458/wool-logo.png)

## Validation

- `bun run check fast`: pass.
- `bun test scripts/ovis-site-platform.test.ts scripts/ovis-site.test.ts
scripts/changelog-fold.test.ts`: 33 pass.
- Browser runs: both buttons are swapped in each case, with no page
errors. The clipboard read back the exact install command for Windows
and Linux.
- Gate review (code-review agent): no implementation blockers. Its only
finding was that the PR was not open yet.
- Preview: Cloudflare Pages builds this branch at
`https://feat-download-platform-icon.ovis.pages.dev/`.
devswha added a commit that referenced this pull request Oct 23, 2026
)

Everything for the iOS app's first App Store submission that does not
need the owner's Apple login. Nothing is uploaded or submitted, no app
record is created, and no key is made.

## App changes (small)
- **`app/ios/App/App/PrivacyInfo.xcprivacy`** (new, added to the App
target's resources in `project.pbxproj`):
- no tracking, no tracking domains; the three usage-count data types
(linked, Analytics) as in section 5;
- the one required-reason API the app's own code uses is UserDefaults
(`PCStore`), reason `CA92.1`;
  - Capacitor ships its own manifest for its own use.
- **`Info.plist`**: `UIRequiredDeviceCapabilities` changes from `armv7`
to `arm64`. The binary is arm64-only, and armv7 is the Capacitor
template's leftover.

## `app/store/ios.md` (new)
1. What the project sets:
- bundle ID `sh.ovis.app`, version 1.0, build 1 (raise it for every
upload);
   - iPhone and iPad, iOS 15+, automatic signing with no team yet;
   - the camera text, export compliance, and the privacy manifest.
2. The owner's clicks: register the App ID, create the App Store Connect
app record, and (optionally) an App Store Connect API key, which is only
needed for command-line uploads.
3. Archive and upload from Xcode, then TestFlight.
4. Listing: name, subtitle, promotional text, description, keywords,
URLs, category (Developer Tools), price, and the screenshot table.
5. App Privacy: "Yes". Product Interaction, Device ID and Coarse
Location are declared for Analytics, linked, not tracking. They come
from the PC's anonymous usage counts, which carry the app's settings to
the developer; the privacy manifest lists the same three.
6. Age rating: unrestricted web access is **Yes**, because the connect
screen opens any http(s) address in the app, so Apple rates the app
**16+**.
7. App Review notes (use the bundled demo; no account) and a release
checklist.

## Screenshots (`app/store/ios/`)
- Three iPhone 6.9" shots, 1320x2868 (iPhone 18 Pro Max simulator).
- Two iPad 13" shots, 2064x2752 (iPad Pro 13-inch (M5) simulator).
- Content: the connect screen and the bundled demo, English, status bar
9:41, RGB without alpha.

## Verification (eamac, fresh clone in /tmp)
- Release simulator build: BUILD SUCCEEDED, `PrivacyInfo.xcprivacy` is
inside `App.app`.
- Unsigned device archive (`xcodebuild archive -sdk iphoneos
CODE_SIGNING_ALLOWED=NO`): ARCHIVE SUCCEEDED. The archive is arm64-only,
requires the arm64 capability, includes the manifest, and reports 1.0
(1), `sh.ovis.app`.
- `bun run check fast`: pass.
- Gate review: round 1 rejected the age-rating answer (it said
"unrestricted web access: No" and predicted 4+). It is now Yes and 16+,
and the re-review approved.

## No overlap
Nothing here is in #1697, #1695, #1719 or #1736. The Android closed test
is #1736. The fix for a white screen on iOS while the first page loads
(dark web view background) went into #1697, because it touches
`app/capacitor.config.json`.
devswha added a commit that referenced this pull request Oct 23, 2026
The owner's Play developer account is a personal one made after November
2023, so Google lets the app into production only after a **closed test
with at least 12 testers opted in for 14 days in a row**. This PR
prepares that first closed-test release. Nothing is uploaded, no app is
created, and no key or secret is made or stored.

## What is here
- **`app/store/android.md`**: everything for the closed test:
1. The upload key: check an existing one, or a `keytool` command and a
`upload.properties` layout for the owner to run himself, plus backup and
reset advice.
2. The release build: `OVIS_UPLOAD_PROPERTIES=… ./gradlew bundleRelease`
and a signature check. The release config already on `main` is used as
is: `applicationId sh.ovis.app`, `versionCode 1`, `versionName 1.0`,
`targetSdk 36`. The doc states the "raise `versionCode` for every
upload" rule.
3. Store listing text (name, short and full description), store
settings.
4. App content answers: privacy policy, app access (the demo), ads,
content rating, target audience 18+, news, government, financial,
health, advertising ID. The doc also covers data safety; see below.
5. Play Console steps, click by click: create the app, App content,
listing, a tester Google Group, the closed testing track, the first
release with Play App Signing, the opt-in link, the 14 days, and
applying for production.
- **Store graphics** in `app/store/android/`:
  - a 512 px icon;
  - a 1024x500 feature graphic;
- three 1080x1920 phone screenshots: the connect screen and the bundled
demo, from the Android 16 emulator with a SystemUI demo-mode status bar,
no real PC.
- **Privacy policy** (`ovis-site/privacy`, English and Korean): one
paragraph naming what the Play listing will show as collected (it goes
only to the user's own PC), and a new effective date.
- `changelog.d/play-closed-test.md` (Maintenance).

## Data safety
Two routes leave the phone: to the user's own PC, and from the PC to the
developer, in the PC's anonymous usage counts.
- **To the PC**: messages, terminal input, the pairing cookie and
diagnostics (required); attached photos, videos, audio and files, and
dictation (optional, user-initiated).
- **To the developer**: the app's settings snapshot, a random install ID
and the country. These are Analytics, optional, and on by default
(opt-out).

Encryption in transit is No (plain http on a home network is allowed).
Both privacy pages describe both routes. The details are in section 4 of
the doc.

## Verification
- Unsigned `./gradlew bundleRelease` from this branch: BUILD SUCCESSFUL,
31.8 MB `app-release.aab`.
- The release manifest in the AAB has no `debuggable`.
- Signing guard: `OVIS_UPLOAD_PROPERTIES=/nonexistent/upload.properties
./gradlew bundleRelease --dry-run` fails with "…is not a file". A debug
build is unaffected.
- Assets: icon 512x512, feature graphic 1024x500 RGB, screenshots
1080x1920 RGB (Play wants no alpha and at most a 2:1 aspect ratio).
- `bun test scripts/ovis-site.test.ts`: 17 pass.
- `bun run check fast`: pass.
- Gate review: one reviewer per round, three rounds. Round 1 rejected
the data-safety reasoning and Korean copy in the doc. Round 2 rejected
the "No" recommendation. Round 3 approved, after the doc defaulted to
disclosure and the Korean was removed.

## No overlap
New files only, plus the two privacy pages. Nothing here is in #1697,
#1695 or #1719.

## What the owner does
See section 5 of the doc: create the app, fill App content (data safety
as above), the listing, a Google Group with 12+ testers, the closed
track, and upload the AAB built after #1697 merges. Then keep 12 testers
opted in for 14 days and apply for production.
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