Public Lab Research note


GSoC 2020 Report: PublicLab.Editor Repair and Fortification

by keshavgarg234156 | August 30, 2020 15:00 30 Aug 15:00 | #24483 | #24483

About Google Summer of Code

Google Summer of Code(GSoC) is an Open Source program run by Google focused on bringing more students developers into open source software development. Students work with an open-source organization on a 3-month programming project during their break from school.

What did I do?

  1. Added Eslint, lint staged, and Husky: Eslint is a tool for identifying and reporting patterns faced in ECMAScript/JavaScript Code, with the goal of making the code more consistent. In order to force the contributor to use Eslint before they commit their code, we will use Husky. So now this ensures that code is properly indented before it is pushed to the main branch.
  2. Added Custom Insert text Module: Inline Power tags are used to insert a list of notes for a given tag eg.
    Title Author Updated Likes Comments
    Water @klk about 2 years ago 0

    . But it's difficult for a non-programmer to know the syntax for inserting it in Markdown. So the Custom Insert text Module helps in overcoming these issues. It looks like as shown in picture belowimage description image descriptionNow you can select from dropdown different option to insert: Notes, Nodes, Wikis, Activity, Question, and different way to Insert: Grid or List. The major difficulty that arose was inserting at live caret position, But with the consistent help from mentors, it was implemented as well. Tests were also implemented to check the syntax in both rich and markdown mode.
  3. Added Custom Maps Module: Similar to Custom Insert text Module Customs Maps Module was also added. For Maps,image description we have different Option: Latitude, Longitude, and tags
  4. Updating Bootstrap from version 3 to version 4: PublicLab.Editor uses Bootstrap 3 and PublicLab.org uses Bootstrap 4. There is a considerable amount of difference between both versions of Bootstrap that lead to inconsistencies. This also leads to redundancy of code. So it is being updated to Bootstrap 4.

At last, I would like to thank my mentors and co-team members for consistently reviewing my work during the whole GSoC period and before that as well.


0 Comments

Login to comment.