Skip to content

fix(web): refine goal mode controls - #1669

Merged
chengluyu merged 5 commits into
mainfrom
fix/goal-mode-web-ui
Jul 14, 2026
Merged

fix(web): refine goal mode controls#1669
chengluyu merged 5 commits into
mainfrom
fix/goal-mode-web-ui

Conversation

@chengluyu

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue. This PR addresses the goal-mode web UI issues found during local testing.

Problem

The goal strip had several inconsistent states: it always reserved space for a budget indicator, its expand/collapse interaction needed smoother transitions, and cancellation used a bespoke confirmation surface outside the design system. The goal controls also needed clearer status and budget presentation.

What changed

  • Added animated expand/collapse behavior for the goal strip.
  • Made the budget progress indicator conditional on a configured token budget.
  • Refined goal strip and composer corner styling, spacing, iconography, and shadows.
  • Replaced the bespoke cancellation popover with the shared design-system confirmation dialog.
  • Added localized cancellation labels and documented the web goal controls in English and Chinese.
  • Added a patch changeset for the bundled CLI release.

Validation

  • Web tests: 28 files, 497 tests passed
  • Web typecheck passed
  • Web design-system style check passed in baseline mode
  • Documentation build passed
  • Read-only public-identifier audit passed

Checklist

  • I have read the CONTRIBUTING document.
  • I have explained the problem above.
  • I have added tests that prove my feature works.
  • Ran the gen-changesets skill.
  • Ran the gen-docs skill; the declared changelog sync script is not present in this checkout, so no changelog sync was needed or performed.

@changeset-bot

changeset-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f91efa7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chengluyu
chengluyu marked this pull request as ready for review July 14, 2026 05:02
@pkg-pr-new

pkg-pr-new Bot commented Jul 14, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@f91efa7
npx https://pkg.pr.new/@moonshot-ai/kimi-code@f91efa7

commit: f91efa7

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b37bce122d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/kimi-web/src/components/chat/GoalStrip.vue
@chengluyu
chengluyu merged commit 490303d into main Jul 14, 2026
14 checks passed
@chengluyu
chengluyu deleted the fix/goal-mode-web-ui branch July 14, 2026 05:34
@github-actions github-actions Bot mentioned this pull request Jul 14, 2026
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