Release 0.4 — The External Pull Request

Zufishan Ali
Dec 16, 2019 · 2 min read

For the external PR for Release 0.4, I contributed to elastic/kibana. Kibana is a browser based analytics and search dashboard for Elasticsearch. It allows users to visualize data from any source.

This was my first time working with a project as big as Kibana. The environment set up for this project was by far the longest compared to the other projects I have contributed to in the past few months. I kept running into issues setting up and found many others running into similar issues as well. Their documentation was a bit outdated in some areas (with broken links, etc).

The first issue I had was with yarn. This was my first time with yarn and the latest version had issues that was not letting packages/dependencies be installed properly for this project. After some trial and error, I was able to get it working finally by first deleting the yarn.lock file and adding it back after the set up was complete.

The Issue

The issue I worked on was about updating the code base to use an existing enum, called ProcessorEvent, constants instead of string literals to follow good practices. This was also my first time getting to work with TypeScript which I researched to understand and learn how to use. The difficult part of fixing the issue was finding all the instances that needed to be changed as there were quite a lot. Unfortunately, I fell into some issues with git and accidentally ended up discarding all the changes I had made leaving me back at ground 0. After remaking the changes, I submitted the PR, and signed the CLA.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade