1.3 KiB
1.3 KiB
| id | title | status | assignee | created_date | labels | dependencies | priority | |||
|---|---|---|---|---|---|---|---|---|---|---|
| task-3 | Phase 2: Core Data Shapes - Embed, Markdown, Calendar, Map | To Do | 2026-01-02 14:42 |
|
high |
Description
Port medium-complexity shapes that form the core data visualization layer:
-
folk-embed (565 LOC) - URL embeds (YouTube, Maps, Twitter)
- URL transformation patterns
- Interaction state management
-
folk-calendar (644 LOC) - Unified calendar widget
- Browser/widget/year views
- Event detection from CalendarPanel/YearViewPanel
-
folk-map (2,168 LOC - LARGEST) - Collaborative Mapbox/MapLibre
- Real-time presence cursors
- Drawing annotations (markers, lines, areas)
- Search via Nominatim, routing via OSRM
- GPS location sharing
Simplifications:
- Replace React state with reactive properties
- Replace context providers with event-based communication
- Calendar/Map can be separate packages imported as needed
Acceptance Criteria
- #1 folk-embed component with URL detection
- #2 folk-calendar with month/year views
- #3 folk-map with MapLibre integration
- #4 Real-time presence on map working