Skip to main content

Final Contributions

As the final weeks of our semester approaches, i submit my last two pr. During these months i have learned many things and had fun doing it. Working with Github and Git was the best learning experience i had throughout the months. I also had the opportunity of researching and experimenting with open source technologies. Overall everything i learned from this course i will for sure use, for instance, using git at the workplace or use of open-source technology for other projects.

I took the time this week to review the requested changes made to one of my pull request that i had made to vscode. I managed to close two changes but i have one more change request to make before i could ask them to review it again. 

Last week my plan was to learn more about Lighthouse and implement it into our course project. After a few days of working on this issue, i came to a conclusion of using the following code as my solution:
"lighthouse-index": "lighthouse http://localhost:3000 --output-path=./index-report.report.html --view"
"lighthouse-login": "lighthouse http://localhost:3000/login.html --output-path=./login-report.report.html --view"
Once running the following scripts, Lighthouse runs through our html pages and spits our results which with the flags --output-path and --view will save the html file locally and open a tab to display the results.


After submitting my pull request, my course instructor suggested that i make a few changes. One of the changes was adding another script to run the project on the web because my script requires the project to be running. Something i missed it and did not take into consideration. After the changes were made and reviewed my code got merged into the master branch.

"lighthouse": "cross-env PORT=3000 npm-run-all -r -p server lighthouse-index"
For future projects, i will take advantage of npm scrips as it provides a way to automate boring tasks.

For my second pull request, i had the opportunity of learning about more open source technology. For the issue, i had to combine eslint with prettier and add it to the project. Also within the issue there was a request for adding eslint plugin for cypress which i followed the instructions on their Github page. I created this pull request for the issue. I'm waiting for the main contributor to review what i have done. I'm hoping to do more with this issue i resolved like adding rules and create scripts for the project.



Comments

Popular posts from this blog

Whiteboard Application: Built with Open Source Projects

I just took my first steps into the open source world and it was amazing. As my first project, I built a note taking application with the help of some open source projects and Github. I’m going to admit, I was a bit scared at first because I hadn’t touched web development in months so I was I rusty in Javascript and other web technologies. Thanks to my instructor, I was able to set-up everything on Github with ease and execute git commands that I had forgotten. All in all it was a good experience and was nice to get back into coding after a long break from it. Whiteboard Application The point of this application is to allow users to takes notes on a webpage. There are also features such as saving what you have written on the whiteboard or clearing the whiteboard all at once. The application was built using the following open source projects: ·          Filer ·          PaperCSS ·   ...

Collaborating with issues and pull requests on Github

This week I got the chance to get my hands dirty with some code, learn the ins and outs of git and collaborate on projects on Github. Slowly things are coming back to me after not doing development for a while with Javascript, HTML, and CSS. I also learned something new with CSS which I will discuss below. After a few classes on Git by my instructor, I was lost and confused. But after working on these projects and actually putting what he thought into practice, I managed to get the hang of working with git. I also had the opportunity of working with projects on Github which helped me get some real practice on how to collab with other developers.  I had to opportunity of collaborating with two other developers,  MusaNajwa  and  wajeehsheikh .  After looking at their note-taking applications and looking through their code in the repositories, I decided that there are some few improvements that I can add to their applications. Mirconote Looking at this appl...

Here i come Hacktoberfest

An amazing opportunity has appeared for me, giving me the chance to get involved in the open-source community. Its  Hacktoberfest  in a few days and I'm super excited to get my hands wet with some code! Hackertoberfest is an event hosted by Digital Ocean every October to get people involved and contribute to open source projects. As a beginner in the realm of open source, I will be participating in this event to reach the two goals I have set for myself. Click here for more information about Hacktoberfest Goals Git The first goal is learning more about how to use git. If you have been reading my previous blogs, I'm new to using Git and I have been learning the basics for over the past few weeks. But I feel like there's still more to learn and experience with Git. Participating in this event will help me utilizes that and help me become proficient in it.  C# & TypeScript The second goal is to learn a new programming language. My focus will be on C...