Understanding Contributions

MedPlant

https://github.com/swarupe7/MedPlant

MedPlant is an open source website devoted to sharing information on plants that have positive medicinal properties. I’m not using this project as an actual contribution, but as a place to learn how to use github, especially when making a PR. This project has been inactive for a while, but it provided a good learning space, so I thought I should include it in this blog. I found this through one of the examples shown to us from previous years.

These were the issues they presented.

After forking the project, I created a new branch based on the contribution instructions and started on improving the navigation, as mentioned in the first issue.

My first problem was to fix existing navigation issues. The biggest change need here was that there were three pages that were not displayed on the main discovery page. This was quite a simple fix. I simply created new cards for each missing page and search for some good images to fit onto the page. Fixing this also addressed the last issue in the list as a page for th ashwagandha plant was already created but not visible on the website.

The second problem was with general navigation, where footers were missing from the majority of pages. The lack of options to navigate around the site was problematic and somewhat unnatural. To fix this I used the footer for the home page as a template and created a new footer for each page. This added new ways to navigate to a number of the overall websites pages.

With my proposed fixes complete I created a pull request. Obviously, it was never going to be answered, but making sure I was using the proper techniques on an actual project felt important.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *