Vicb/marker - #482
Vicb/marker#482
Conversation
Reviewer's GuideThe PR improves Advanced Marker lifecycle handling by retaining the rendered marker reference and cleaning it up when disconnected or its track is cleared, fixes Google Maps listener cleanup, encapsulates Lit reactive state as private, and applies minor naming and formatting cleanup. Sequence diagram for Advanced Marker lifecycle cleanupsequenceDiagram
participant Lit as MarkerElement
participant Marker as AdvancedMarkerElement
participant Map as GoogleMap
Lit->>Marker: ref callback stores marker
Lit->>Marker: connectedCallback sets map
alt track cleared while connected
Lit->>Marker: willUpdate sets map to null
end
Lit->>Marker: disconnectedCallback sets map to null
Sequence diagram for Google Maps listener cleanupsequenceDiagram
participant Path as PathElement
participant Map as GoogleMap
participant Listener as MapsEventListener
Path->>Map: addListener(rightclick, appendToPath)
Map-->>Path: onPointAdded
Path->>Listener: remove()
Path->>Listener: remove()
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
flyxc-workers | c180838 | Commit Preview URL Branch Preview URL |
Sep 27 2026, 07:47 PM |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (14)
💤 Files with no reviewable changes (4)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review. WalkthroughThe pull request updates marker lifecycle handling and path-listener cleanup. It also makes several component fields private and renames WaypointModal’s prefix state field. ChangesFrontend components
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The reviewed marker lifecycle changes have no established issue blocking merge. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to Normal track removal appears to detach its marker. A reused marker component can nevertheless restore an obsolete marker after its track has been cleared. The identified effect is confined to the browser map; no new server access or cross-user exposure was established. Retained concerns
Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❓ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ 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. A rabbit watched the markers glow, Comment |
Summary by Sourcery
Improve marker lifecycle management and tighten component state encapsulation across the application.
Bug Fixes:
Enhancements:
Chores:
Summary by CodeRabbit