Repository navigation
fix(site): send the addresses people guess for the docs on ovis.sh to the docs - #1719
Conversation
Deploying ovis with
|
| 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 |
|
Warning Review limit reachedYou'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. View limit details
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. Comment |
|
Checked on the Cloudflare preview ( |
|
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 |
…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**  **Phones: Android, iPhone**  **Languages (ko, ja, zh)**  **After a click on the Windows and Linux buttons** (the clipboard held the command in each case)  **Navy wool: before, after, night unchanged**   ## 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/`.
) 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`.
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.
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/_redirectsnow hands them on with 302s:/docs,/docs/*,/guide,/guide/*/install/install.shand/install.ps1rules stay as they are)/changelog/faq/#faq/ja,/ja/*,/zh,/zh/*/?lang=ja,/?lang=zh, as/ko/does for KoreanA new
scripts/ovis-site.test.tscheck keeps each rule's target real: a repository target names a file on main, and a/#sectiontarget names anidon the home page.Validation
bun run check fast: pass.bun test scripts/ovis-site.test.ts: 18 pass; pointing a rule atdocs/nope.mdor/#nofaqmakes the new check fail with both named./docs,/faqand/ja/answer 302 to the targets above.