Skip to content

fix(site): keep ?lang to the four languages, link the Korean policy pages, follow the copy decisions - #1505

Merged
devswha merged 1 commit into
mainfrom
fix/ovis-site-lang-guard
Oct 21, 2026
Merged

devswha merged 1 commit into
mainfrom
fix/ovis-site-lang-guard

Conversation

@devswha

@devswha devswha commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Follow-up to #1504, from the merge pass and the maintainer's copy decisions on it.

Change

  • ?lang= and the saved choice only take a language the page has (Object.hasOwn(HTML_LANG, ...)):
    ?lang=constructor or __proto__ used to replace every heading and the title with
    function Object() / [object Object] and save that to localStorage. A value already saved
    that way now loads the English page.
  • Under Korean, the footer's Privacy and Support link /ko/privacy/ and /ko/support/.
  • "Works with" and the Any harness chips list only the 11 agents the chat supports (Claude Code,
    Codex, OpenCode, pi, Oh My Pi, OmO, Gajae Code, Devin, Grok, Hermes, Antigravity); the
    terminal-only marks and the "+16 more" count are gone.
  • The Mac card says the app is coming: "Ovis for Mac (coming soon) will set everything up in one
    click, with no terminal needed.", in all four languages.
  • CSS comments say what each block does, not where its look came from.

Checked

Served ovis-site/ and drove it in Chrome at 1440x900:

  • ?lang=constructor, __proto__, toString, hasOwnProperty and valueOf each leave the
    page English with its headings, title and footer intact and save nothing; a saved
    __proto__ loads English.
  • Footer links: /ko/privacy/, /ko/support/ under Korean, /privacy/, /support/ under
    English, Chinese and Japanese, also when switching back and forth.
  • zh, ja and ko leave no English block outside names and the slogan; English restores exactly.
  • All 22 agent marks (row and chips) draw, no broken image, no horizontal overflow, day and night;
    the line-break check finds nothing new in any language at 1440 or 390.

…ages, follow the copy decisions

Follow-up to #1504, from the merge pass and the maintainer's copy decisions on it.

## Change

- `?lang=` and the saved choice only take a language the page has (`Object.hasOwn(HTML_LANG, ...)`):
  `?lang=constructor` or `__proto__` used to replace every heading and the title with
  `function Object()` / `[object Object]` and save that to localStorage. A value already saved
  that way now loads the English page.
- Under Korean, the footer's Privacy and Support link `/ko/privacy/` and `/ko/support/`.
- "Works with" and the Any harness chips list only the 11 agents the chat supports (Claude Code,
  Codex, OpenCode, pi, Oh My Pi, OmO, Gajae Code, Devin, Grok, Hermes, Antigravity); the
  terminal-only marks and the "+16 more" count are gone.
- The Mac card says the app is coming: "Ovis for Mac (coming soon) will set everything up in one
  click, with no terminal needed.", in all four languages.
- CSS comments say what each block does, not where its look came from.

## Checked

Served `ovis-site/` and drove it in Chrome at 1440x900:

- `?lang=constructor`, `__proto__`, `toString`, `hasOwnProperty` and `valueOf` each leave the
  page English with its headings, title and footer intact and save nothing; a saved
  `__proto__` loads English.
- Footer links: `/ko/privacy/`, `/ko/support/` under Korean, `/privacy/`, `/support/` under
  English, Chinese and Japanese, also when switching back and forth.
- zh, ja and ko leave no English block outside names and the slogan; English restores exactly.
- All 22 agent marks (row and chips) draw, no broken image, no horizontal overflow, day and night;
  the line-break check finds nothing new in any language at 1440 or 390.
@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying ovis with  Cloudflare Pages  Cloudflare Pages

Latest commit: a603c91
Status: ✅  Deploy successful!
Preview URL: https://550554d5.ovis.pages.dev
Branch Preview URL: https://fix-ovis-site-lang-guard.ovis.pages.dev

View logs

@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes: 1
  • ovis-site/index.html
⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 53f6c176-0039-4b0d-a1f7-fee2c51dc880
📥 Commits

Reviewing files that changed from the base of the PR and between 7c0c7d5 and a603c91.

📒 Files selected for processing: 1
  • ovis-site/index.html

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
  • 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 21, 2026

Copy link
Copy Markdown
Owner Author

Merging a603c91. omo-native-code-reviewer PASS: ?lang= and the saved choice go through Object.hasOwn(HTML_LANG, ...) and no other lookup is reachable from the query string or storage; the Privacy/Support hrefs swap correctly in every direction; the changed Mac line has all four languages; no duplicate ids or dangling url(#...). The merge pass checked it in headless Chrome: ?lang=constructor, __proto__ and toString load English with nothing saved, a saved __proto__ loads English, Korean links /ko/privacy/ and /ko/support/, no "+16 more", no broken image or overflow, and no paseo/apple.com/draft mention left in the source. Required checks green.

Follow-up (omo MEDIUM): the chat supports 12 agents, not 11: Command Code (server/cmd.ts, #1399; in docs/guide.md) is missing from the Works with row and the Any harness chips.

@devswha
devswha merged commit 7e3d1de into main Oct 21, 2026
10 checks passed
@devswha
devswha deleted the fix/ovis-site-lang-guard branch October 21, 2026 05:47
devswha added a commit that referenced this pull request Oct 21, 2026
Follow-up to #1505: the chat supports 12 agents. Command Code
(`server/cmd.ts`, #1399; its own
chat and permission answers in docs/guide.md) was missing from the
hero's "Works with" row and the
Any harness chips.

## Change

- Command Code is the 12th mark in both lists. The app has no logo for
it and draws its initial
(AgentMark's fallback), so the site shows the initial too, cut out of a
rounded tile so it
  does not read as a copyright sign.
- A chip's name stays on one line ("Command Code" wrapped in its chip on
a phone).
- The `.agent-chip-more` rules, unused since "+16 more" went, are gone.
- No text changes, so no translation changes.

## Checked

Served `ovis-site/` in Chrome: 24 marks drawn (row and chips) in day and
night at 1440 and 390,
no chip name on two lines and no horizontal overflow at 320 and 390, the
chip names unchanged in
zh, ja and ko.
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