-
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
PLANNING ISSUE: v2 API development #2755
Comments
Love the table!!! I'll review soon, at a meeting right now. Thanks!!!! |
First glance this looks amazing. There are a lot of redundancies and hard to read sections in the current API. I think addressing these will be something to keep in mind as you go. |
Also, perhaps regularly checking in with other contributors to see what API functions they need or want, OR what of their work could be expressed through the API. A lot of JavaScript functionality could be redactores to go to through a cleaner and better documented API. Great work! |
One redundancy example is between TypeaheadService and SearchService -- could be much simplified! |
hi, @stefannibrasil there is also an open issue for API which requires some help. The basic API for fetching nodes (taking lat,lon input ) is built by me in #1987 . I wonder if you would be interested in solving this one? Thanks. |
I have been seeing some JSON tests that probably correspond to different things we could convert to more standardized API calls. Could be worth searching through the tests for the string "json" to find some and try to improve them, when you reach the end of your plan? |
That's great, thanks for the comments! I've edited the Timeline to address your points. @Gauravano Yes, that would be great, I can try to help. Could you please guide me through the actionable tasks and explain how can I help? You need help with the part 3 from #1934, is it right? if so, we can discuss there. Thanks! |
hmm, that part is also remaining but I guess @sagarpreet-chadha is on it. I want help on improving the first part of #1934 , In that part, I build a new API for fetching nearby nodes to a location, taking lat,lon as input, but for keeping it simple at first we decided to not include tags in the input. But as this API worked properly, we need to change that API or can build a new one (any way you are comfortable). So, the new API could accept the tags too in input URL and then process accordingly. That would solve the #2254 issue. What do you think? Thanks. |
Here's the current URL Lines 118 to 119 in 46f3d43
plots2/app/services/search_service.rb Line 188 in 46f3d43
|
Alright, that looks good, I will start working on it tomorrow. Thanks for the info, @Gauravano I'll ask any questions that I might have on the Issue page :) |
Congrats on merging #2790! I wanted to note that one of your milestones above - "Refactor/Simplify SearchService and Search endpoints" -- sounds particularly great and that you may after that want to look at #987 for some ways that we're hoping search will be refined to show really relevant results. It's one of the biggest usages of the API, and a place you could really see some highly visible improvements to how people are able to find things around the site! A great application of your code refactoring and reworking of the API. Thanks and it was great meeting today!!! 🎉 🙌 |
Thanks, @jywarren |
Here are some issues that could be broken out this week!
These could all be broken out into individual issues, but don't worry - we can also preserve them as a list here and add the |
Hey @jywarren, I moved all your points to individual issues here: https://github.com/publiclab/plots2/projects/6 |
Moving the API planning/discussion to #3520 |
1. About the project
@milaaraujo and I will be working part-time (20h per week) on the v2 API development this Rails Girls Summer of Code, starting July 2nd until September 28th. The entire description for the project can be found here.
We want to coordinate better as a team and also get feedback, so we can continue continue the work from #1449 (from which we have tried to set as base for our timeline).
2. Working hours (PDT timezone)
We will be working together at the following time:
18h-21h weekdays
14h-19h Saturdays
3. Timeline/Milestones
4. Real timeline (updated each week to compare with the one above)
5. Questions
Is our timeline realistic and modular? What do you think we can remove or change?
6. Notes
We also plan to create
first-timers-only
issues along the way. Also, we didn't add to the timeline, but we'll be adding tests to all the changes and we have separated some days to add missing tests for the existing code. Another point is to ask regularly to the team if they need anything from the API.@jywarren @publiclab/reviewers @publiclab/soc
The text was updated successfully, but these errors were encountered: