quaex

Blueprint & Configuration Playbook

The entire application shell is powered by the platform blueprint. This guide explains how to extend it safely.

Files to know

Adding a new module

  1. Import an icon from lucide-react (optional).
  2. Use the loadPage("ComponentName") helper for each route. The component must live at src/pages/ComponentName.tsx.
  3. Create a ModuleDefinition with:
    • id — stable identifier used in routing metadata.
    • title, description, summary — used by the shell.
    • category — align with the workspace (e.g. mission-control).
    • routes — array of route definitions (path + component + meta).
    • Optional quickLinks and spotlight arrays to highlight key actions.
  4. Push the module into the target workspace within the workspaces array.

The sidebar, command palette and router will automatically surface the new module.

Adding a workspace

  1. Create a WorkspaceDefinition with id, label, headline, defaultLanding, optional metrics and modules.
  2. Include existing modules or create new ones.
  3. Update platformBlueprint.quickActions if you want to promote workspace-specific flows.

Route metadata tips

Persisted preferences

The selected workspace is stored in localStorage under asuru:workspace. Remove the key to reset the shell to the default workspace.

Validation checklist