-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Update docs and add tests for the taglocations API method - fix #3597 #3700
Update docs and add tests for the taglocations API method - fix #3597 #3700
Conversation
Generated by 🚫 Danger |
@publiclab/reviewers @jywarren is that ok pass this codeclimate issue for later? I just added more validations to the method... or if you have any tips for this, would appreciate them. Thanks! |
Sure, passing it now! Thanks! |
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.
One small tweak but THANK YOU this is much better!!! 🎉
* **URL Params** : | ||
|
||
**Required:** | ||
|
||
`query=[coordinates]`: search notes from users located near the query separated by `,`. | ||
`query=[coordinates]`: search notes from users located near the query separated by `,` |
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.
👍
Also, sorry, I think you may have written this somewhere else but I'm a bit behind... is there a matching JS call which we have to tweak to conform to the |
hi, @jywarren thanks for the review! I don't know about the JS call, to be honest. Was that already been done somewhere? I'm not aware... |
Removing blurred: false because it can be accessed via `user.blurred?`
Ah, here: plots2/app/views/map/_leaflet.html.erb Line 37 in 79d65bf
Do we need to pad it or otherwise update it so it conforms to the API spec you've updated? Thanks! |
oh, I see! thanks for the link, I'll check it out this week! |
Can't seem to get codeclimate to run, so gonna close and reopen! Also, i changed the JS query I'd mentioned above -- here! #3940 |
hi, @jywarren thanks! I was going to take a look at it this holiday. Do you think this is ready, then? Thanks! |
Ah, i think we just have to preserve the |
I see the error:
So, I think we need to add a Lines 206 to 208 in 788ff6f
I'll do that now. |
Cool, added that -- let's see: stefannibrasil@75724f3 |
Yay!!! |
…clab#3597 (publiclab#3700) * Update docs and add tests for the taglocations API method - fix publiclab#3597 * This is not the place for this Removing blurred: false because it can be accessed via `user.blurred?` * re-add blurred to the API call * add node.blurred?
Fixes #3597
The API docs were showing a wrong param format for the
taglocations
endpoint. After investigating, I believe these changes attempt to fix that.