Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/.vitepress/theme/EvolutionBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 重构升级版已发布,迭代更快 了解更多➡️'

Copy link
Copy Markdown
Contributor

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 no white-space: pre or similar CSS property, so HTML whitespace collapsing will reduce them to a single space, making the separator invisible.

Suggested change
? 'Kimi Code CLI 重构升级版已发布,迭代更快 了解更多➡️'
? 'Kimi Code CLI 重构升级版已发布,迭代更快 · 了解更多➡️'
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

: 'Kimi Code CLI rebuilt & upgraded version released — faster iterations. Learn more ➡️',
Comment on lines +44 to +45

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Reset dismissal state for the new announcement

Users who previously dismissed the old evolution banner will never see this new release announcement, because the component still reads the same kimi-cli-evolution-banner-dismissed localStorage key and suppresses the banner before rendering the updated copy. Since this change is meant to announce a new rebuilt CLI release, bumping/versioning the dismissal key (or otherwise invalidating the old dismissal) is needed for those returning docs visitors to see it.

Useful? React with 👍 / 👎.

)
const closeLabel = computed(() => (isZh.value ? '关闭' : 'Dismiss'))
</script>
Expand Down
Loading