Skip to content

feat(cloud-agent-next): confirm session deletion#4640

Open
eshurakov wants to merge 1 commit into
mainfrom
session/agent_bc3cb88d-771a-42a6-b270-581fe549b9fb
Open

feat(cloud-agent-next): confirm session deletion#4640
eshurakov wants to merge 1 commit into
mainfrom
session/agent_bc3cb88d-771a-42a6-b270-581fe549b9fb

Conversation

@eshurakov

Copy link
Copy Markdown
Contributor

Summary\n- add a confirmation dialog before deleting a cloud-agent session\n- show a spinner on the deleting session row and disable its actions\n- prevent delete clicks from selecting the session, and defer navigation/local removal until server deletion succeeds\n\n## Verification\n- formatted changed files with oxfmt\n- git diff --check\n- lint and typecheck not run per request

…or sessions

Introduces an `AlertDialog` to confirm session deletion before proceeding, preventing accidental deletions. Added a loading spinner and disabled interaction for the specific session row while a deletion request is in progress to improve UX and prevent duplicate requests.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
@kilo-code-bot

kilo-code-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Executive Summary

Reviewed the deletion-confirmation dialog and per-row deleting state changes across the sidebar; the delete flow correctly awaits server deletion before local cleanup/navigation and no security, correctness, or breaking-change issues were found in the changed lines.

Files Reviewed (2 files)
  • apps/web/src/components/cloud-agent-next/ChatSidebar.tsx
  • apps/web/src/components/cloud-agent-next/CloudSidebarLayout.tsx

Reviewed by claude-sonnet-5 · Input: 20 · Output: 7.2K · Cached: 415.7K

Review guidance: REVIEW.md from base branch main

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