Repository navigation
fix(site): keep ?lang to the four languages, link the Korean policy pages, follow the copy decisions - #1505
Conversation
…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.
Deploying ovis with
|
| 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 |
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. 💤 Files selected but had no reviewable changes: 1
⚙️ Run configuration
📒 Files selected for processing: 1
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
|
Merging a603c91. omo-native-code-reviewer PASS: Follow-up (omo MEDIUM): the chat supports 12 agents, not 11: Command Code ( |
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.
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=constructoror__proto__used to replace every heading and the title withfunction Object()/[object Object]and save that to localStorage. A value already savedthat way now loads the English page.
/ko/privacy/and/ko/support/.Codex, OpenCode, pi, Oh My Pi, OmO, Gajae Code, Devin, Grok, Hermes, Antigravity); the
terminal-only marks and the "+16 more" count are gone.
click, with no terminal needed.", in all four languages.
Checked
Served
ovis-site/and drove it in Chrome at 1440x900:?lang=constructor,__proto__,toString,hasOwnPropertyandvalueOfeach leave thepage English with its headings, title and footer intact and save nothing; a saved
__proto__loads English./ko/privacy/,/ko/support/under Korean,/privacy/,/support/underEnglish, Chinese and Japanese, also when switching back and forth.
the line-break check finds nothing new in any language at 1440 or 390.