We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
We use github to host code, to track issues and feature requests, as well as accept pull requests. Pull requests should be only against dev
branch, a pull request targeting main
branch will be closed.
Pull requests are the best way to propose changes to the codebase. We actively welcome your pull requests:
- Fork the repo.
- Switch to branch
dev
, or create a branch based ondev
. If you've added code that should be tested, add tests. (Not yet)Ensure the test suite passes. (Not yet)- Make sure your code lints.
- Format you code with
prettier
. - Commit message with Conventional Commits style
- Issue that pull request against
dev
branch!
In short, when you submit code changes, your submissions are understood to be under the same GNU GENERAL PUBLIC LICENSE that covers the project. Feel free to contact the maintainers if that's a concern.
Report bugs using Github's issues
We use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
People love thorough bug reports. I'm not even kidding.
It's very simple:
- use camelCase
- format with
prettier
- use meaningful variable name
- comment on the "strange"-looking but intentional codes
i18next
allow developer to set namespace for different strings in different domain, therefore use a right namespace for the key is important.
Normally you can use namespace common
if your string will show up everywhere in the project. Otherwise use a proper namespace for where the string should stay, for example the strings in CardDetail page is supposed to stay in namespace card
with exception of power
which will be displayed only in context of cards.
If you added or created a namespace, please add it initGlobalI18n
in src/utils/i18n.ts
.
By contributing, you agree that your contributions will be licensed under its GNU GENERAL PUBLIC LICENSE.
This document was adapted from the open-source contribution guidelines for Facebook's Draft