Skip to content

feat: show full plan cards - #536

Merged
liruifengv merged 3 commits into
mainfrom
fix-plan
Jun 8, 2026
Merged

feat: show full plan cards#536
liruifengv merged 3 commits into
mainfrom
fix-plan

Conversation

@liruifengv

Copy link
Copy Markdown
Collaborator

Related Issue

No related issue.

Problem

Plan cards could collapse long plan content behind a hidden-line footer and relied on Ctrl-E to expand or collapse the card. The requested behavior is to show plan content fully and remove that shortcut from Plan cards.

What changed

Updated the TUI Plan card rendering to display all plan content directly, removed the Plan card Ctrl-E expansion behavior, cleaned related tests, removed the Plan card shortcut entries from keyboard docs, and added a changeset for the CLI.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

Verification

  • pnpm --filter @moonshot-ai/kimi-code run typecheck
  • pnpm exec vitest run apps/kimi-code/test/tui/components/panels/plan-box.test.ts apps/kimi-code/test/tui/components/messages/tool-call.test.ts apps/kimi-code/test/tui/components/dialogs/approval-panel.test.ts apps/kimi-code/test/tui/components/dialogs/question-dialog.test.ts
  • pnpm exec oxlint --type-aware apps/kimi-code/src/tui/components/messages/plan-box.ts apps/kimi-code/src/tui/components/messages/tool-call.ts apps/kimi-code/test/tui/components/panels/plan-box.test.ts apps/kimi-code/test/tui/components/messages/tool-call.test.ts
  • pnpm --filter kimi-code-docs run build

@changeset-bot

changeset-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 96e2c2b

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

@pkg-pr-new

pkg-pr-new Bot commented Jun 8, 2026

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

commit: 96e2c2b

@liruifengv

Copy link
Copy Markdown
Collaborator Author

@codex

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

@liruifengv

Copy link
Copy Markdown
Collaborator Author

@codex

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@liruifengv
liruifengv merged commit b785e26 into main Jun 8, 2026
8 checks passed
@liruifengv
liruifengv deleted the fix-plan branch June 8, 2026 07:35
@github-actions github-actions Bot mentioned this pull request Jun 8, 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.

1 participant