Make cancel not explode.

- We were console.erroring, throwing and early aborting. Instead we now treat cancels like a normal user message and show an indicator in the UI

Fixes https://b.corp.google.com/issues/416515841
This commit is contained in:
Taylor Mullen
2025-05-09 22:47:18 -07:00
committed by N. Taylor Mullen
parent 28f9a2adfa
commit 090198a7d6
3 changed files with 18 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ export const InfoMessage: React.FC<InfoMessageProps> = ({ text }) => {
const prefixWidth = prefix.length;
return (
<Box flexDirection="row">
<Box flexDirection="row" marginTop={1}>
<Box width={prefixWidth}>
<Text color={Colors.AccentYellow}>{prefix}</Text>
</Box>