Skip to content

Fix new chat display - #665

Merged
haiphucnguyen merged 1 commit into
mainfrom
feature/fix-new-chat
Aug 23, 2026
Merged

Fix new chat display#665
haiphucnguyen merged 1 commit into
mainfrom
feature/fix-new-chat

Conversation

@haiphucnguyen

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI lite review requested due to automatic review settings August 23, 2026 08:23
@haiphucnguyen
haiphucnguyen merged commit 0f93a7d into main Aug 23, 2026
11 checks passed
@haiphucnguyen
haiphucnguyen deleted the feature/fix-new-chat branch August 23, 2026 08:24

Copilot AI 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.

Pull request overview

Adjusts the Desktop app’s “New Chat” menu behavior so that starting a new chat doesn’t break the chat UI state (e.g., by dropping the active ChatViewModel due to a cleared active session).

Changes:

  • Removes sessionManager.clearActiveSession() from the “New Chat” menu action.
  • Relies on chatViewModel.clearChat() to reset chat state while keeping activeSessionId stable so the UI can continue rendering properly.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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