This repository was archived by the owner on May 15, 2026. It is now read-only.
feat: enhance subtask button visibility#12359
Draft
roomote-v0[bot] wants to merge 2 commits into
Draft
Conversation
Make the "View task" / "Go to subtask" buttons in ChatRow more visually prominent by using the VSCode link color with a subtle background, replacing the previous muted description foreground color that was barely visible. Changes: - ChatRow.tsx: Updated both "Go to subtask" buttons (newTask tool and subtask_result) to use text-vscode-textLink-foreground with a bg-vscode-textLink-foreground/10 background, font-medium weight, padding, and rounded corners for a button-like appearance - index.css: Added --color-vscode-textLink-activeForeground CSS variable for hover state support Addresses #12358
2 tasks
When a parent task has an active subtask (awaitingChildId is set), a "Show subtask" button now appears in the button bar area: - If no other action buttons are present, it shows as the primary button - If action buttons are already showing (e.g. resume_task), it appears as a secondary button alongside them This prevents users from missing that a subtask is running and accidentally interacting with the wrong task. Includes 4 new tests for the Show subtask button behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR attempts to address Issue #12358. Feedback and guidance are welcome.
Problem
The "View task" / "Go to subtask" buttons in the chat view were using
text-vscode-descriptionForeground, making them barely visible and easy to miss -- especially when a subtask is interrupted by a question and the user needs to navigate to it.Additionally, when a subtask is actively running, the parent task had no clear indicator in the button bar area, making it easy to accidentally interact with the wrong task.
Changes
1. Enhanced "View task" button styling (
ChatRow.tsx)newTasktool section and thesubtask_resultsection) to use:text-vscode-textLink-foregroundfor the link color (matching VSCode link styling)bg-vscode-textLink-foreground/10subtle background withhover:bg-vscode-textLink-foreground/20font-mediumweight for better readabilitypx-2 py-1 roundedpadding and border radius for a button-like appearancetransition-colorsfor smooth hover effect2. "Show subtask" button in ChatView button bar (
ChatView.tsx)awaitingChildIdis set):showTaskWithId3. i18n keys (
en/chat.json)subtasks.showActiveSubtaskandsubtasks.showActiveSubtaskTooltipkeys4. CSS variable (
index.css)--color-vscode-textLink-activeForegroundCSS variableTesting