Skip to content

feat: add chat thread deletion functionality - #175

Open
Tapraj-Pathak wants to merge 1 commit into
CopilotKit:mainfrom
Tapraj-Pathak:feat/chat-thread-deletion
Open

Tapraj-Pathak wants to merge 1 commit into
CopilotKit:mainfrom
Tapraj-Pathak:feat/chat-thread-deletion

Conversation

@Tapraj-Pathak

Copy link
Copy Markdown

Summary

  • Add a permanent thread deletion action to the chat header, with a confirmation modal and fade-out from the recent chats list.
  • Add DELETE /api/threads/{threadId} with owner-token authentication and idempotent handling of concurrent or retried deletions.
  • Remove thread-linked local records transactionally, including calls, captures, page-chat bindings, and MCP approval/action data. Keep saved pages and detach their source conversation.
  • Document deletion behavior and API usage in the README and chat thread guide.

Testing

  • Thread deletion and UI tests
  • Typecheck and lint
  • Production build
  • Formatting checks

Note: The repository does not currently have a browser E2E test harness.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant