fix: resolve viewId inconsistency in WebPreviewProvider #5982
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes the viewId inconsistency issue identified in PR #5981.
Changes
"roo-code.webPreview"to"roo-cline.WebPreviewProvider"inWebPreviewProvider.tsto match the ID used inpackage.jsonandregisterCommands.tsContext
This fix addresses the review comment from ellipsis-dev bot in PR #5981. The security vulnerabilities mentioned in the GitHub Advanced Security comments were already addressed in the original PR through proper URL validation and sanitization.
Testing
Relates to #5971
Important
Fixes
viewIdinconsistency inWebPreviewProviderand adds documentation and tests for the Web Preview feature.viewIdfrom"roo-code.webPreview"to"roo-cline.WebPreviewProvider"inWebPreviewProvider.tsto matchpackage.jsonandregisterCommands.ts.docs/web-preview.mdto document the Web Preview feature.WebPreviewProvider.spec.tsto cover new functionality.openWebPreviewcommand inregisterCommands.tsto focus on the web preview panel.README.mdto include web application preview feature.preview.jsineslint.config.mjs.This description was created by
for a125c4b. You can customize this summary. It will automatically update as commits are pushed.