Skip to content
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

Refactor search service code #6882

Open
grvsachdeva opened this issue Nov 30, 2019 · 11 comments
Open

Refactor search service code #6882

grvsachdeva opened this issue Nov 30, 2019 · 11 comments

Comments

@grvsachdeva
Copy link
Member

grvsachdeva commented Nov 30, 2019

Code for the search_service can be found here -
https://github.com/publiclab/plots2/blob/master/app/services/search_service.rb

What's required:

  1. Refactor the methods so as to remove duplicate lines and remove redundant lines.
  2. After refactorization, make sure tests are passing and you're more than welcome to write tests if they don't exist
  3. Refactorizations should be up to mark for the task to be considered complete

Thanks!

@grvsachdeva grvsachdeva added gci-candidate medium for Google Code-In beginner and removed medium for Google Code-In labels Nov 30, 2019
@SidharthBansal
Copy link
Member

Hello Gaurav, I have published this task.
The beginner is primarily for FTOs or similar things, so I have moved this task to medium.
In case you want beginner label then please reformat it using FTO template and ping me.
Thanks for your help Gaurav!

@SidharthBansal SidharthBansal added reserved-for-gci medium for Google Code-In and removed beginner labels Nov 30, 2019
@Uzay-G
Copy link
Member

Uzay-G commented Dec 3, 2019

Hey! I am working on this task and will claim it when my other task is accepted. For the [code] from line 58 to 75 I have refactored those methods into one. Should I find when the old methods are used and replace them with the new one on my forked repo? Thanks!

@SidharthBansal
Copy link
Member

SidharthBansal commented Dec 4, 2019 via email

@SidharthBansal
Copy link
Member

Please ensure the above two and solving a first timers only labelled issue before doing this issue. Thanks

@Uzay-G
Copy link
Member

Uzay-G commented Dec 4, 2019

Oh yeah I'm sorry @SidharthBansal. My other task was done and got approved yesterday. I hadn't seen the plots2 installation task but I have done it and submitted it for review.

Thanks a lot! 😄

@SidharthBansal
Copy link
Member

SidharthBansal commented Dec 4, 2019 via email

@keshav234156
Copy link
Member

@Uzay-G You should first claim the task on GCI dashboard related to this issue, then you can start working on this issue. your installation tasks have been approved as well!!

@VladimirMikulic
Copy link
Contributor

VladimirMikulic commented Jan 31, 2020

@Uzay-G what happened to your PRs?

@SidharthBansal
Copy link
Member

SidharthBansal commented Jan 31, 2020 via email

@Uzay-G Uzay-G mentioned this issue Jan 31, 2020
21 tasks
@SidharthBansal
Copy link
Member

@Uzay-G any progress here?

@Uzay-G
Copy link
Member

Uzay-G commented Feb 5, 2020

No I am a bit stuck on this one

@stale stale bot added the stale label Oct 7, 2020
@publiclab publiclab deleted a comment from stale bot Oct 8, 2020
@stale stale bot removed the stale label Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants