Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the cancel badge is a filled pill like its neighbours

This commit is contained in:
iris 2026-10-28 20:19:02 +01:00
commit 9b0c0ad7be

View file

@ -57,7 +57,7 @@ export function CancelTurnBadge({
}
if (state.status === "done") {
return <Badge variant="quiet" value={cancelNote(state.acted)} />;
return <Badge value={cancelNote(state.acted)} />;
}
if (state.status === "error") {
return (
@ -72,7 +72,7 @@ export function CancelTurnBadge({
if (!canCancel(turnState)) return null;
return (
<Badge
variant="quiet"
tone="warning"
value={state.status === "cancelling" ? "cancelling…" : "cancel turn"}
title="stop the agent's current turn"
onClick={state.status === "cancelling" ? undefined : cancel}