Agentic UI: Add a first-run orientation guide - #4331
Conversation
…tion-guide # Conflicts: # apps/studio/src/storage/storage-types.ts
📊 Performance Test ResultsComparing 2830a95 vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
| title: () => __( 'Welcome to WordPress Studio' ), | ||
| description: () => | ||
| __( | ||
| 'Every site you build lives in the sidebar on the left. Switch between them anytime. The sidebar is where you’ll find site settings and a quick way to start and stop your site.' |
There was a problem hiding this comment.
We would need to make sure we are clear here for RTL because it would be on the right. Maybe, we can add the translators comment to clarify this.
| description: () => | ||
| __( | ||
| 'Every site you build lives in the sidebar on the left. Switch between them anytime. The sidebar is where you’ll find site settings and a quick way to start and stop your site.' | ||
| ), |
katinthehatsite
left a comment
There was a problem hiding this comment.
Overall, this is looking good 👍 I left some minor comments that can help avoid potential user's confusion
|
While the tour is open, I'm unable to move the app window—there doesn't seem to be any draggable area. |
| illustration: 'sites', | ||
| title: () => __( 'Welcome to WordPress Studio' ), | ||
| description: () => | ||
| /* translators: "on the left" describes the sidebar in left-to-right layouts; in right-to-left languages it sits on the right — adapt the direction accordingly. */ |
There was a problem hiding this comment.
Nice, thanks for adding those 👍
|
@shaunandrews @katinthehatsite I've made some updates, can you take another look, please? 🙇 |
…4441) ## Related issues - Part of [STU-2016](https://linear.app/automattic/issue/STU-2016) - Stacked on #4331 (base branch is `stu-2016-add-orientation-guide`); retarget to `trunk` once that merges. >⚠️ Visual change: needs human review in light + dark mode. ## How AI was used in this PR Built and iterated interactively with Claude Code. ## Proposed Changes <img width="499" height="484" alt="image" src="https://github.com/user-attachments/assets/49f20429-028d-485c-a540-679b08480c87" /> <img width="507" height="469" alt="image" src="https://github.com/user-attachments/assets/0bd12948-6060-493d-9a7a-d38a2ea84be5" /> Replaces the orientation guide's placeholder header art with animated illustrations that *show* the workbench rather than describe it. - **Page 1 (sites):** a real-looking sidebar row where a cursor drifts in, hovers the site-overview button, then clicks the status button to start the site — stopped → starting → running — with the tooltips it would really show. Loops. - **Page 2, signed in (chat):** a one-time playback of Studio Code — the composer types a prompt, sends it (dropping off-stage and flipping to its busy state) as the prompt becomes a user bubble, the reply streams in, and a tool call appears and keeps working. A subtle Replay control restarts it. Both are theme-adaptive and respect reduced motion. They're built as a small reusable system (a `Stage` + `Cursor` and an id-keyed scene registry) so more scenes can be added without bespoke plumbing. The "manage your site" (overview) and preview illustrations remain placeholders for follow-up. ## Testing Instructions 1. `npm run cli:build:ui` (the agentic UI isn't rebuilt by the normal dev watcher). 2. Enable the **Agentic UI** beta and open a site's workbench. 3. **Help ▸ Getting Started** — page 1 shows the sites animation. 4. Signed in with Studio Code on, page 2 shows the chat animation; the Replay control (top-left) restarts it. 5. Verify in **light and dark**, and with **reduced motion** enabled (scenes settle on a clean static frame). ## Pre-merge Checklist - [x] TypeScript / lint / build pass for the changed files. - [ ] Human visual review in light + dark mode. --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>







Related issues
How AI was used in this PR
Implemented with Claude Code; Reviewed and tested manually.
Proposed Changes
Adds a first-run orientation guide to the agentic UI — a focused three-page modal that introduces the sidebar, Studio Code, and the live preview. It opens once on first arrival in the workbench and can be reopened anytime from Help ▸ Getting Started.
The copy adapts to the user:
Seen-state persists (desktop
app.json, browserlocalStorage) and is versioned, so it never nags but can be re-shown after a redesign.Testing Instructions
Pre-merge Checklist