Skip to content

fix(web-ui): shorten hooks docs button label - #1797

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/hooks-docs-description-f9c0e9
Jul 27, 2026
Merged

fix(web-ui): shorten hooks docs button label#1797
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/hooks-docs-description-f9c0e9

Conversation

@bobleer

@bobleer bobleer commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

问题

Hooks 设置页「Codex 兼容 → 事件与载荷参考」卡片的按钮文案 打开 Codex Hooks 文档 过长,在窄一点的面板宽度下会折行成两行。

改动

卡片标题和说明里已经写明了链接指向 Codex 的 Hooks 文档,按钮不必重复,统一精简为「打开文档」:

locale before after
zh-CN 打开 Codex Hooks 文档 打开文档
zh-TW 開啟 Codex Hooks 文件 開啟文件
en-US Open Codex hooks docs Open docs

纯文案改动,无逻辑变更。

The Codex-compatibility card already names Codex hooks docs in its title and description, so the button repeated it and wrapped to two lines. Trim it to just "Open docs" across all three locales.
@bobleer
bobleer merged commit 6217329 into GCWing:main Jul 27, 2026
3 checks passed
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