And thanks to @RGJ I’ve also got rid of the jQuery.
Three
, one
And thanks to @RGJ I’ve also got rid of the jQuery.
Three
, one
How do you know a dev is bored?
Translates to: one hour
Translates to: one hour
(Sorry off topic )
ha ha - ha ha
And then one more .
I’m sure, many other Discodians had noted this thing today (but failed to elaborate).
Can we drag on the mini-map after click the ‘Show Map’ button under the topic title?
You can drag the map around internally but no you can’t drag the map container around.
I’m not sure how you’d distinguish between the two actions?
In any case PR welcome, that would be nice.
I mean drag around internally on the mini-map. It not worked after click the ‘Show Map’ button under the topic title. The mini-map will close immediately when I try to drag or click on the mini-map internally.
I’m able to drag the map, but it (the map) will disappear as soon as I release the mouse button.
Iow, I can drag, but not too much.
yes, same with you.
That’s interesting, yes.
The behaviour is different on the User Cards to the Topic Title.
On iOS iPad, the drag doesn’t cause a premature close on either though.
But on desktop, there’s definitely room (and potentially) scope for improvement here (since User Card seem to work fine?)
I can’t promise when I’ll look at that, but PR welcome in meantime.
ok, thx to Robert. here is the report: The mini-map will close immediately when I try to drag or click on the mini-map internally. - Discourse Locations - Coöperative
Thanks, I hope this resolves it:
Sorry @merefield for the late response. I haven’t visited Meta for a while so only just saw your post now.
how to reproduce reliably, can you provide exact steps?
Our site is at www.hungryonion.org. See this example:
Maine trip report 6/29-7/7 (mostly coastal areas north and south of Portland) - Regional Dining Discussions / Boston, New England - Hungry Onion
I edited the OP title, click add address button, type in address, select mapped address, click ok.
Same results if I start a new post and add an address.
It happens every time.
what version of Discourse are you using?
Discourse- 3.3.0 beta 1
Locations- 3c350d0a
what do you see in the HTML (using inspector)
The location-text
is empty. this is a post with the address added within the last few weeks.
this is a post with the address added a few years ago. the location-text
is populated as expected:
do you see any error messages in console or log?
Console: no
Log: no
what is recorded in the User Custom Field for geo_location? Take a look at /u/<username>.json
There isn’t any geo_location
information for that user who posted the OP.
Thanks for looking into this!
Any chance we could get the placeholder text “Map loading…” while the map loads, please? It used to be part of the plugin but seems to have dropped off at some point.
We have ~1900 users on our map and it takes about 10 seconds to load from this
to this
On this droplet at DigitalOcean:
The issue is deeper than that.
There’s a big opportunity to improve the performance here for larger user sets but no-one has ponied up the PR or funding to make that happen.
Perhaps if we make this a subscription product we might have the incentive to address these things …
I’m OK with the wait for the map to load as long as the user understands that it’s loading and doesn’t click away thinking that it’s broken. Once it’s loaded, it works very well with this number of mapped members.
@Richie - what’s your experience with load times?
Hi @omarfilip ours is around five seconds for ~2880 users on the map
My droplet spec is almost half of yours
I have it still on Ubuntu 16.04.7 LTS. Wonder if that could be a factor.
That is awful old. No matter if it is the reason or not is should update ASAP (not update-update, but create new one and moving everything over, you know)