@W-22799934: Onboarding walkthrough#466
Open
amit-kumar8-sf wants to merge 5 commits into
Open
Conversation
@W-22210602 Adds a 5-phase getting-started walkthrough that guides users through CLI install, dw.json setup, OAuth/Basic auth, cartridge deploy, and scaffold generation. Includes a role-based onboarding panel with persona-specific paths (Storefront, API/Integration, DevOps, AI-augmented). Resolved Config inspect panel: - Mask secrets as a lock pill instead of first-4 preview - Stats strip with field/source/secret counts - Source-tinted pills, zebra-striped table, accent-bordered group cards Scaffold: - Always generate cartridges into <workspace>/cartridges so the Cartridges view picks them up without dw.json configuration - Explicit Cartridges-view refresh after .project creation, since the **/.project FileSystemWatcher can race scaffold writes
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
Adds a guided onboarding experience to the B2C DX VS Code extension. Replaces the static walkthrough
with a persona-driven Onboarding Panel (Storefront, API/Integration, DevOps/Release, AI-augmented)
that walks new developers through CLI install,
dw.jsonsetup, OAuth/WebDAV/SCAPI credentials,sandbox connect, cartridge deploy, and Code Sync — each step targeting the active config in
dw.jsonrather than the last entry. Also bundles one-click installers for B2C agent skills + MCPacross Claude Code, Cursor, Copilot, Windsurf, Codex, and OpenCode.
Key changes:
src/walkthrough/module: onboarding panel, persona/step catalog, scoped per-step setupcommands (
b2c-dx.setup.connection|oauth|webdav|scapi), inspect/validate/accessibility helpers, andstep-detection utilities.
ok | no-provider | no-instance | no-code-version | error) with WebDAVPROPFINDfallback when OCAPI lacks permissions — no more generic "OAuth notconfigured or instance unreachable" message.
oauth-scopesas a JSON array (was breaking AM token requests when stored as aspace-separated string) and warns that pinning shopper-* scopes can break Sandbox Explorer if the AM
client isn't registered for them.
readActiveInstanceName/ensureActiveInstanceName, so OAuth/WebDAV/SCAPI updates land on the active entry, not the lastone.
media/walkthrough/.Testing
against a real sandbox:
Config inspector correctly.
code-version / actual error) and falls back to WebDAV when OCAPI returns 403.
oauth-scopesis written asstring[]and Realm Explorer / Sandbox Explorer load withthe resulting config.
pnpm run typecheck:agentandpnpm run lint:agentclean inpackages/b2c-vs-extension.src/walkthrough/test/commands.test.tsMocha suite passes viapnpm --filter b2c-vs-extension test.Dependencies
3pl-approvedis set by a maintainerpnpm test)pnpm run format)