Skip to content

Console: Improve cancellation in current-dart-panel.#19182

Open
gianm wants to merge 2 commits intoapache:masterfrom
gianm:web-dart-stuff
Open

Console: Improve cancellation in current-dart-panel.#19182
gianm wants to merge 2 commits intoapache:masterfrom
gianm:web-dart-stuff

Conversation

@gianm
Copy link
Contributor

@gianm gianm commented Mar 19, 2026

Two improvements:

  1. Only show "Cancel query" if the query is ACCEPTED or RUNNING.

  2. Cancellation can sometimes return 404 even when successful if there
    are multiple Brokers. It can also return 404 if the query finished
    before it could be canceled. Neither of these really deserve a
    "danger" toast. Change to a success toast with text "Query canceled
    or no longer running".

Two improvements:

1) Only show "Cancel query" if the query is ACCEPTED or RUNNING.

2) Cancellation can sometimes return 404 even when successful if there
   are multiple Brokers. It can also return 404 if the query finished
   before it could be canceled. Neither of these really deserve a
   "danger" toast. Change to a success toast with text "Query canceled
   or no longer running".
@gianm gianm changed the title Improve cancellation in current-dart-panel. Console: Improve cancellation in current-dart-panel. Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant