AI-First Starting UX: Landing screen shell for new workflow creation#4887
Open
lmac-1 wants to merge 2 commits into
Open
AI-First Starting UX: Landing screen shell for new workflow creation#4887lmac-1 wants to merge 2 commits into
lmac-1 wants to merge 2 commits into
Conversation
When a user navigates to /w/new, show a full-screen overlay before they reach the empty canvas. The overlay presents three entry points: - Build with AI (textarea + submit, shown when AI assistant is enabled) - Browse Templates - Import from YAML The action handlers are stubs for now, wired up in follow-on issues #4857 (Build with AI), #4858 (Browse Templates), and #4859 (Import YAML). Implementation notes: - Adds showLandingScreen boolean to UIStore, initialised to true when isNewWorkflow is true, with a dismissLandingScreen() action - Hides the breadcrumb/header bar while the landing screen is visible - Guards the existing empty-canvas placeholder with !showLandingScreen so they don't render simultaneously (TODO: remove placeholder in #4856 once landing screen is fully stable) - Adds CSS design tokens for border-subtle, border-strong, surface-subtle, and semantic-success used by the landing screen UI
Security Review ✅
|
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.
Part of #4848 epic. Merges into
4848-ai-first-starting-ux-parentparent branchWhat this adds
A React overlay that replaces the bare
/w/newcanvas. When a new user creates a new workflow, they see three options: Build with AI, Browse Templates and Import from YAML. Each downstream path is stubbed - callback props are wired, nothing is connected yet.Closes #4856
Key files
Design decisions
!isNewWorkflow, not!showLandingScreen. The header must stay hidden while the user is on the "Build with AI" path (pink toolbar state) —showLandingScreenis already false at that point but no workflow exists yet. Gating onshowLandingScreenwould expose the header prematurely.openAIAssistantPanel, etc.) andaiAssistantEnabledis already a prop onCollaborativeEditor. Staying in the same layer avoids a React/LiveView boundary at every handoff.LandingScreenWrapperinner-component patternCollaborativeEditorsits outsideStoreProviderand can't call hooks directly. Same pattern asBreadcrumbContent— a small inner component rendered inside the provider reads the store and returnsnullor<LandingScreen>.Out of scope (intentional)
Additional notes for the reviewer
AI Usage
Please disclose whether you've used AI anywhere in this PR (it's cool, we just
want to know!):
You can read more details in our
Responsible AI Policy
Pre-submission checklist
/reviewwith Claude Code)
(e.g.,
:owner,:admin,:editor,:viewer)