MCPcopy Index your code
hub / github.com/aliezzahn/event-timeline-roadmap

github.com/aliezzahn/event-timeline-roadmap @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
297 symbols 735 edges 76 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Event Timeline Roadmap aliezzahn

Awesome CI CD

shadcn/ui Roadmap Timeline

A highly customizable, animated roadmap timeline component built with shadcn/ui, React, Framer Motion, and Recharts. This component combines a vertical event timeline with an integrated analytics dashboard, offering a comprehensive view of project milestones and progress.

Features

  • Vertical Timeline: Expandable cards with a centered timeline, status indicators (past, current, future), and type categorization.
  • Analytics Dashboard: Interactive charts including progress bars, status distribution pie, completion trends, type breakdowns, completion estimates, and event density heatmaps.
  • Type Categorization: Events tagged with types (e.g., Development, Marketing) displayed as color-coded badges and summarized per period.
  • Dark Theme Support: Seamlessly integrates with Next.js next-themes and custom CSS variables from global.css for light/dark mode switching.
  • Dynamic Period Formatting: Supports quarterly (e.g., Q1 2025) or half-year (e.g., H1 2025) periods.
  • Visual Feedback: Progress bars, checkmarks, and status-specific styling (e.g., green for past, yellow for current).
  • Smooth Animations: Framer Motion powers card expansions, transitions, and progress animations.
  • Exportable Data: Download analytics data as JSON with a single click.
  • Customizable: Tailwind CSS with custom theme variables (--card, --chart-1, etc.) and extensible via props and data.

Dependencies

  • React
  • Framer Motion (npm install framer-motion)
  • Lucide React (npm install lucide-react)
  • Recharts (npm install recharts)
  • Next Themes (npm install next-themes)
  • shadcn/ui (Card)

Notes

  • Timeline:
    • Cards expand on click with progress bars and type badges.
    • Status (past, current, future) affects styling and timeline markers.
    • Type summaries (e.g., "2 Development, 1 Marketing") appear in card headers.
  • Analytics Dashboard:
    • Features filterable tabs (Overview, Types, Estimates, Density).
    • Charts are responsive but fixed at 300x200px; adjust via Recharts props if needed.
    • Data export saves as roadmap-analytics.json.
  • Theme Integration:
    • Relies on next-themes with attribute="class" and your global.css variables.
    • No explicit useTheme needed; CSS variables handle light/dark switching.
  • Performance: Uses useMemo for event rendering to optimize re-renders.

Contributing

Submit issues or pull requests to enhance this component! Ideas for new chart types, additional filters, or improved UX are welcome.

Extension points exported contracts — how you extend this code

BlockPreviewProps (Interface)
(no doc)
src/components/block-preview.tsx
CustomCurvedArrowProps (Interface)
(no doc)
src/app/dynamic-path-arrow/custom-curved-arrow.tsx
Coordinates (Interface)
(no doc)
src/app/dynamic-path-arrow/custom-curved-arrow.tsx

Core symbols most depended-on inside this repo

cn
called by 207
src/lib/utils.ts
getEventStatus
called by 7
src/app/modern/page.tsx
loadCode
called by 6
src/app/page.tsx
formatPeriod
called by 6
src/app/modern/page.tsx
useCarousel
called by 4
src/components/ui/carousel.tsx
useSidebar
called by 4
src/components/ui/sidebar.tsx
useFormField
called by 4
src/components/ui/form.tsx
exportData
called by 4
src/app/modern/page.tsx

Shape

Function 294
Interface 3

Languages

TypeScript100%

Modules by API surface

src/components/ui/sidebar.tsx25 symbols
src/components/ui/menubar.tsx16 symbols
src/components/ui/dropdown-menu.tsx15 symbols
src/components/ui/context-menu.tsx15 symbols
src/components/ui/alert-dialog.tsx11 symbols
src/components/ui/sheet.tsx10 symbols
src/components/ui/select.tsx10 symbols
src/components/ui/drawer.tsx10 symbols
src/components/ui/dialog.tsx10 symbols
src/components/ui/command.tsx9 symbols
src/components/ui/table.tsx8 symbols
src/components/ui/navigation-menu.tsx8 symbols

For agents

$ claude mcp add event-timeline-roadmap \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact