mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
feat(frontend): restyle the session transcript as a plain log with collapsible tool details
This commit is contained in:
1 parent
ac0e5d6fa0
commit
8004496f10
30 files changed
+1334
-611
No files matched your search
@@ -36,7 +36,7 @@ export const MessageError = memo(function MessageError({ error }: MessageErrorPr
|
||||
const isAborted = error.type === 'aborted'
|
||||
const tone = isAborted
|
||||
? 'text-muted-foreground'
|
||||
: 'rounded-md border border-destructive/30 bg-destructive/10 px-2 py-1 text-destructive'
|
||||
: 'border-l-2 border-destructive pl-2 text-destructive'
|
||||
|
||||
return (
|
||||
<div role={isAborted ? 'status' : 'alert'} title={error.message} className={`my-1 flex min-w-0 items-start gap-1.5 text-xs ${tone}`}>
|
||||
|
||||
Reference in new issue
Block a user