8000 fix(eval): delete current eval cases independently of tab mounting by Aaravkhanal · Pull Request #563 · google/adk-web · GitHub
[go: up one dir, main page]

Skip to content

fix(eval): delete current eval cases independently of tab mounting - #563

Open
Aaravkhanal wants to merge 2 commits into
google:mainfrom
Aaravkhanal:codex/fix-eval-case-deletion
Open

Aaravkhanal wants to merge 2 commits into
google:mainfrom
Aaravkhanal:codex/fix-eval-case-deletion

Conversation

@Aaravkhanal
@Aaravkhanal Aaravkhanal commented Nov 6, 2026 •
Copy link
Copy Markdown
Contributor

Fixes #547.

Deleting the current eval case could display “Eval case deleted” without sending a DELETE request because ChatComponent queried EvalTabComponent directly, even though the eval tab is dynamically owned by SidePanelComponent.

The detail-view delete handler now calls EvalService using the app, eval set, and case captured when confirmation opens. It shows success only after the DELETE succeeds, reports failures without clearing the case, and refreshes the matching eval tab after success. The detail toolbar now exposes an accessible delete button that opens the existing confirmation dialog, so the fixed handler is reachable from the reported workflow.

After a successful delete, the detail view is cleared only if the same case and eval set are still selected. The side panel uses its existing post-fetch refresh and next-case selection logic.

Validation:

  • 181 tests across ChatComponent, SidePanelComponent, and EvalTabComponent pass in ChromeHeadless, including the new toolbar-action test.
  • npm run build passes; existing Angular and CommonJS dependency warnings remain.
  • git diff --check passes.
  • No live backend/browser end-to-end test was run.

PR #390 adjusts snackbar styling but does not make the detail-view delete handler send the request. This PR covers the request, success/error handling, and the missing visible action.

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.

[Bug] Delete Eval Case shows "Eval case deleted" snackbar but HTTP DELETE is never called when evalTab() signal is null

1 participant

0