Architecture: How should Live Preview handle empty universes (no modules)?

Documentation for Sessions

🏗️ Architecture: How should Live Preview handle empty universes (no modules)?

📋 Decision Context

Question:

How should Live Preview handle empty universes (no modules)?

Task: Not specified


🎯 Decision Made

Chosen:

Show clean empty state with guidance instead of misleading Editor Helper UI

Options Considered:

  1. Show fake Editor Helper UI for navigation
  2. Show clean empty state with guidance (chosen)
  3. Show nothing at all (too stark)
  4. Always show Editor Helper regardless of modules

💭 Reasoning

The Editor Helper UI (fake header, sidebar, breadcrumbs, Dashboard page) was confusing users by making it look like there was content when the universe was empty. The RuntimePreviewComponent now checks hasAnyModules() and shows a clean empty state directing users to the Structure tab. The Editor Helper only shows when modules exist but aren't placed in zones.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation