Conversation
Co-authored-by: sawka <2722291+sawka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add InitPage and NoTelemetryStarPage previews
Add Init and No-Telemetry-Star pages to onboarding preview
Mar 2, 2026
Deploying waveterm with
|
| Latest commit: |
7a734e0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6ddce0d7.waveterm.pages.dev |
| Branch Preview URL: | https://copilot-add-page-previews-to.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
Add Init and No-Telemetry-Star pages to onboarding preview
Complete onboarding preview coverage for init/telemetry-star flow and align preview state wiring
Mar 2, 2026
Contributor
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Other Observations (not in diff)Issues found in unchanged code that cannot receive inline comments:
Details: In preview mode, Suggested fix: const handleStarClick = async () => {
if (isPreviewWindow()) {
window.open("https://github.com/wavetermdev/waveterm?ref=not", "_blank");
return;
}
const clientId = ClientModel.getInstance().clientId;
await RpcApi.SetMetaCommand(TabRpcClient, {
oref: WOS.makeORef("client", clientId),
meta: { "onboarding:githubstar": true },
});
window.open("https://github.com/wavetermdev/waveterm?ref=not", "_blank");
setPageName("features");
};You'll need to import Files Reviewed (3 files)
Positive observations:
|
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 onboarding preview was missing the first two pages in the new-install flow (
InitPageandNoTelemetryStarPage). This update adds those views to the preview and aligns state access with the current store pattern so they render correctly in preview mode.Preview coverage
InitPageandNoTelemetryStarPagetofrontend/preview/previews/onboarding.preview.tsxso the full early onboarding path is visible in the preview server.Settings access modernization
settingsAtomusage inInitPagewith targeteduseSettingsKeyAtom("telemetry:enabled").Preview bootstrap state init
ClientModel.getInstance().initialize(null)infrontend/preview/preview.tsxto ensureclientAtomis initialized in preview runtime without backend client data.🔒 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.