Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Do action on session click
  • Loading branch information
osortega committed Jul 21, 2025
commit 5137bbe6bea7d32644907fdd698bd432254ef49d
11 changes: 10 additions & 1 deletion src/vs/workbench/contrib/chat/browser/actions/chatActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,16 @@ export function registerChatActions() {
);
return;
} else if ((item as ICodingAgentPickerItem).uri !== undefined) {
// TODO: handle click
// TODO: This is a temporary change that will be replaced by opening a new chat instance
if (item.buttons && item.buttons.length > 0) {
const pickedItem = (item.buttons[0] as ICodingAgentPickerItem);
if (pickedItem.id) {
commandService.executeCommand(pickedItem.id, {
uri: (item as ICodingAgentPickerItem).uri,
$mid: MarshalledId.ChatSessionContext
});
}
}
return;
}

Expand Down
Loading