First off, thank you for considering contributing to this project! Now, to start contributing:
If you either find a bug or have any suggestion or opinion you want to discuss and share, please open an issue and add the proper label to it so we can get in contact with you. There are no wrong opinions! All feedback is welcome to make this the most suitable tool for you to use and for us to grow.
If you have a new feature you want to add or a bug you think you can fix, follow this steps:
- Fork the repo
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request with clear title and description
To get this project up and running, you need to build it with
npm run build
and then, add it to a dummy project using the file instead of the package. You can use either yarn or npm:
npm i <path-to>/react-chat-widget
yarn add file:<path-to>/react-chat-widget
Your new feature must be tested with the proper tools. In this project, we use Jest and Enzyme. Once your tests are written, run:
npm run test
If there any view changes, you need to add screenshots for what's been changed for us to see any improvement or your new feature.