feat(vscode): implement Workflows sub-tab in Agent Behaviour settings#7648
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (27 files)
Reviewed by gpt-5.4-20260305 · 1,237,540 tokens |
Replace the placeholder Workflows sub-tab with a functional view that lists custom commands from config.command. Each entry shows the command name (with / prefix), description, and the command template. Includes a description paragraph explaining how workflows work and how to invoke them via /command-name in chat. Shows an empty state when no custom commands are configured. Closes #7601
…mmand The CLI's Config.Command uses 'template' not 'command' for the command body. Update CommandConfig type to match and use cmd.template in the workflows subtab display.
Add two stories for the Workflows subtab in AgentBehaviourTab: - AgentBehaviourWorkflows: shows commands list with descriptions - AgentBehaviourWorkflowsEmpty: shows empty state Also adds a reusable SubtabWrapper helper that clicks into a specific subtab on mount, similar to EditModeWrapper.
Create a dedicated agent-behaviour directory within settings components and add a standalone WorkflowsTab component, preparing for further extraction of subtab content from the monolithic AgentBehaviourTab.
…Subtab Replace the inline renderWorkflowsSubtab function in AgentBehaviourTab with the extracted WorkflowsTab component from agent-behaviour/.
…x clipping The StoryProviders wrapper adds 12px padding on each side, so a 420px inner div inside a 420px viewport overflows by 24px, clipping content on the right edge. Remove the width constraint and let the content fill the padded container naturally.
Workflow commands are now collapsed by default, showing only the name and description. Clicking the chevron or row expands the full detail view with description and template (using pre-wrap, not truncated). Matches the existing MCP server expand/collapse pattern. Adds i18n keys for workflow detail labels across all 18 locales.
599920a to
8beb615
Compare
chrarnoldus
approved these changes
Mar 26, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
config.command, showing:/prefix (monospace)/command-namein chatCloses #7601