Skip to main content

Time to Leave Application

Wow! The third week of Hacktoberfest is coming to an end and it has been an experience for me so far. Before hacktoberfest, I never thought that I would be able to contribute to other people's projects and actually see my contribution be committed to a project. This week was a huge step for me. I had to opportunity to work on a project that I found very interesting and test my coding skills with the application. The best part of the experience was that it gave me the chance to collaborate on the issue with the main developer where we discussed how to come up with a solution. After the solution was provided, my code was merged into the main project which gave me a sense of accomplishment and satisfaction,.

The Project

After countless hours searching through GitHub for an open-source project to contribute to, I came across Time to Leave developed by thamara. This application is like a reminder that allows users to log their work hours it the application and receive a notification for when its time to leave the office.

The Issue

The issue created by the developer was adding a help menu to the navigational bar of the application. Within this help menu, two sub-menus were needed to be added, one linking to the GitHub page and the other to the release notes of the project.

The Pull Request

After going through the code base, I managed to figure out where I would implement my solution to the issue. But before I went on implementing my solution I had to go through the electron framework documentation to see what built-in functions I could use. After a few trials and errors, I implemented what I thought was the best solution and created a pull request.

With my solution, I decided to display a new window, set the URL to the ones the developer requested and displayed the window to the user

After a review from the main developer, she mentioned a few suggestions to my code where then I applied the changes she requested.


The developer's suggestion was to remove the use of the application window and use the browser of the users operating system to launch the links.

Learned Lessons

Again I had the chance to work with git and learned a few things with working on active projects. I had to pull new commits to the main branch of the project to my own origin branch so there would be no merge conflicts or issues. I also worked with the new framework, Electron which was a cool experience.

Comments

Popular posts from this blog

Taking on new technology

In my last week's blog, I talked about the two objectives I would take on during November. In the middle of working on the contributions, I decided to change my issue for the internal open source project. I'm hoping to continue with this issue for next pull request I have to submit for my course. As you know, the external open source project I chose to contribute to was vscode . In the beginning, when i saw this issue , i thought this would be an uncomplicated and straightforward issue to work on within a big open source project. Before i forked the clown, i took a good look at the documents they had to just get a sense of how to contribute to the project and do the simple tasks of running and testing. After cloning, i had an issue running the project, this is where i spent some good time reading the documentation again, but i was just having a hard time running the project. I managed to get it running after a few reads.  Thanks to another contributor i had a hint of where

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#

Material Design Troubles?

During the first week of Hacktoberfest, it was very challenging for me to find an open-source projects where I could contribute to. After learning how to define better search criteria using GitHub keywords, I came to a project called React Budget App developed by benhalverson. The developer had posted a live version of the application where I spent my time and examined how the application worked. After playing with the application, I knew this was something I could help contribute too. After forking the project and getting the issue assigned to me, I spent a few days tackling the issue. I faced many bumps which I will explain about them further below but I managed to accomplish what the developer had requested in the end. The Issue The issue that was raised by the developer was that there was no User Interface to the application and it looked kinda dull. I took upon myself to start designing and implementing a better-looking feature UI to give the user a better experience with t