Skip to content

fix(workbench): 错误态接线补齐——docs/contacts 错误态 + 原始异常文案治理 - #2163

Merged
DeliciousBuding merged 1 commit into
masterfrom
chore/cleanup-round-20
Aug 31, 2026
Merged

fix(workbench): 错误态接线补齐——docs/contacts 错误态 + 原始异常文案治理#2163
DeliciousBuding merged 1 commit into
masterfrom
chore/cleanup-round-20

Conversation

@DeliciousBuding

Copy link
Copy Markdown
Collaborator

范围(UIUX 探索 lane P1/P2,round-20)

  • docs 错误态(P1)documentsError 全链接线(AgentHubWorkbench→WorkbenchFrame→WorkbenchRoutes→DocsPageProps→DocTable),失败时渲染 docs.error 占位而不是「暂无文档」;desktop shell 传入 documentListError
  • contacts 错误态(P1)contactsError 全链接线——两 shell 把查询错误传入 resolveHubContactsloadError,hook 短路 mock 回退,ContactsPage 渲染 contacts.error 占位。
  • 原始异常治理(P2):DevicesPage / TerminalPanel 的 error.message 统一过 friendlyErrorMessage(技术噪声不直接上屏)。
  • i18n:shared workbench zh/en 新增 docs.error / contacts.error 键。

验证(本地已跑)

  • web/desktop/workbench tsc --noEmit 全绿
  • vitest:web 32 文件 258 通过、desktop 64 文件 588 通过、workbench 162 文件 1659 通过
  • git diff --check 干净

@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: c0bd9031-77c5-4e9a-9e13-696ca836d433

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

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.

UIUX 探索 lane P1/P2 收口(#1821 合同写好了但消费端没接):

- docs:documentsError 全链接线(AgentHubWorkbench→WorkbenchFrame→WorkbenchRoutes→DocsPageProps→DocTable),失败渲染 docs.error 占位而非空列表;desktop shell 传入 documentListError
- contacts:contactsError 全链接线(resolveHubContacts loadError 已由 shell 传入 + hook 短路 mock 回退 + ContactsPage 错误占位);web/desktop 两 shell 都传查询错误
- DevicesPage / TerminalPanel 原始 error.message 统一过 friendlyErrorMessage,技术噪声不再直接上屏
- i18n:shared workbench zh/en 新增 docs.error / contacts.error 键

验证:web/desktop/workbench tsc 全绿;web vitest 258、desktop 588、workbench 1659 全绿;git diff --check 干净

Co-authored-by: Cursor <cursor@vectorcontrol.tech>
@DeliciousBuding
DeliciousBuding merged commit ca1e93f into master Aug 31, 2026
41 checks passed
@DeliciousBuding
DeliciousBuding deleted the chore/cleanup-round-20 branch August 31, 2026 23:27
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