Skip to content

feat(vs-extension): remove Page Designer Assistant webview#467

Open
clavery wants to merge 1 commit into
mainfrom
feat/remove-pd-assist
Open

feat(vs-extension): remove Page Designer Assistant webview#467
clavery wants to merge 1 commit into
mainfrom
feat/remove-pd-assist

Conversation

@clavery
Copy link
Copy Markdown
Collaborator

@clavery clavery commented Jun 4, 2026

Summary

Removes the Page Designer Assistant webview and its b2c-dx.openUI ("Open Page Designer Assistant UI") command from the VS Code extension. This was an old webview-based feature that rendered an HTML form and generated a Storefront Next page .tsx file from a template.

The SCAPI API Browser / Swagger UI webview is a separate, actively-used feature and is left intact.

Changes

  • src/extension.ts — remove the b2c-dx.openUI command, its webview/form-submit handler, related helpers (getWebviewContent, pageNameToPageId, pageNameToFileNameId, renderTemplate, RegionForm/WebviewMessage types), the activation-failure stub, and now-unused fs/markFeatureUsed imports
  • src/webview.html, src/template/_app.pageId.tsx — deleted
  • src/telemetry.ts — drop 'pageDesigner' from FeatureCategory
  • package.json — remove the b2c-dx.openUI command contribution
  • .c8rc.json — drop the now-gone coverage excludes
  • README.md, docs/vscode-extension/configuration.md — remove Page Designer Assistant references
  • src/test/integration/activation.test.ts — update stub-command comment (three → two)

@clavery clavery requested a review from wei-liu-sf as a code owner June 4, 2026 16:28
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.

1 participant