Repository navigation
Add a one-time What's new dialog to the home page - #1445
Merged
Merged
Conversation
Shown once per browser after cookie consent, to new users too: on shared school machines the change is new to the teacher even when the browser is not. Holds back the editor's welcome video for the rest of that page load so a new user doesn't get two dialogs in a row.
|
Preview build will be at |
A new user may see both: What's new on Home, then the video on first opening the editor.
microbit-matt-hillsdon
marked this pull request as ready for review
November 23, 2026 13:26
microbit-matt-hillsdon
added a commit
that referenced
this pull request
Nov 23, 2026
Fixes the e2e failure on `home-page` after #1445: "keeps projects across a reload" saw What's new on the REVIEW stage. The `noWelcome` flag was only in the e2e URL's flag params, which in-app links drop. A reload after following one, e.g. the breadcrumb back to Home, loaded the app without it, and `noWelcome` is only on by default for the local stage. The fixture now sets `noWelcome` in localStorage, which `flags.ts` already reads, so it survives navigation and reloads. Tests that want the first-visit dialogs use `test.use({ welcome: true })`, which replaces the URL option added in #1445.
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.
Introduces the Home page and saved projects to people arriving at the new editor.
currentVersioninWhatsNewDialog.tsxto show it again.noWelcome, like the welcome video.Later we may want to switch to showing it only to returning users who haven't seen it yet (
release-noticeversion ≥ 1), once the announce period is over.