Skip to content

Chat: Unsent (draft) input should not surface when navigating back to the session list #319074

@daiyuyang

Description

@daiyuyang

Describe the behavior you'd like:

When I have unsent/draft text in a chat session's input box and navigate "back" to the session list (the panel that lists all chat sessions), the draft text should remain scoped to that session — it should not appear or carry over at the session-list level.

When I re-enter that specific session, the draft text should be restored as expected.

Current behavior:

Navigating back to the session list exposes or interacts with the unsent input in a way that feels like the draft is "leaking" out of its session context.

Expected behavior:

Draft input is strictly scoped to its session
Navigating up to the session list: draft is hidden / not surfaced
Re-entering the session: draft is restored exactly as left
Why this matters:

When managing multiple chat sessions, navigating between them or starting a new session from the list should be a clean action. Unsent content from a previous session creates confusion about which session's context is active.

Environment:

VS Code version: (fill in)
OS: macOS
Extension: GitHub Copilot Chat

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions