Skip to content

Conversation

@benibenj
Copy link
Contributor

Copilot Generated Description: Update the reporter object in various action items to include an ID for improved telemetry tracking. This change ensures that each action can be uniquely identified in telemetry logs.

Copilot AI review requested due to automatic review settings January 30, 2026 14:01
@benibenj benibenj enabled auto-merge January 30, 2026 14:01
@benibenj benibenj self-assigned this Jan 30, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Jan 30, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the telemetry tracking infrastructure for action widget dropdowns by introducing a required id field to the reporter object while making the name field optional. This change enables unique identification of each dropdown action in telemetry logs through a stable identifier.

Changes:

  • Modified the IActionWidgetDropdownOptions interface to require an id field and make name optional in the reporter object
  • Updated the telemetry event types and classification to include the new id field
  • Updated all call sites across chat-related components to provide both id and name fields in their reporter configurations

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/vs/platform/actionWidget/browser/actionWidgetDropdown.ts Modified the reporter interface to require id and make name optional; updated telemetry event types and classifications
src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.ts Added id field to reporter configuration for ChatWorkspacePicker
src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.ts Added id field to reporter configuration for ChatSessionTypePicker
src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.ts Added id field to reporter configuration for ChatModelPicker
src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.ts Added id field to reporter configuration for ChatModePicker
src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.ts Added dynamic id field using group.id for ChatSession reporter
src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.ts Added id field to reporter configuration for ChatContinueInSession

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bpasero
Copy link
Member

bpasero commented Jan 31, 2026

@benibenj red CI

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants