feat: Add progress, tooltip, and floating attachment components#138
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
WalkthroughThis PR introduces floating UI positioning utilities and interactive components: a reusable Popover class for element positioning, a Progress timeline component with date-based pin grouping and status tracking, and a Tooltip component with flexible placement options. Supporting CSS styling and Storybook stories document the new components. Changes
Sequence DiagramsequenceDiagram
participant Ref as Reference Element
participant Popover
participant FloatingUI as `@floating-ui/dom`
participant Floating as Floating Element
Ref->>Popover: Attach reference (via reference())
Floating->>Popover: Attach floating (via floating())
Popover->>FloatingUI: Start autoUpdate loop
activate FloatingUI
Ref->>Popover: Trigger interaction (click/hover)
Popover->>Popover: Toggle open state
Popover->>FloatingUI: computePosition(ref, floating, middleware)
FloatingUI-->>Popover: {x, y} coordinates
Popover->>Floating: Apply style.left, style.top
Floating-->>Ref: Visual feedback (positioned element)
deactivate FloatingUI
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Suggested labels
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
3f986cb to
657a181
Compare

Summary by CodeRabbit