Skip to content

fix(#668): 知识库空态文案指向正确的分组名(扩展功能 / Extensions) - #694

Merged
modusensus merged 1 commit into
mainfrom
fix/668-kb-emptystate-copy
Nov 13, 2026
Merged

modusensus merged 1 commit into
mainfrom
fix/668-kb-emptystate-copy

Conversation

@modusensus

Copy link
Copy Markdown
Member

这是什么

知识库未启用时的空态文案指错了分组名,用户照着一句话去设置页找不到地方。

现在写的是「设置 → 记忆(mneme) → 功能 → 知识库」,但 v0.13 起 group.ext 是独立分组、标签是「扩展功能」(英文 Extensions),「知识库」只是组里的一项(lib/client.js 的 FEATURE_GROUPS:{ key: "group.ext", items: ["chorographyEnabled", "kbEnabled", "diaryEnabled"] })。

改了什么

  • 中文空态:「功能 → 扩展功能,勾上「知识库」后重启 DSH 生效」
  • 英文空态:「Features → Extensions, turn on the knowledge base switch」
  • test/client.test.js 的文案锁同步(原来锁的正是那句错路径,所以它一直绿着没提醒我们)

只动文案与那条断言,没有逻辑改动。

测试

node --test dsh-mneme/test/client.test.js → 144 / 144 pass。

Ref #668(功能那两条已在 d8cfaf3d 与 0.14.0 落地,这个 PR 只是补最后一句指错路的文案;#668 已关)。

空态写的是「功能 → 知识库」,但 v0.13 起 group.ext 是独立分组、标签为「扩展功能」(英文 Extensions),「知识库」只是组内一项——照这句话去设置页找不到对应分组。中英两版一并改,client 文案锁同步更新。
Copilot AI lite review requested due to automatic review settings November 13, 2026 08:48
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 37 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between cd3c77d and 827f6d2.

Files selected for processing: 3

  • dsh-mneme/CHANGELOG.md
  • dsh-mneme/lib/client.js
  • dsh-mneme/test/client.test.js
  • 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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@codecov

codecov Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@modusensus
modusensus merged commit 1f3613c into main Nov 13, 2026
13 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.

2 participants