Skip to content

fix(web): correct dataset configuration page title and description - #17407

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
euvre:fix-dataset-config-text
Jul 27, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
euvre:fix-dataset-config-text

Conversation

@euvre

@euvre euvre commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

The dataset (knowledge base) configuration page showed incorrect copy:

  • The page title was mistranslated as '下个配置' (zh) / 'Next configuration' (en). It is now '知识库配置' / 'Dataset configuration'.
  • The page description wrongly referred to memory configuration ('在这里更新您的记忆配置,特别是大语言模型和提示词。'). It now correctly reads '在这里更新您的知识库配置,特别是大语言模型和提示词。'

Since the memory setting page shared the same knowledgeConfiguration.titleDescription key (where the memory wording was actually correct), a dedicated memory.config.titleDescription key (zh/en) was added and the memory setting page now uses it, so both pages show the correct text.

- Fix zh title '下个配置' to '知识库配置' and en 'Next configuration' to
  'Dataset configuration'
- Fix zh description that incorrectly referred to memory configuration
  instead of dataset configuration
- Give the memory setting page its own description key
  (memory.config.titleDescription) so it keeps the correct memory wording
  after the shared key was corrected
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jul 27, 2026
@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fb41b979-78e2-4a4e-9ded-fd8c1ba8d84c

📥 Commits

Reviewing files that changed from the base of the PR and between 1571abd and eff77b7.

📒 Files selected for processing (3)
  • web/src/locales/en.ts
  • web/src/locales/zh.ts
  • web/src/pages/memory/memory-setting/index.tsx

📝 Walkthrough

Walkthrough

Updated English and Chinese configuration translations, including dedicated memory guidance and dataset labels. The memory settings page now uses the new memory-specific description translation.

Changes

Configuration copy updates

Layer / File(s) Summary
Configuration translation updates
web/src/locales/en.ts, web/src/locales/zh.ts
Added memory configuration descriptions and revised dataset configuration labels in both locales.
Memory settings description wiring
web/src/pages/memory/memory-setting/index.tsx
Changed the page title description to use the dedicated memory configuration translation key while preserving form behavior.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested labels: 🧰 typescript

Suggested reviewers: dcc123456, cike8899

Poem

A bunny hops through strings so bright,
Memory guidance now reads just right.
Dataset labels gently align,
In English, Chinese—neat by design.
“Squeak!” says the rabbit, “Ship it tonight!”

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the main fix to dataset configuration text.
Description check ✅ Passed The description matches the template's Summary section and clearly explains the issue, fix, and memory-page context.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

@euvre euvre added the ci Continue Integration label Jul 27, 2026
@euvre
euvre requested a review from wangq8 July 27, 2026 04:06

@wangq8 wangq8 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. Straightforward i18n fix.

Good call splitting the title-description key: the dataset config page and memory config page now each have their own knowledgeConfiguration.titleDescription and memory.config.titleDescription entries, so future edits to one won't accidentally affect the other.

The zh translations are correct: 知识库配置 for dataset and 记忆配置 for memory. The indentation-only changes in memory-setting/index.tsx are noisy but not harmful — consider running a formatter separately to keep future diffs minimal.

@wangq8
wangq8 requested a review from cike8899 July 27, 2026 06:01
@wangq8
wangq8 merged commit 585142c into infiniflow:main Jul 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants