繁體中文

新功能

新增「隱藏 Codex 區塊」開關,不用 Codex 也能讓面板保持清爽

你現在可以在選單列裡找到一個「隱藏 Codex 區塊」的新選項。如果你平常只用 Claude 而不用 Codex,只要打開這個選項,所有 9 款 HTML 面板裡的 Codex 卡片就會全部收起來,彈出視窗(popover)的高度也會自動跟著縮減,幫你省下寶貴的螢幕空間。這個設定會被系統記住,重新開機也不用重調。對於想要自己新增面板的開發者,我們也加強了防呆機制——現在在程式碼裡強制規定必須明確指定 Codex 卡片的高度,如果忘了寫,系統在載入時就會立刻報錯提醒,而不是像以前一樣默默套用預設高度而導致版面錯位。這就像是買便當不吃配菜可以勾選「不要配菜」來換取更小的餐盒;同時廚房的點餐系統也加了防呆,沒填包裝盒尺寸的訂單直接退回,再也不會出現大便當裝小菜的尷尬情況。

English

FEATURE

Hide the Codex section for a cleaner panel if you don't use it

You can now find a new "Hide Codex Section" toggle in the menubar. If you only use Claude and not Codex, checking this option will instantly collapse the Codex cards across all 9 HTML panels and automatically shrink the popover windows to match, saving you valuable screen real estate. This preference is saved automatically, so it stays exactly as you left it even after a restart. For developers building new custom panels, we've also added a strict safeguard—the codebase now explicitly requires you to specify the Codex card height. If you forget, it will immediately throw an error at load time instead of silently falling back to a default height that misaligns your layout. It's like ordering a bento box and ticking "no side dishes" so they give you a more compact box; meanwhile, the kitchen's ordering system was upgraded to reject tickets with missing box sizes, preventing tiny sides from awkwardly floating in a massive container.

原始 CHANGELOG

Original changelog新增「隱藏 Codex 區塊」開關,不用 Codex 也能讓面板保持清爽
**"Hide Codex Section" menu toggle**: the menubar gained a "Hide Codex Section" option that collapses the Codex card across all 9 HTML panels and shrinks popover height per-panel. The preference persists via `NSUserDefaults` so it survives restarts. i18n keys added for all 5 locales. (PR #19, thanks @RayCHWong for the first-time contribution)
**`HTMLPanel.codex_card_height` is now a required keyword-only argument with no default**: previously the parameter had a `192.0` default, so a new panel that forgot to set its height in `panels/__init__.py` would silently fall back to the default — the Codex card would render at a height that doesn't match the rest of the panel without raising any error. Now declared as `*, codex_card_height: float` (keyword-only, no default), so any missing call site raises `TypeError` at import. All 9 existing panels already pass it by keyword and are unaffected; added `test_html_panel_requires_explicit_codex_card_height` to lock the contract.