Skip to content

Change base ids for ui elements to not conflict with other extensions#91

Merged
mattwar merged 4 commits into
mainfrom
user/mattwar/IdsChange
Apr 28, 2026
Merged

Change base ids for ui elements to not conflict with other extensions#91
mattwar merged 4 commits into
mainfrom
user/mattwar/IdsChange

Conversation

@mattwar

@mattwar mattwar commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings April 28, 2026 00:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 extension’s contributed VS Code UI identifiers (views, view containers, and related drag-and-drop MIME types) to use a more unique msKustoExplorer-* prefix to reduce collisions with other extensions.

Changes:

  • Renamed contributed view IDs / view container IDs in package.json and updated related when clauses for menus and webview context menus.
  • Updated runtime registrations/usages to match the new view IDs (TreeViews and Results webview view provider/focus commands).
  • Updated the Scratch Pad integration test to focus the renamed view.

Reviewed changes

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

Show a summary per file
File Description
src/Client/tests/integration/scratchPadPanel.test.ts Updates the focus command to match the renamed Scratch Pads view ID.
src/Client/package.json Renames view container + view IDs and updates menu/webview-context when clauses accordingly.
src/Client/features/scratchPadPanel.ts Updates Scratch Pads TreeView ID and its drag-and-drop MIME type to match the new view ID.
src/Client/features/resultsViewer.ts Updates panel Results view provider registration and focus commands to the renamed results view ID.
src/Client/features/historyPanel.ts Updates History TreeView ID to the renamed view ID.
src/Client/features/connectionsPanel.ts Updates Connections TreeView ID and drag-and-drop MIME types to match the renamed view ID.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Client/package.json
Copilot AI review requested due to automatic review settings April 28, 2026 02:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Server/Settings/ConnectionSettings.cs
Comment thread src/Server/Settings/ChartSettings.cs
Comment thread src/Client/features/scratchPadManager.ts
Comment thread src/Client/package.json
Comment thread src/Client/features/resultsViewer.ts
Comment thread src/Server/Settings/FormatSettings.cs
…etted as subtraction in when clauses

Co-authored-by: Copilot <copilot@github.com>
@mattwar mattwar merged commit b321561 into main Apr 28, 2026
5 checks passed
@mattwar mattwar deleted the user/mattwar/IdsChange branch April 28, 2026 16:37
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.

2 participants