-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show people in a region as a bulleted list within the popup #136
Conversation
Thanks for opening this pull request! |
/cc @jywarren |
//offtopic |
great idea. OK, and this one is good to merge? |
Looks like it! Thanks!!! |
Would you like to add a package.json version increment of |
and run |
Done :) |
Congrats on merging your first pull request! 🙌🎉⚡️ |
As soon as this publishes, let's link and follow to the PR in LEL, and then same to plots2 -- sound good? Thank you!!! Also doesn't have to be tonight, it's so late! |
Yup, Sounds good to me. Thank You and Good Night 🌃 |
Published! Good night!!! |
If dependabot doesn't open it, we can open it manually! |
OK! We more or less got it... still seeing an "undefined" but very close!!! Did we use the wrong property name? |
Hmm. {
"doc_id": 768638,
"doc_type": "PLACES",
"doc_url": "/profile/charliejohnson",
"doc_title": "charliejohnson",
"doc_score": null,
"doc_author": null,
"doc_image_url": "https://www.gravatar.com/avatar/6e62cf8e8246c20b6b9839c175dc996a",
"latitude": "0",
"longitude": "0",
"blurred": true,
"category": "PLACES",
"place_name": null,
"created_at": "2021-08-10T11:07:07.000Z",
"time_since": null,
"comment_count": null
} |
@@ -151,6 +151,7 @@ BlurredLocationDisplay = function BlurredLocationDisplay(options) { | |||
|
|||
var id = obj["id"] ; | |||
var url = obj["url"] ; | |||
var title = obj["title"] ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, it should work, i think:
obj["title"] = data.items[i].doc_title ; |
The url is right, just the title is undefined somehow 🤔 |
For the screenshot above, I was def. getting {
"doc_id": 766513,
"doc_type": "PLACES",
"doc_url": "/profile/dennlawgroup",
"doc_title": "dennlawgroup",
"doc_score": null,
"doc_author": null,
"doc_image_url": "/public/system/users/photos/000/766/513/thumb/denn-law-logo-1x-2.png",
"latitude": "42",
"longitude": "-71",
"blurred": true,
"category": "PLACES",
"place_name": null,
"created_at": "2021-07-21T08:33:27.000Z",
"time_since": null,
"comment_count": null
} |
We override the JSONparser function in LEL! |
Ohhh. |
So just one more release then :D Making a PR asap. |
Fixes #133