Uh oh!
There was an error while loading. Please reload this page.
feat(app): add delete session with confirmation dialog - #36967
Conversation
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate PRs Found
|
ohsalmeron
commented
Jul 15, 2026
While the new Desktop v2 layout is beautiful and welcoming for new users, the classic interface—with its side-by-side split panels, visible file trees, and native file referencing—remains an incredibly production-grade, highly efficient setup for daily coding. This feature is designed to elevate this workflow. Workspace Safety and Cleanup
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes#36962
Type of change
What does this PR do?
Adds a right-click/context menu option "Delete Session" to session items in the sidebar. Clicking it opens a confirmation dialog, and confirming it calls the
DELETEAPI on the session, cleanly removing it from both local state and backend.How did you verify your code works?
Tested right-clicking a session, triggering the delete option, confirming the modal, and checking that the session was correctly deleted and removed from the list.
Screenshots / recordings
Delete option in the sidebar session menu and the confirmation modal.
Checklist