The following describes the guidelines to contribute to the Pure Finance app, documentation, API reference, translations and code examples. The purpose of this document is to create a contribution process that:
- Encourages new community contributions.
- Encourages contributors to remain involved.
- Avoids unnecessary processes and bureaucracy whenever possible.
- Creates a transparent decision making process that makes it clear how contributors can be involved in - decision making.
How can I contribute?
- Fork and Edit
- Code Styleguides
- Reporting Bugs
- Suggesting Enhancements
- Pull Requests
- Translating contents
- Issue and Pull Request labels
To contribute to this repository, you will need to fork it, make changes and submit a pull request. This section is a brief guide on how to do this whilst making sure your forked repository stays up to date the with the official one.
- Fork this repository to your own GitHub account and then clone it to your local device.
- Create a new branch:
git checkout -b MY_BRANCH_NAME
- Follow the next steps detailed in the README.md file
You don't need to set any special code styling, since our repos already includes ESLinting once you clone it. Every time you commit and push your contributions, all code is stylized according to our standards.
- Start reading our code and you'll get the hang of it. We optimize it for readability.
- Prefer the object spread operator ({...anotherObj}) to Object.assign()
- Place
requires
in the following order:- Built in Node Modules (such as path)
- Local Modules (using relative paths)
- Set alphabetical order under each case
Use Markdown
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
First of all make sure that the bug was not already reported by searching on GitHub under Issues
.
When you are creating a bug report, please include as many details as possible by filling out our required Issue Template.
Due to the funds management nature of Pure Finance app, any security vulnerability must be treated as confidental, do not open up a GitHub issue if the bug is a security vulnerability, and instead refer to our security policy here:
Security Policy
General tips:
- If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behaviour that is not occurring.
- Determine which repository the problem should be reported in.
- Perform a cursory search to see if the problem has already been reported. If it has and the issue is still open, add a comment to the existing issue instead of opening a new one.
- Provide a step-by-step description of the suggested enhancement in as many details as possible.
- Provide specific examples to demonstrate the steps. Include copy/pasteable snippets (when applicable) which you use in those steps, as Markdown code blocks.
- Describe the current behaviour and explain which behaviour you expected to see instead and why.
- Include screenshots and/or animated GIFs which help you demonstrate the steps or point out the part of Pure Finance which the issue is related to. You can use this tool to record GIFs on macOS and Windows, and this tool on Linux.
- Specify the name and version of the OS/Browser/other applicable software you're using.
Then, you can file a new issue by using a template: Issue Template
This section guides you through submitting an enhancement suggestion for Pure Finance, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion and find related suggestions.
Note: Please don't file an issue to ask a question. You'll get faster results by using the resources below.
Before submitting an enhancement suggestion, check if there is already a filed one which provides that enhancement.
First of all, you can validate it with the community, our official channels are:
How Do I Submit A (Good) Enhancement Suggestion?
General tips:
- Use a clear and descriptive title to identify the suggestion.
- Provide a step-by-step description of the suggested enhancement in as many details as possible.
- Provide specific examples to demonstrate the steps. Include copy/pasteable snippets which you use in those examples, as Markdown code blocks.
- Describe the current behaviour and explain which behaviour you expected to see instead and why.
- Include screenshots and/or animated GIFs which help you demonstrate the steps or point out the part of Pure Finance which the suggestion is related to. You can use this tool to record GIFs on macOS and Windows, and this tool on Linux.
- Explain why this enhancement would be useful to most Pure Finance users.
- Specify the name and version of the OS/Browser/other applicable software you're using.
Then, you can file a new feature by using a template: Feature Request template
The process described here has several goals:
- Maintain repository quality
- Fix problems that are important to users
- Engage the community in working toward the best possible product
- Enable a sustainable system for Pure Finance's maintainers to review contributions
Please follow these steps to have your contribution considered by the maintainers:
- Follow all instructions in the Pull Request Template
- Follow the styleguides as stated in step #2
- If the pull request features a UI improvement, please include a screenshot in order to let maintainers to have a glimpse of it.
- After you submit your pull request, verify that all status checks are passing.
If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.
While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.
We are happy to have people volunteer to translate the App. Just follow the steps as described in our wiki.
Label name | Description |
---|---|
enhancement |
Feature requests. |
bug |
Confirmed bugs or reports that are very likely to be bugs. |
question |
Questions more than bug reports or feature requests (e.g. how do I do X). |
feedback |
General feedback more than bug reports or feature requests. |