Session 49 - Universe Creation Flow Fix

Fix universe creation wizard to redirect to unified-builder instead of standalone canvas

Session 49: Universe Creation Flow Fix

Overview

This session fixes the universe creation flow redirection issue. After creating a universe through the dashboard wizard, users were being redirected to the standalone /canvas route instead of the /builder (unified-builder) route.

Problem

In universe-creation-wizard.component.ts, after creating a universe, the wizard was navigating to:

const targetUrl = `/space/${spaceSlug}/universe/${universeSlug}/canvas`;

This is the standalone canvas, which doesn't integrate all the tools.

Solution

Changed the navigation target to the unified-builder:

const targetUrl = `/space/${spaceSlug}/universe/${universeSlug}/builder`;

The unified-builder is the correct destination because:

  1. Split-view AI + Canvas: Provides the full builder experience with AI Generator on one side and Canvas on the other
  2. Tool Integration: Integrates all tools (AI Generator, Canvas, Preview, Structure View, Page Builder, Logic Builder, Layout Builder)
  3. Session 48 Architecture: Per session 48 architecture decisions, this is the new standard for building universes
  4. Better UX: Users can immediately start using AI to generate modules while seeing the results in the canvas

Files Modified

Key Changes

// Before (line 443):
const targetUrl = `/space/${spaceSlug}/universe/${universeSlug}/canvas`;

// After:
const targetUrl = `/space/${spaceSlug}/universe/${universeSlug}/builder`;

Fallback Order

The navigation now follows this fallback order:

  1. Primary: /builder (unified-builder)
  2. Fallback 1: /canvas (standalone canvas)
  3. Fallback 2: /dashboard (space dashboard)

Template Selection

The template selection options in the wizard ARE working correctly. They:

  1. Initialize universe modules based on template (initializeUniverseModules)
  2. Seed template-specific data (TemplateSeedingService.seedUniverse)
  3. Start onboarding flow (OnboardingService.startFlow)

The modules created depend on the selected template:

Related Sessions

Decision Logged


Session Started: January 16, 2026 Status: Complete