Hello, awesome developer! 👋
First off, thank you for considering contributing to ngx-product-gallery – you rock! 🤘
We’re excited to collaborate with you to make this library even better. Whether it's fixing a bug 🐛, adding a feature ✨, or improving documentation 📖, your help is always welcome.
Start by forking this repository. It’s your personal copy to experiment and make changes. 🎨
👉 Fork it here.
Get the code on your local machine:
git clone https://github.com/rohtashsethi/ngx-product-gallery.git
cd ngx-product-gallery
Make a new branch for your feature or bug fix. Use a meaningful name!
git checkout -b fix/gallery-bug
Make sure you have everything set up:
npm install
- Add or improve code in the
src/
folder. - Follow the existing coding style.
- Don’t forget to include/update tests! 🚨
Run the tests to ensure your changes didn’t break anything:
npm run test
Write clear, meaningful commit messages. Use this format:
type(scope): message
Examples:
- feat(gallery): add zoom feature to gallery
- fix(thumbnails): resolve thumbnail overlap issue
- docs(README): improve installation instructions
Push your changes to your forked repo and submit a pull request to the main
branch:
git push origin your-branch-name
- Go to ngx-product-gallery Pull Requests and click "New Pull Request".
- Fill out the PR template and hit submit. 🚀
- Follow Angular's best practices and use TypeScript.
- Ensure your code is modular and reusable.
- Keep it DRY (Don’t Repeat Yourself).
- Use Conventional Commits.
- Be concise but descriptive.
- Update or create documentation for your changes.
- Make sure it’s clear and beginner-friendly.
- Write or update unit tests for your changes.
- Ensure all tests pass before submitting a PR.
- Check if an issue already exists. If not, create one here.
- Provide as much detail as possible, including steps to reproduce.
- Open a new feature request here.
- Let’s discuss your idea before you start coding!
- Check the Discussions.
- Or, open an issue – we’re happy to help.
Thank you again for contributing to ngx-product-gallery. Let’s build something amazing, together! 🌟
Cheers,
Rohtash Sethi – Maintainer