Skip to content

chore: optimize word and home extend link - #259

Merged
rhlin merged 1 commit into
devfrom
optimize-link-and-word
Aug 24, 2026
Merged

chore: optimize word and home extend link#259
rhlin merged 1 commit into
devfrom
optimize-link-and-word

Conversation

@gimmyhehe

@gimmyhehe gimmyhehe commented Aug 21, 2026

Copy link
Copy Markdown
Member

概述

  • 将 Playground 模型配置中的「提示词」文案改为「追加提示词」,更准确地表达其作为附加提示词拼接在主提示词之后的语义;同时将 i18n key 由 model.prompt 重命名为 model.additionalPrompt(中英同步)。
  • 修复首页扩展区「体验搭建」入口的跳转链接,由 LinkKey.PlaygroundBuilder 改为 LinkKey.Playground,确保携带 inputMessage 后跳转到正确的 Playground 页面。

Summary by CodeRabbit

  • Bug Fixes
    • Updated the homepage Playground link to use the correct destination while preserving existing parameters.
    • Clarified the model configuration label from “Prompts” to “Additional prompts.”
  • Localization
    • Updated English and Chinese translations for the revised model configuration label.

@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

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: c82be78e-daaf-4882-a6fa-4dd66a4c7329

📥 Commits

Reviewing files that changed from the base of the PR and between 27f3b86 and 8bc50f9.

📒 Files selected for processing (4)
  • sites/homepage/web/src/components/HomeExtend.vue
  • sites/playground/web/src/components/tab-components/ModelConfig.vue
  • sites/playground/web/src/i18n/en.json
  • sites/playground/web/src/i18n/zh.json

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


Walkthrough

The homepage header now links to the Playground route. The model configuration prompt section now uses the additionalPrompt localization key with updated English and Chinese labels.

Changes

Playground prompt labels

Layer / File(s) Summary
Additional prompt label
sites/playground/web/src/i18n/en.json, sites/playground/web/src/i18n/zh.json, sites/playground/web/src/components/tab-components/ModelConfig.vue
The model configuration uses model.additionalPrompt. English displays “Additional prompts”. Chinese displays “追加提示词”.

Homepage Playground routing

Layer / File(s) Summary
Playground link target
sites/homepage/web/src/components/HomeExtend.vue
The header link uses LinkKey.Playground and preserves the inputMessage query parameter.

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

Merge Risk: ⚪ Minimal · up to 8bc50

This PR makes localized wording and homepage navigation updates, with no actionable merge-blocking risk remaining beyond normal checks and review.

Suggested reviewers: lhuans, gargameljyh, yy-wow

Poem

A rabbit hops through links so bright,
The Playground route is now in sight.
“Additional prompts,” labels say,
In English and Chinese today.
Tiny changes, neat and right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (4 skipped: 4 unsupported.)
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the wording updates and the homepage extension link change.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch optimize-link-and-word

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.

@gimmyhehe gimmyhehe changed the title chore: 优化文案与首页跳转链接 chore: optimize word and home extend link Aug 21, 2026
@rhlin
rhlin merged commit 6b976d5 into dev Aug 24, 2026
1 check 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.

3 participants