Public Lab Research note


Outreachy 2018: Week One

by cess | December 08, 2018 22:52 | 270 views | 6 comments | #17839 | 270 views | 6 comments | #17839 08 Dec 22:52

Read more: publiclab.org/n/17839


Update

This first week I started with attending an open hour on Monday, which was awesome I got to meet members of the community and we discussed about Usability Feedback for PublicLab . Discuss is a bad term to use because I mostly listened in rather than gave ideas. But it was great to hear and see how people use the site and what could be made better and interesting features coming up like the map for the content in the site.

I created a milestone(Extend Community Statistics system) thanks @bansal_sidharth2996 for the suggestion. I like the milestone plan, I just have to keep adding my issues there and it makes me visualize the project more and I can track my progress because the percentage of completion increases with every closed issue.

Initially my plan for week one was to implement the download of statistics by csv and json #963. I started working on it on Tuesday and was making awesome progress and I even got to get the data to display on a page as json and download notes and wikis as a csv and json. But then...
I realized in the end a lot is gonna change in the stats controller and me writing this code now will mean I will have to rewrite everything after I am done with the stats index page. Plus I also realized that the stats controller required a some refactoring.
Time was running out and I had to accomplish something for week 1 so I resulted to refactoring stats page#4147 and also implement issue #4137 which was on the questions page. This gets to give statistics on the questions asked versus the questions answered and can filter by a period say week, monthly and yearly. I do not expect a lot to change on this page during the project and this is an independent feature so implementing this seemed like a visible idea. But all was not in vain for the the raw data stats implementation. I preserved the code I had written to download the content on stats page as json and csv so that when the page is done i will just have to find the right place to insert my code and admins and moderators will be able to download the stats in json and csv format.

Plans for next week

  • Thanks @warren for adding me as one of the reviewers. I plan to be reviewing at least two PRs each day so I can help others get started on plots
  • Finish refactoring the stats controller.
  • Implement consolidation existing "range pages" like with the main stats page#4139
  • Get started on caching of data weekly issue #4138

Thoughts/Clarifications needed/Questions from mentors

  • Thoughts on daru gem? I came across this gem daru which does analysis manipulation and visualization of data in Ruby. Any advice if we should consider incorporating it in the statistics page or if anyone has used it and seen its advantages.
  • Caching of data weekly. I realized this issue was not clear on which pages and content exactly was to be cached. Kindly clarify on this

6 Comments

@warren @bansal_sidharth2996 @Gaurav @sagarpreet. Blog for week one kindly take a look

Reply to this comment...


Awesome @cess. Thanks for writing a blog. I hope you are enjoying working with Public Lab

Reply to this comment...


yeah @bansal_sidharth2996 its fun.

Reply to this comment...


AWESOME ❤️ !

Reply to this comment...


Yeah this is an awesome start to the project, and I especially appreciate your desire to review and help out other's pull requests!!!

Reply to this comment...


Very cool. daru is neat! I wonder if it's overkill for now, but if you could suggest a way that it (or another library) could simplify a specific section of the code, that would be super. Thanks @cess!!

Reply to this comment...


Login to comment.

Public Lab is open for anyone and will always be free. By signing up you'll join a diverse group of community researchers and tap into a lot of grassroots expertise.

Sign up