mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 03:56:55 +03:00
fix(tui): drop error icon from exploration groups (#53363)
Co-authored-by: jlongster <17031+jlongster@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
eb2f0d5e5d
commit
ef07075156
@@ -126,7 +126,6 @@ function GroupContent(props: GroupProps) {
|
||||
)
|
||||
return `${completed() ? "Explored" : "Exploring"}: ${names.join(", ")}`
|
||||
})
|
||||
const failed = () => tools().some((part) => part.state.status === "error")
|
||||
const toggle = disclosure.toggle
|
||||
const children = (mode: "normal" | "thought" | "tool") => (
|
||||
<Children {...props} nodes={props.node.children} mode={mode} />
|
||||
@@ -143,7 +142,7 @@ function GroupContent(props: GroupProps) {
|
||||
<Show when={grouped()} fallback={children("normal")}>
|
||||
<Show when={tools().length > 0}>
|
||||
<InlineToolRow
|
||||
icon={failed() ? "✗" : completed() ? "→" : "✱"}
|
||||
icon={completed() ? "→" : "✱"}
|
||||
color={hover() ? theme.text.base : theme.text.muted}
|
||||
complete={completed()}
|
||||
pending={label()}
|
||||
|
||||
Reference in New Issue
Block a user