Add agent sessions layout actions for panel title#293069
Add agent sessions layout actions for panel title#293069
Conversation
Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
|
@copilot add it to the agent sessions layout actions file. also add a maximize panel size and restore panel size action |
… maximize/restore panel actions Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
Done in commit 15e2f63. Created agentSessionsLayoutActions.ts with:
All actions are registered to MenuId.PanelTitle with appropriate context keys. |
|
@copilot wrong files. it should all be in this file: src\vs\workbench\agentSessions\browser\agentSessionsLayoutActions.ts |
…bench/agentSessions/browser/ Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
Fixed in commit f50d453. Moved agentSessionsLayoutActions.ts to src/vs/workbench/agentSessions/browser/ as requested. All import paths have been updated. |
Adds layout actions for agent sessions to the panel title, including hide sidebar, maximize, and restore panel size actions. All actions are organized in a new dedicated file at
src/vs/workbench/agentSessions/browser/agentSessionsLayoutActions.tsfollowing VS Code's architectural patterns.Changes
agentSessionsLayoutActions.tsatsrc/vs/workbench/agentSessions/browser/to organize all agent sessions layout-related actionsagentSessions.contribution.tswith updated import pathsImplementation
Hide Sidebar Action
Maximize/Restore Panel Actions
All actions follow the same pattern as existing panel actions in
panelActions.tswith appropriate context key conditions to show only when relevant.Testing
src/vs/workbench/agentSessions/browser/Original prompt
Created from VS Code.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.