-
Notifications
You must be signed in to change notification settings - Fork 1.1k
docs: update evolution banner to announce rebuilt CLI release #2393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,8 +41,8 @@ function dismiss() { | |
| const isZh = computed(() => lang.value.startsWith('zh')) | ||
| const message = computed(() => | ||
| isZh.value | ||
| ? 'Kimi Code CLI 已升级为 Kimi Code,了解更多 →' | ||
| : 'Kimi Code CLI is evolving into Kimi Code. Learn more →', | ||
| ? 'Kimi Code CLI 重构升级版已发布,迭代更快 了解更多➡️' | ||
| : 'Kimi Code CLI rebuilt & upgraded version released — faster iterations. Learn more ➡️', | ||
|
Comment on lines
+44
to
+45
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Users who previously dismissed the old evolution banner will never see this new release announcement, because the component still reads the same Useful? React with 👍 / 👎. |
||
| ) | ||
| const closeLabel = computed(() => (isZh.value ? '关闭' : 'Dismiss')) | ||
| </script> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Triple spaces in Chinese banner text will collapse to a single space in HTML rendering
The Chinese message on line 44 contains three consecutive spaces (
迭代更快 了解更多➡️) that appear intended to create visual separation. However, the text is rendered inside an<a>element (docs/.vitepress/theme/EvolutionBanner.vue:52-59) with nowhite-space: preor similar CSS property, so HTML whitespace collapsing will reduce them to a single space, making the separator invisible.Was this helpful? React with 👍 or 👎 to provide feedback.