Skip to content

[Feature] Chat Session Management Polish in VS Code Extension #749

Closed

Description

@akramcodez

Description

Improve the visibility and UX of the Chat History and Session management features within the VS Code extension.

Use Case

Users often switch between different coding tasks (e.g., fixing a bug, then writing a new feature). Without robust session management visible in the VS Code extension, context pollution occurs, and the AI gets confused by previous instructions.

Proposed Solution

Expose the existing history-view more prominently. Add a toggle button in the chat panel header to switch between the active chat and the history list. Allow users to rename or quickly delete sessions from this view.

Alternatives Considered

  • Opening history in a separate VS Code panel, which disjoints the user experience.

Additional Context

  • I have searched existing issues to ensure this is not a duplicate
  • This feature aligns with the project's goals (local-first AI assistance)
  • Target Component: VS Code Extension (plugins/vscode/)

Implementation Notes (optional)

  • Folder Path: plugins/vscode/
  • UI: Unhide the history-view div through a cleaner toggle mechanism in plugins/vscode/media/chat-panel.html. Add edit/delete icons to the generated list items.
  • Backend: The listSessions, resumeSession, and deleteSession cases in plugins/vscode/src/chat-webview-provider.ts are already implemented; this is purely a frontend webview UX enhancement.

Contribution Guidelines

  • If you would like to work on this issue, please comment below to ask for assignment first.
  • Before opening a Pull Request, please briefly share your implementation plan in this thread so we can align on the approach!

Activity

  1. added
    enhancement
    on Aug 3, 2026
  2. arpan7sarkar commented on Aug 6, 2026

    @arpan7sarkar
    Contributor

    Hey @akramcodez , I saw delete/resume are already fully implemented end-to-end, and the history toggle already exists in the title bar. Rename genuinely doesn't exist though: the CLI's /rename only sets an in-memory label, useSessionAutosave.ts always overwrites the saved title from the latest message, so nothing persists today, in the CLI or the extension.

    Can I get this assigned? Plan:

    1. Backend: add persisted rename to SessionManager, make autosave respect a manually-set title instead of overwriting it, expose via a new ACP RPC, thread through acp-client.ts / chat-webview-provider.ts.
    2. UI: reuse the existing history list each row shows the title with last-used time below it, and edit/delete buttons on the right.
  3. akramcodez commented on Aug 6, 2026

    @akramcodez
    MemberAuthor

    sure @arpan7sarkar go for it

  4. added
    area:vscode
    on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:vscodeenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions