Skip to content

Guided tour at first start#2860

Merged
abose merged 3 commits intomainfrom
ai
Apr 28, 2026
Merged

Guided tour at first start#2860
abose merged 3 commits intomainfrom
ai

Conversation

@abose
Copy link
Copy Markdown
Member

@abose abose commented Apr 28, 2026

Screencast.from.28-04-26.12.14.55.PM.IST.webm

abose added 3 commits April 28, 2026 12:11
Dev-only command (debug.debugOverrides) that surfaces local-service
override toggles without rebuilding. Values are persisted as a single
JSON blob in localStorage under LOCAL_OVERIDES_FOR_PHOIENXI_DEBUG so
any consumer can read flags with one getItem.

First flag: AI_PANEL_LOCAL_OVERRIDE — when set, AIChatPanel switches
the onboarding iframe from production to localhost:5555.

Dialog shows one row per toggle with a checkbox, label, and a small
fa-circle-info icon whose `title` carries the full explanation, so
extra overrides can be added later without growing the dialog body.
A one-shot, app-lifetime onboarding tour that points new users at the
design-mode toggle, the AI sidebar tab, and the New Project button.

Step 1 auto-demos design mode (toggle on, hold 2s, toggle off) so the
visible UI change does the explaining; the tooltip text stays stable.
Subsequent steps are user-driven via the tooltip's Next/Dismiss buttons
— clicking the actual targeted button never advances the tour, giving
the user time to read each prompt.

Gating: the tour waits for LoginService.proTrialStartDialogDismissed so
its overlay never competes with the on-boot pro trial dialog. Falls
back to a 60s timeout for runs where that dialog isn't shown.

Persists completion via PhStore key "phoenixOnboardingTourState"
(version field) so it never re-runs.

Funnel metrics under (GUIDE, "tour", *): start, step1, step2, step3,
dismiss.
@sonarqubecloud
Copy link
Copy Markdown

@abose abose merged commit 978c8a6 into main Apr 28, 2026
12 of 21 checks passed
@abose abose deleted the ai branch April 28, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant