Merged
Conversation
Co-authored-by: sawka <2722291+sawka@users.noreply.github.com>
Deploying waveterm with
|
| Latest commit: |
0d2504a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://065e7f64.waveterm.pages.dev |
| Branch Preview URL: | https://copilot-add-web-widget-previ.waveterm.pages.dev |
Co-authored-by: sawka <2722291+sawka@users.noreply.github.com>
Co-authored-by: sawka <2722291+sawka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add preview for web widget view
Add preview-safe web widget preview
Mar 14, 2026
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Summary:
All changes are well-implemented and follow defensive coding practices. No issues found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The preview server already had a
sysinfoexample, but thewebwidget could not be previewed because it relies on Electron’s<webview>tag. This change adds a standalonewebpreview and replaces the Electron-only renderer with a preview-safe mock placeholder that surfaces the target URL.Preview server
frontend/preview/previews/web.preview.tsxBlock+ mock workspace/tab/block setup)WebViewModelsees the same block metadata it expects in the appWeb widget fallback in preview
MockBoundary<webview>WebView model hardening
about:blankFocused coverage
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.