Repository navigation
feat(onboarding): add interactive first-run tutorial - #275
Merged
Merged
Conversation
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.
Why
First-time users should understand Red's editing, navigation, Git, and reviewable-agent workflows before being asked to configure the editor or trust changes to their project. The existing release announcement and Learn Red hub also need to coexist with that first-run experience.
What changed
:welcome,:tutorial, and command-palette entries, and retain the existing:learn/:tutorial essentialsworkflow.How to Test
XDG_CONFIG_HOME="$(mktemp -d)" cargo run --and confirm the first interactive frame presents the welcome screen without creating a config file or forcing a release modal.vfor release highlights and theno; confirm the existing full What’s New panel opens and the welcome decision is persisted.:tutorial quick, then attempt to save the practice buffer; verify saving is rejected,:tutorial quitrestores the original buffer/layout, and:tutorial resumerestores unfinished progress.:learnfollowed by:tutorial essentials; verify the existing Learn Red lesson still starts and its contextual:tutorial restart,:tutorial next, and:tutorial quitcontrols remain intact.cargo test -p red --lib -- --test-threads=1(1,955 passed; one intentionally ignored) andcargo clippy --all-targets --all-features -- -D warnings.