Skip to content

Commit 1dddb81

Browse files
opencode-agent[bot]iamdavidhillHona
authored
fix(app): show the review icon on the files changed tab (#58358)
Co-authored-by: iamdavidhill <1879069+iamdavidhill@users.noreply.github.com> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
1 parent d5bee9e commit 1dddb81

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎packages/gui-plugins/src/review/renderer.tsx‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
untrack,
1212
} from "solid-js"
1313
import { createStore } from "solid-js/store"
14+
import { Icon } from "@opencode/ui/icon"
1415
import type { FileDiffInfo } from "@opencode/client/promise"
1516
import {
1617
Command,
@@ -121,6 +122,13 @@ const setup: Plugin.Setup<typeof Review> = (ctx) => {
121122
get title() {
122123
return count() > 0 ? ctx.plural("tab.count", count()) : ctx.t("tab.title")
123124
},
125+
// The same icon as the empty changes view.
126+
label: () => (
127+
<div class="flex items-center gap-1.5">
128+
<Icon name="review" size="small" />
129+
<span>{tab.title}</span>
130+
</div>
131+
),
124132
// Without focusable content the panel itself joins the tab order.
125133
get tabbable() {
126134
return !(count() > 0 || layout.sidebar.opened())

0 commit comments

Comments
 (0)