activist icon indicating copy to clipboard operation
activist copied to clipboard

Map component process bug - marker doesn't appear instantly

Open andrewtavis opened this issue 6 months ago • 7 comments

Terms

  • [x] I have searched all open bug reports
  • [x] I agree to follow activist's Code of Conduct

Behavior

This issue is to look into frontend/components/media/MediaMap.vue and the related composables to derive why the transition from cluster to marker sometimes isn't instantaneous. There are a few things that would be great to fix:

  • [ ] Clusters and markers should transition to one another seamlessly

  • [ ] The clusters should split a bit earlier in the process as it's common that a person will zoom into a cluster only to find that it's just the middle point between two clusters

  • [ ] The map sometimes causes the page to crash as there's too much activity

    • Could be another issue, but if one switches between bike and walk directions a few times and puts a bunch of waypoints, the it's common that the page will crash
  • Note: This issue is blocked by #1291 and the PR to finalize it in #1312

andrewtavis avatar May 26 '25 22:05 andrewtavis

Blocking this for now as I think that it doesn't make sense to start this until #1312 is done. Hope this makes sense, @nicki182! :)

andrewtavis avatar Jun 10 '25 23:06 andrewtavis

yeah, makes sense. Since I'm doing some refactoring of this component

nicki182 avatar Jun 11 '25 09:06 nicki182

hey @andrewtavis i see that #1312 is completed so is this issue available for work or is @nicki182 going to work upon it ? coz I am thinking to start working upon it

Vidhanvyrs avatar Oct 09 '25 06:10 Vidhanvyrs

You can work on it. I am going to work on other stuff. Besides I hope you are able to understand it since it's a bit spaghetti code and I have been wanting to refactor on it to make it more legible. If you are able to fix it and understand what is happening then that's great. Any issue you can ask about it.

nicki182 avatar Oct 09 '25 07:10 nicki182

All sounds good, and thank you both for the communication here. Please let us know if we can support, @Vidhanvyrs!

andrewtavis avatar Oct 09 '25 07:10 andrewtavis

You can work on it. I am going to work on other stuff. Besides I hope you are able to understand it since it's a bit spaghetti code and I have been wanting to refactor on it to make it more legible. If you are able to fix it and understand what is happening then that's great. Any issue you can ask about it.

sure will try my best 🙇‍♂️

Vidhanvyrs avatar Oct 09 '25 07:10 Vidhanvyrs

All sounds good, and thank you both for the communication here. Please let us know if we can support, @Vidhanvyrs!

totally 👍

Vidhanvyrs avatar Oct 09 '25 07:10 Vidhanvyrs