Workspace instruction modal for autogen and new workspace

Merged
IB
8mo ago
+797-5

[!IMPORTANT]
Introduces WorkspaceInstructionModal to guide users through workspace features with specific modes and integrates it into the workspace creation and onboarding process.

  • Behavior:
    • Adds WorkspaceInstructionModal to guide users through workspace features in page.tsx and DashboardLayout.tsx.
    • Supports 'first-open' and 'autogen' modes with specific behaviors in WorkspaceInstructionModal.tsx.
    • Tracks user interactions and modal state using local storage in use-workspace-instruction-modal.ts.
  • Integration:
    • Integrates modal into workspace creation flow in CreateWorkspaceModal.tsx and HomeContent.tsx.
    • Uses markNewWorkspaceInstruction to trigger modal display for new workspaces.
  • UI Enhancements:
    • Adds animations and styles for modal transitions in globals.css.
    • Implements carousel functionality for modal steps in WorkspaceInstructionModal.tsx.

This description was created by Ellipsis for f79d45cf33cfbaa4a5940cb9279e888a4585796b. You can customize this summary. It will automatically update as commits are pushed.

Summary by CodeRabbit

Release Notes

  • New Features

    • Added an interactive onboarding modal with video-backed carousel guides for new workspaces.
    • Introduced assistant thread running state tracking and propagation across application components.
    • Added user interaction tracking and fallback handling for generated content flows.
  • Style

    • Enhanced CSS shimmer animation.