Repository navigation
Delete a conversation from the actions menu - #115
Merged
Merged
Conversation
The conversation actions menu gains Delete conversation, behind a confirmation that names the conversation and states that it disappears for everyone in it. Deleting clears the draft, drops the selection, and returns to the list; the row leaves the cached pages immediately and comes back if the call fails. A link to a deleted conversation used to render a placeholder header over a transcript the app no longer lists. Chat now answers NOT_FOUND for it, and that is the signal to drop the selection and fall back to the list. Rendering two components in one test file leaked the first into the second, because without vitest globals testing-library never unmounts between tests. The setup file now cleans up. See agynio/architecture: changes/2026-08-13-chat-deletion.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Delete conversation to the conversation actions menu, behind a confirmation dialog that names the conversation and states that it disappears for everyone in it. The row leaves the cached list immediately and returns if the call fails; deleting clears the draft, the selection, and the route.
A link to a deleted conversation now falls back to the empty state instead of rendering a placeholder header over a transcript the app no longer lists.
Also fixes test isolation: without vitest globals, testing-library never unmounted between tests, so a second
renderin a file leaked the first one's DOM.Needs agynio/api#189 (merged), agynio/chat#36, agynio/gateway#208.
Spec: changes/2026-08-13-chat-deletion.md