Skip to content

Browser: feature contributions for storage / devtools#303320

Merged
kycutler merged 2 commits intomainfrom
kycutler/storagedevtoolsfeatures
Mar 19, 2026
Merged

Browser: feature contributions for storage / devtools#303320
kycutler merged 2 commits intomainfrom
kycutler/storagedevtoolsfeatures

Conversation

@kycutler
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 19, 2026 21:55
@vs-code-engineering
Copy link
Contributor

vs-code-engineering bot commented Mar 19, 2026

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@jruales

Matched files:

  • src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts
  • src/vs/workbench/contrib/browserView/electron-browser/browserView.contribution.ts
  • src/vs/workbench/contrib/browserView/electron-browser/browserViewActions.ts
  • src/vs/workbench/contrib/browserView/electron-browser/features/browserDataStorageFeatures.ts
  • src/vs/workbench/contrib/browserView/electron-browser/features/browserDevToolsFeature.ts
  • src/vs/workbench/contrib/browserView/electron-browser/features/browserEditorChatFeatures.ts
  • src/vs/workbench/contrib/browserView/electron-browser/features/browserEditorZoomFeature.ts
  • src/vs/workbench/contrib/browserView/electron-browser/features/browserTabManagementFeatures.ts

@vs-code-engineering vs-code-engineering bot added this to the 1.113.0 milestone Mar 19, 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

Refactors the integrated Browser View workbench contribution to move devtools and data storage-related behavior into dedicated feature modules, reducing cross-file coupling and keeping browserViewActions.ts focused on core navigation/find actions.

Changes:

  • Move devtools context tracking + “Toggle Developer Tools” action registration into a new browserDevToolsFeature.ts.
  • Move storage-scope context tracking, storage-clearing actions, and the workbench.browser.dataStorage setting registration into a new browserDataStorageFeatures.ts.
  • Reduce exported surface area by making several context keys file-local and removing devtools/storage-scope context key exports from browserEditor.ts.

Reviewed changes

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

Show a summary per file
File Description
src/vs/workbench/contrib/browserView/electron-browser/features/browserTabManagementFeatures.ts Makes the “browser editor open” context key internal to the feature module.
src/vs/workbench/contrib/browserView/electron-browser/features/browserEditorZoomFeature.ts Makes zoom capability context keys internal to the zoom feature module.
src/vs/workbench/contrib/browserView/electron-browser/features/browserEditorChatFeatures.ts Makes element-selection context key internal to the chat feature module.
src/vs/workbench/contrib/browserView/electron-browser/features/browserDevToolsFeature.ts New feature module that tracks devtools state and registers the devtools toggle action.
src/vs/workbench/contrib/browserView/electron-browser/features/browserDataStorageFeatures.ts New feature module that tracks storage scope, registers clear-storage actions, and registers the data storage setting.
src/vs/workbench/contrib/browserView/electron-browser/browserViewActions.ts Removes devtools/storage actions from the central actions file (now handled by feature modules).
src/vs/workbench/contrib/browserView/electron-browser/browserView.contribution.ts Imports the new feature modules so they are registered as part of the browser view contribution.
src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts Removes devtools/storage-scope context key wiring from the editor itself (now handled via contributions).

…/browserDataStorageFeatures.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@kycutler kycutler enabled auto-merge (squash) March 19, 2026 22:37
@kycutler kycutler merged commit 0c355cb into main Mar 19, 2026
19 checks passed
@kycutler kycutler deleted the kycutler/storagedevtoolsfeatures branch March 19, 2026 22:42
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.

3 participants