Skip to content

Comments

Show plan in chat area during plan mode#116

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-plan-mode-preview-option
Draft

Show plan in chat area during plan mode#116
Copilot wants to merge 2 commits intomainfrom
copilot/add-plan-mode-preview-option

Conversation

Copy link
Contributor

Copilot AI commented Feb 15, 2026

Intent text from AssistantIntentEvent was only visible in a transient pill near the input area that disappears when the turn ends. Users had no way to see the plan while the agent was actively working on it.

Changes

  • ChatMessageList.razor — Added PlanMode/Intent parameters. Renders a collapsible 📋 Plan block with markdown-formatted intent content in the messages area, positioned after history and before streaming content. Only shown in expanded (non-compact) view.
  • ChatMessageList.razor.css — Plan block styles (purple accent matching existing intent pill), including style-minimal layout support.
  • ExpandedSessionView.razor — Passes existing PlanMode and Intent through to ChatMessageList.

The plan block follows the same collapsible pattern as reasoning blocks — auto-collapses when content exceeds 5 lines, click to toggle.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

When plan mode is active and the agent sends intent/plan text, a collapsible
"📋 Plan" block now appears in the chat messages area. This allows users to
see the plan while the agent is working on it, rather than only seeing the
transient intent pill near the input area.

The plan block:
- Shows markdown-rendered plan content in the messages area
- Is collapsible (click to expand/collapse) when content exceeds 5 lines
- Only appears in expanded (non-compact) view when plan mode is active
- Styled with a purple accent consistent with existing intent/reasoning UI
- Supports the minimal style layout

Co-authored-by: PureWeen <5375137+PureWeen@users.noreply.github.com>
Copilot AI changed the title [WIP] Add option to view plan while working in plan mode Show plan in chat area during plan mode Feb 15, 2026
Copilot AI requested a review from PureWeen February 15, 2026 16:25
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