Welcome, and thank you for taking the time to contribute to Zapify-ui!
By participating in this project, you're agreeing to comply with our CODE_OF_CONDUCT
There are several ways that you can contribute. We would be tremendously grateful for bug fixes, development of new features as well as early feedback on in-development features, bug reports with repro steps, documentation updates, feature tests, suggestions, and ideas.
The preferred way of reporting issues, requesting features is to file an issue on our [issue page]. Before creating an issue, search the existing issue to see if the issue or feature request has already been filed. A new issue should have:
- A short and clear title
- Description
- Repro steps (if it is a bug)
- Actual (what you get)
- Expected (what is expected)
- Screenshots/gifs if applicable Feel free to add GitHub labels to the issues.
Pick an issue and leave a comment that you would like to grab it. After the issue was assigned to you, you're good to start hacking!
- Fork the repository on GitHub
- Clone your forked repository to your machine:
git clone https://github.com/zapify-ui/zapify.git
- Change directory to the cloned repository:
cd zapify
- Add a remote:
git remote add upstream https://github.com/zapify-ui/zapify.git
- Create a branch for your patch:
git checkout -b issue-branch-name
- Install dependencies by running
npm install
- Run
npm start
to build and run your local dev environment. - Open http://localhost:9001/ to see the Storybook with the library components.
We use ESLint as our JavaScript linter (we recommend to use an ESLint extension in your IDE, so the errors will be highlighted). Before you commit your changes, run prettier to format the code: npm run prettier
.
Make your changes, run linter, make sure there is no eslint errors/warnings in your changes. After that push your code to git:
git push origin issue-branch-name
All pull requests must be associated with a specific GitHub issue. After you have pushed your changes to the forked repository,create a Pull Request on GitHub. Your pull request should follow the following rules:
- Your title should have the following format:
Fix #<issueId>: <description>.
Example:Fix #57: Added tests for Textbox component.
- In the description, write about changes you implemented, and don't forget to mention the issue # there. Include screenshots/gifs if applicable.