summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components
diff options
context:
space:
mode:
authorOpeOginni <[email protected]>2026-02-02 13:03:55 +0100
committerGitHub <[email protected]>2026-02-02 06:03:55 -0600
commit50b5168c16c44093d176cebb342c86d005ec14f5 (patch)
treed1d572ea823886a66cf5f5692e626501c5ecbe45 /packages/ui/src/components
parent6b17645f2eadb3d66d9ecd94e04d0ba85ff5d335 (diff)
downloadopencode-50b5168c16c44093d176cebb342c86d005ec14f5.tar.gz
opencode-50b5168c16c44093d176cebb342c86d005ec14f5.zip
fix(desktop): added inverted svg for steps expanded for nice UX (#10462)
Co-authored-by: opencode <[email protected]> Co-authored-by: Aiden Cline <[email protected]> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/ui/src/components')
-rw-r--r--packages/ui/src/components/session-turn.tsx19
1 files changed, 18 insertions, 1 deletions
diff --git a/packages/ui/src/components/session-turn.tsx b/packages/ui/src/components/session-turn.tsx
index 48d6337ed..29c5566a6 100644
--- a/packages/ui/src/components/session-turn.tsx
+++ b/packages/ui/src/components/session-turn.tsx
@@ -610,7 +610,7 @@ export function SessionTurn(
<Match when={working()}>
<Spinner />
</Match>
- <Match when={true}>
+ <Match when={!props.stepsExpanded}>
<svg
width="10"
height="10"
@@ -627,6 +627,23 @@ export function SessionTurn(
/>
</svg>
</Match>
+ <Match when={props.stepsExpanded}>
+ <svg
+ width="10"
+ height="10"
+ viewBox="0 0 10 10"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ class="text-icon-base"
+ >
+ <path
+ d="M8.125 8.125H1.875L5 1.875L8.125 8.125Z"
+ fill="currentColor"
+ stroke="currentColor"
+ stroke-linejoin="round"
+ />
+ </svg>
+ </Match>
</Switch>
<Switch>
<Match when={retry()}>