[openstreetmap/openstreetmap-website] Cancel pending Export sidebar loads on unload (PR #7268)

daishu0000 notifications at github.com
Sun Aug 23 09:33:06 UTC 2026


daishu0000 left a comment (openstreetmap/openstreetmap-website#7268)

OK, now I try to fix all type of sidebar's bugs which the original commit can't solve.

Including these:

1. directions -> others -> directions -> others, the route and marker will remain on map. 
2. note -> subscribe -> others, the sidebar will remain note
3. changeset -> subscribe -> others, thesidebar will remain changeset
4. search -> search something and the Nominatim load but marker not load ->others, the marker will still appear.
5. history -> move -> history (the second history complete load before the first)

I record the current abortController in direction, search, history. Record the lifecycle in note, changeset (Because the subscribe can't be abort). Now these bugs have all fixed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7268#issuecomment-5385314774
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7268/c5385314774 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260823/076e6c65/attachment.htm>


More information about the rails-dev mailing list