Update task task-039

This commit is contained in:
Jeff Emmett 2025-12-04 18:21:01 -08:00
parent b3a7ff2b0c
commit 6937bf09b8
1 changed files with 40 additions and 3 deletions

View File

@ -4,6 +4,7 @@ title: 'MapShape Integration: Connect Subsystems to Canvas Shape'
status: In Progress status: In Progress
assignee: [] assignee: []
created_date: '2025-12-05 02:12' created_date: '2025-12-05 02:12'
updated_date: '2025-12-05 02:21'
labels: labels:
- feature - feature
- mapping - mapping
@ -21,10 +22,46 @@ Evolve MapShapeUtil.tsx to integrate the 6 implemented subsystems (privacy, myce
## Acceptance Criteria ## Acceptance Criteria
<!-- AC:BEGIN --> <!-- AC:BEGIN -->
- [ ] #1 MapShape props extended for subsystem toggles - [x] #1 MapShape props extended for subsystem toggles
- [ ] #2 Presence layer integrated with opt-in location sharing - [x] #2 Presence layer integrated with opt-in location sharing
- [ ] #3 Lens system accessible via UI - [x] #3 Lens system accessible via UI
- [ ] #4 Route/waypoint visualization working - [ ] #4 Route/waypoint visualization working
- [ ] #5 Collaboration sync via Automerge - [ ] #5 Collaboration sync via Automerge
- [ ] #6 Discovery game elements visible on map - [ ] #6 Discovery game elements visible on map
<!-- AC:END --> <!-- AC:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
**MapShape Evolution Progress (Dec 5, 2025):**
### Completed:
1. **Extended IMapShape Props** - Added comprehensive subsystem configuration types:
- `MapPresenceConfig` - Location sharing with privacy levels
- `MapLensConfig` - Alternative map projections
- `MapDiscoveryConfig` - Games, anchors, spores, hunts
- `MapRoutingConfig` - Waypoints, routes, alternatives
- `MapConicsConfig` - Possibility cones visualization
2. **Header UI Controls** - Subsystem toolbar with:
- ⚙️ Expandable subsystem panel
- Toggle buttons for each subsystem
- Lens selector dropdown (6 lens types)
- Share location button for presence
- Active subsystem indicators in header
3. **Visualization Layers Added:**
- Route polyline layer (MapLibre GeoJSON source/layer)
- Waypoint markers management
- Routing panel (bottom-right) with stats
- Presence panel (bottom-left) with share button
- Discovery panel (top-right) with checkboxes
- Lens indicator badge (top-left when active)
### Still Needed:
- Actual MapLibre marker implementation for waypoints
- Integration with OSRM routing backend
- Connect presence system to actual location services
- Wire up discovery system to anchor/spore data
<!-- SECTION:NOTES:END -->