Repository navigation
Conversation
New installs open a welcome deck of eight chapters (workspaces, chats, worktrees, pull requests, machines, the phone app, customizing) once the window is active. Show me on four chapters dims the window except the sidebar, tab row, activity bar, or status bar, measured from where they were last laid out, and Continue returns to the deck at the next chapter. The offer is made once, only to an install with no saved window, and is spent however the tour opens; it is saved beside the other one-time offers, never on a daemon. The browser-skill and app-rename offers now wait while the tour shows. It replays from Help > Take the Tour, the palette's take_tour command, and `sheprd ui tour [CHAPTER]`, whose chapter names live once in sheprd-control-protocol. The tour is an overlay of its own rather than a menu page: it covers the whole window, holds the keyboard while open, and fades in and out through crate::motion.
# Conflicts: # crates/sheprd-gpui/src/window/render.rs # docs/cli.md
[Medium impact] The PR appears safe to merge; no new actionable issues remain. SummaryAdds a first-run welcome tour with eight chapters, spotlights, and replay through Help, the command palette, and the CLI.
Reviews (4) · Last reviewed commit: "fix(onboarding): open each tour chapter ..." · Reviewed by Greptile |
… text size On Windows native browser pages draw above the window, so they now hide while the tour is drawn, its fade out included, as under a dimmed menu; on macOS pages refuse drops meanwhile. The Chats spotlight lights the tab strips where they were last drawn, measured each frame and joined across groups, so it follows tabs placed below the groups and offers no Show me while the strips step aside, as in zen mode or with a single tab and hide_tab_bar_when_single_tab. The deck grows with the interface text from its 12 pt default; the chapter's words and the chapter list scroll, and the footer wraps its buttons rather than clip them.
Collaborator
Author
|
@greptileai review |
The chapter's words share one scroll handle, which now returns to the top whenever another chapter shows, so a chapter read partway down with large text does not leave the next one scrolled past its title.
Collaborator
Author
|
@greptileai review |
This branch has not been deployed
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.
Summary
A first-run welcome tour, from the onboarding mockup round (picks: A, Welcome deck as the tour; B, Spotlight for pointing at the window).
window/body.rs), so it follows right-to-left layouts, a hidden status bar, or no activity bar. Continue tour goes to the next chapter and Escape returns to the deck. A part that is hidden offers no Show me.tour.jsonbeside the other one-time offers, never on a daemon. The browser-skill and app-rename offers now wait while the tour shows; before, the skill offer could claim the first run's window first.take_tourpalette command, andsheprd ui tour [CHAPTER]. Chapter names are defined once, insheprd-control-protocol(TourChapter). Added todocs/cli.md, the agent skill, and the website Quick start.The tour is an overlay of its own rather than a menu page: it covers the whole window, holds the keyboard while open (app shortcuts with Cmd/Ctrl still pass), fades through
crate::motion, and waits behind any menu that opens over it. It reads the window only: it starts nothing and asks the daemon nothing.Not in this PR: one-time feature tips (a spotlight the first time someone reaches a pull request tab, a chat, Add Device), and translations of
tour.ftl. Japanese and Chinese fall back to English.Screenshots
None yet. Screen capture is refused to agent processes on the machine this was built on, so no native capture was taken. The deck and spotlight were checked live in a release bundle (below) and with headless layout tests. Before and after screenshots are still owed.
QA
cargo test -p sheprd-gpui --lib -- tour:: ui_tour menus:: skill_offer app_rename: 69 passed (after mergingmain)cargo test -p sheprd-control-protocol -p sheprd-commands: all passedcargo clippy -p sheprd-control-protocol -p sheprd-commands -p sheprd-gpui --lib --tests: clean (before the merge ofmain)just check-file-size,just check-sorted,just check-i18n,cargo fmt --all --check,git diff --check: passcargo test -p sheprd-gpui --libbefore the merge: one failure from this change (menu names), since fixed.fleet::tests::scrub::{the_scrub_runs_the_installed_agent_never_another_on_path, a_daemon_program_without_fleet_scrub_is_left_alone}also fail locally when run alone; they run a shell script on this machine and touch nothing here. Left to CI.just bundle) run in a sandbox HOME as a new install:sheprd ui touropened the deck in the window. The first-run offer stayed pending while the window was not the key window, as intended.window-state.json. No tour; Help › Take the Tour opens it.en-XBpseudo-locale in QA).sheprd ui tour chatsopens the deck at Chats; with a dialog that cannot close, it exits 6.🤖 Generated with Claude Code