GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(session-ui): remove agent finish checkmark (#59646) · abn/opencode@320445a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • app/e2e/regression
      • timeline-stream.spec.ts
    • session-ui/src/timeline
      • session-timeline-row.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/app/e2e/regression/timeline-stream.spec.ts‎

Copy file name to clipboardExpand all lines: packages/app/e2e/regression/timeline-stream.spec.ts
+1-18Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -633,24 +633,7 @@ test("shows a background subagent's outcome as its own row where it finished", a
633633
])
634634
await expect(notice).toHaveAttribute("data-outcome", "completed")
635635

636-
// The outcome icon starts at the column edge like the subagent card, in a 16px box centered on the text line and
637-
// clear of the label; the exact gap is styling.
638-
await expect
639-
.poll(async () => {
640-
const [card, icon, label] = await Promise.all([
641-
page.locator('[data-component="task-tool-card"]').boundingBox(),
642-
notice.locator('[data-slot="icon-svg"]').boundingBox(),
643-
notice.locator(":scope > bdi").boundingBox(),
644-
])
645-
646-
return {
647-
inset: icon!.x - card!.x,
648-
size: [icon!.width, icon!.height],
649-
separated: label!.x - icon!.x - icon!.width > 0,
650-
centered: Math.abs(icon!.y + icon!.height / 2 - (label!.y + label!.height / 2)) <= 0.5,
651-
}
652-
})
653-
.toEqual({ inset: 0, size: [16, 16], separated: true, centered: true })
636+
await expect(notice.locator('[data-slot="icon-svg"]')).toHaveCount(0)
654637
await notice.click()
655638
await expect(page).toHaveURL(new RegExp(`/session/${childID}$`))
656639
})
Collapse file

‎packages/session-ui/src/timeline/session-timeline-row.tsx‎

Copy file name to clipboardExpand all lines: packages/session-ui/src/timeline/session-timeline-row.tsx
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ export function createSessionTimelineRowRenderer(input: {
566566
label: i18n.t(outcomeNoticeKey(outcome), { actor }),
567567
data: message.description,
568568
outcome,
569-
icon: source === "shell" && outcome === "completed" ? undefined : outcomeNoticeIcon(outcome),
569+
icon: outcomeNoticeIcon(outcome),
570570
}
571571
}
572572

@@ -1282,8 +1282,6 @@ function outcomeNoticeIcon(outcome: Outcome) {
12821282
if (outcome === "error") return "warning"
12831283

12841284
if (outcome === "cancelled") return "circle-ban-sign"
1285-
1286-
return "check"
12871285
}
12881286

12891287
function outcomeNoticeColor(outcome: Outcome | undefined) {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.