| 1 | # Issues, Pull Requests, and Discussions |
| 2 | |
| 3 | ## Discussions |
| 4 | |
| 5 | Discussions are open [in the repo](https://github.com/ClementTsang/bottom/discussions). As for the difference between discussions and issues: |
| 6 | |
| 7 | - Open an issue if what you have enough information to properly fill out any details needed for a report or request. |
| 8 | - Open a discussion otherwise (e.g. asking a question). |
| 9 | |
| 10 | ## Opening an issue |
| 11 | |
| 12 | ### Bug reports |
| 13 | |
| 14 | When filing a bug report, please use the [bug report template](https://github.com/ClementTsang/bottom/issues/new?assignees=&labels=bug&template=bug_report.md&title=) and fill in as much as you can. It is _incredibly_ difficult for a maintainer to fix a bug when it cannot be reproduced, and giving as much detail as possible generally helps to make it easier to reproduce the problem! |
| 15 | |
| 16 | ### Feature requests |
| 17 | |
| 18 | Please use the [feature request template](https://github.com/ClementTsang/bottom/issues/new?assignees=&labels=feature&template=feature_request.md&title=) and fill it out. Remember to give details about what the feature is along with why you think this suggestion will be useful. |
| 19 | |
| 20 | Also, please check whether an existing issue has covered your specific feature request! |
| 21 | |
| 22 | ## Pull requests |
| 23 | |
| 24 | The expected workflow for a pull request is: |
| 25 | |
| 26 | 1. Fork the project. |
| 27 | 2. Make your changes. |
| 28 | 3. Make any documentation changes if necessary - if you add a new feature, it'll probably need documentation changes. See [here](./documentation.md) for tips on documentation. |
| 29 | 4. Commit and create a pull request to merge into the `main` branch. **Please fill out the pull request template and checklist**. |
| 30 | 5. Ask a maintainer to review your pull request. |
| 31 | - Check if the CI workflow passes. These consist of clippy lints, rustfmt checks, and basic tests. If you are a |
| 32 | first-time contributor, you may need to wait for a maintainer to let CI run. |
| 33 | - If changes are suggested or any comments are made, they should probably be addressed. |
| 34 | 6. Once it looks good, it'll be merged! Note that generally, PRs are squashed to maintain repo cleanliness, though |
| 35 | feel free to ask otherwise if that isn't preferable. |
| 36 | |
| 37 | Some other things related to making changes or pull requests: |
| 38 | |
| 39 | - Please review your code _yourself_ and test your changes before you create the PR and ask for a review. |
| 40 | - If you are adding or changing any dependency, a justification on why this is necessary must be included. |
| 41 | - Please ensure that any changes made are compatible with the license of bottom. |
| 42 | |
| 43 | ## AI Policy |
| 44 | |
| 45 | Note that any contribution, whether it be opening an issue, PRs, or commenting, should follow the [AI policy](https://github.com/ClementTsang/bottom/blob/main/AI_POLICY.md). Contributions that do not follow this may be closed/hidden. |