| Project: Building UI library for moja global
|Harsh Mishra, Gopinath Balakrishnan
|Github Repository for the project
Moja global is a not-for-profit, collaborative project that brings together a community of experts to develop open-source software that allows users to accurately and affordably estimate greenhouse gas emissions and removals from the AFOLU sector.
This year in Google Summer of Code 2022, I have worked on building a faster, lightweight, user-friendly, and cross-browser-compatible UI library as a stand-alone dependency for moja global projects. I have worked on building a UI library having pre-written or ready-made code for various widely used components across all the repositories of moja global that future developers and users can use in their projects just by installing the package and running two or three import commands😀.
The Moja global User-interface (UI) library developed under this project serves the following purpose🎉
- It aims to bring forward an intuitive, consistent, and easy-to-use interface that can help our developers within the User-Interface working group and users to quickly accomplish their tasks.
- It helps us mitigate popular UI-development issues like inconsistent user experience, performance issues, accessibility requirements, and more.
- It improves the design & development workflow and meets the acceptable web accessibility requirements.
- Using UI Library components is easy as most of the code is written in the documentation itself.
The main aspects of my contributions are🎓
|Tools and Technologies used
|Migration of current projects from Vue2 to Vue3
|Integration of UI library into existing projects
Migration of existing project from Vue2 to Vue3 🔁
Initially, I worked on migrating the existing project from Vue version 2 to Vue version 3, to make it compatible to use the UI library which is based on Vue version 3
These are the Pull requests, I made for the migration of the existing project
After Migration, I worked on designing the components of the UI library according to the Moja Global brand guidelines. The designs can be found here
Implementation & Documentation📝
I did the Implementation and Documentation of the UI library simultaneously, I have added various components in the UI library with each being fully customizable, and accessible.
These are the Pull requests, I made for the Implementation and Documentation of the UI library
Building the UI library is the main task of the project. I used vue rollup to build the UI library.
For testing the components of the UI library, I have given two options to test in development mode as well as while making the pull request
With the help of my mentor, the launch of the UI library has been automated. The launch happens as soon as the package version in package.json is changed.
Integration of UI library into existing projects🎊
We tested the UI library by integrating it in the fresh new Vue 3 project as well as in the existing moja global's project. It worked as expected in both. It is currently in use in FLINT UI
The overall experience of GSoC has been amazing and full of learning. I learn many things like how to build a project from scratch, how to work with large codebase, etc. I would like to thank my mentors for always being there and I have learned a lot from them during the GSoC period and before🎀. I like the culture of moja global very much. All the mentors here are very friendly and very supportive. I learned the way open source works and the etiquette which should be followed while working on a real-life based project. I want to continue contributing to moja global in the future and wish to see moja global reaching heights of success :)