Skip to content

Conversation

@marcklingen
Copy link
Member

@marcklingen marcklingen commented Oct 19, 2025

Important

Adds a new onboarding page with components for goal selection, plan visualization, and progress tracking, including support for URL parameters and localStorage.

  • Onboarding Page:
    • Adds OnboardingPage component in OnboardingPage.tsx to manage onboarding flow with goal selection and plan visualization.
    • Supports URL parameter parsing for pre-selecting goals and presets.
    • Utilizes localStorage to save and load user progress.
  • Components:
    • Checklist.tsx: Displays a checklist of guides with progress tracking and export to Markdown functionality.
    • GraphCanvas.tsx: Visualizes the onboarding plan as a graph using @xyflow/react.
    • JtbdPicker.tsx: Allows users to select JTBDs (Jobs To Be Done) with optional filtering.
    • PresetSidebar.tsx: Displays preset personas for quick goal selection.
    • Toolbar.tsx: Provides navigation and action buttons for the onboarding process.
  • Data and Utilities:
    • data.ts: Defines data models and helper functions for building onboarding plans.
    • Adds @radix-ui/react-checkbox and @xyflow/react to package.json dependencies.
  • UI Components:
    • alert.tsx and checkbox.tsx: Introduce UI components for alerts and checkboxes.
  • Documentation:
    • Adds onboarding.mdx to document the onboarding process.
    • Updates _meta.tsx to include onboarding in the documentation menu.

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

@vercel
Copy link

vercel bot commented Oct 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
langfuse-docs Ready Ready Preview Oct 23, 2025 3:34pm

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Oct 19, 2025
@marcklingen marcklingen marked this pull request as draft October 19, 2025 14:28
@dosubot dosubot bot added the enhancement New feature or request label Oct 19, 2025

const handleExport = () => {
const markdown = planToMarkdown(plan);
navigator.clipboard.writeText(markdown).then(() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding error handling for navigator.clipboard.writeText in case the clipboard API fails.

@github-actions
Copy link

github-actions bot commented Oct 19, 2025

📦 Next.js Bundle Analysis for langfuse-docs

This analysis was generated by the Next.js Bundle Analysis action. 🤖

New Page Added

The following page was added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (350 KB)
/docs/onboarding 121.37 KB 517.83 KB 147.95%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants