Sign in

Hacktoberfest Pull Request 2

Image for post
Image for post

The project I got to contribute to for my second pull request is called Google/Coding-with-Chrome. Coding with chrome is a an “educational coding environment” enabling users to learn how to build computer programs. It allows users to create programs using Javascript, Python, Blockly and more. It even allows output to connected devices such as toys or machine learning kits.

The issue I worked on needed me to make some UI changes to add more clarity so that users don’t miss out on an important warning message.

Making the change introduced me to Soy Templates (also called Closure Templates) which are data-driven templates used to generate re-usable HTML and UI elements. It was interesting learning about such a tool as they are convenient and simple to use.

This issue also forced me to further practice some git commands as I ended up committing more changes to the local repository then I had intended. This was because the package.json and package-lock.json files had been automatically updated upon installing the required packages in the project. In order to undo the commit history, I first had to restore the .json files back to the original — done using git checkout —after which I changed the commit history — using git amend.

Once everything looked good, I created my pull request and also had to sign the Google CLA for my changes to be accepted. And just like that my second Hacktoberfest PR for the month was complete.

It was an interesting project and issue to contribute to. I got to learn about Soy/Closure Templates which was new to me. I look forward to learning more about them and perhaps using it in an application myself sometime.

Now, on to the next Hacktoberfest issue…

Image for post
Image for post

Written by

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store