Skip to content

fix(vscode): add tooltip to subagent open button - #14930

Merged
marius-kilocode merged 1 commit into
mainfrom
add-subagent-open-tooltip
Oct 8, 2026
Merged

marius-kilocode merged 1 commit into
mainfrom
add-subagent-open-tooltip

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

What Problem This Solves

The open button on a subagent task card in the chat transcript had no tooltip. The stop and continue-in-background buttons next to it both have tooltips, so the missing one was inconsistent and made the button's purpose unclear.

Why This Change Was Made

The open button only had an aria-label. This wraps it in the shared Tooltip component and sources the label from i18n instead of hardcoded English. The label reflects where the subagent opens: an editor tab from the sidebar, or the Agent Manager panel inside Agent Manager.

User Impact

Hovering the open icon on a subagent card now shows "Open sub-agent in tab" in the sidebar or "Open sub-agent in panel" in Agent Manager. The label is translated in all supported languages.

Evidence

Tooltip on the subagent open button in the chat transcript

Validation

  • bun run compile from packages/kilo-vscode/ passes (typecheck, webview typecheck, lint, bundle).
  • i18n unit tests pass (i18n-keys, i18n-unused-keys, agent-manager-i18n-split, language-cache, settings-search).
  • Self-tested in an isolated VS Code instance: a task tool call produced a subagent card, and hovering its open button showed the tooltip.

@github-actions github-actions Bot added the area:vscode VS Code extension label Oct 8, 2026
@kilo-code-bot

kilo-code-bot Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

lgtm

Files Reviewed (23 files)
  • .changeset/subagent-open-tooltip.md
  • packages/kilo-vscode/webview-ui/src/components/chat/TaskToolExpanded.tsx
  • packages/kilo-vscode/webview-ui/src/i18n/ar.ts
  • packages/kilo-vscode/webview-ui/src/i18n/br.ts
  • packages/kilo-vscode/webview-ui/src/i18n/bs.ts
  • packages/kilo-vscode/webview-ui/src/i18n/da.ts
  • packages/kilo-vscode/webview-ui/src/i18n/de.ts
  • packages/kilo-vscode/webview-ui/src/i18n/en.ts
  • packages/kilo-vscode/webview-ui/src/i18n/es.ts
  • packages/kilo-vscode/webview-ui/src/i18n/fa.ts
  • packages/kilo-vscode/webview-ui/src/i18n/fr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/it.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ja.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ko.ts
  • packages/kilo-vscode/webview-ui/src/i18n/nl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/no.ts
  • packages/kilo-vscode/webview-ui/src/i18n/pl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ru.ts
  • packages/kilo-vscode/webview-ui/src/i18n/th.ts
  • packages/kilo-vscode/webview-ui/src/i18n/tr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/uk.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zh.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zht.ts

Reviewed by deepseek-v4.1-flash · Input: 50.2K · Output: 6.9K · Cached: 537.2K

Review guidance: REVIEW.md from base branch main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:vscode VS Code extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants