1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00
smov/.github/CONTRIBUTING.md

92 lines
5.4 KiB
Markdown
Raw Normal View History

2024-04-25 16:55:55 +02:00
# Contributing Guidelines for sudo-flix
Thank you for investing your time in contributing to our project! Your contribution will be reflected on all of the community hosted instances that are on the latest version.
2023-07-03 18:52:09 +02:00
Please read our [Code of Conduct](./CODE_OF_CONDUCT.md) to keep our community approachable and respectable.
## Contents
2024-04-25 16:55:55 +02:00
- [Contributing Guidelines for sudo-flix](#contributing-guidelines-for-sudo-flix)
- [Contents](#contents)
- [New contributor guide](#new-contributor-guide)
- [Requesting a feature or reporting a bug](#requesting-a-feature-or-reporting-a-bug)
- [Discord Server](#discord-server)
- [GitHub Issues](#github-issues)
- [Before you start!](#before-you-start)
- [Contributing](#contributing)
- [Recommended Development Environment](#recommended-development-environment)
- [Tips](#tips)
- [Language Contributions](#language-contributions)
## New contributor guide
2023-07-03 18:52:09 +02:00
To get an overview of the project, read the [README](README.md). Here are some resources to help you get started with open-source contributions:
2023-07-03 18:52:09 +02:00
- [Finding ways to contribute to open-source on GitHub](https://docs.github.com/en/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github)
- [Set up Git](https://docs.github.com/en/get-started/quickstart/set-up-git)
- [GitHub flow](https://docs.github.com/en/get-started/quickstart/github-flow)
- [Collaborating with pull requests](https://docs.github.com/en/github/collaborating-with-pull-requests)
2023-07-03 18:52:09 +02:00
## Requesting a feature or reporting a bug
There are two places where to request features or report bugs:
- GitHub Issues
2024-04-25 16:55:55 +02:00
- The sudo-flix Discord server
### Discord Server
If you do not have a GitHub account or want to discuss a feature or bug with us before making an issue, you can join our Discord server.
2024-05-06 05:05:08 +02:00
[Join bruh](https://discord.gg/mxhcENzG2j)
### GitHub Issues
2024-04-25 16:55:55 +02:00
To make a GitHub issue for sudo-flix, please visit the [new issue page](https://github.com/sussy-code/smov/issues/new/choose) where you can pick either the "Bug Report" or "Feature Request" template.
2023-07-03 18:52:09 +02:00
When filling out an issue template, please include as much detail as possible and any screenshots or console logs as appropriate.
2024-04-25 16:55:55 +02:00
After an issue is created, it will be assigned either the https://github.com/sussy-code/smov/labels/bug or https://github.com/sussy-code/smov/labels/feature label, along with https://github.com/sussy-code/smov/labels/awaiting-approval. One of our maintainers will review your issue and, if it's accepted, will set the https://github.com/sussy-code/smov/labels/approved label.
## Before you start!
2024-04-25 16:55:55 +02:00
Before starting a contribution, please check your contribution is part of an open issue on [our issues page](https://github.com/sussy-code/smov/issues?q=is%3Aopen+is%3Aissue+label%3Aapproved).
2024-04-25 16:55:55 +02:00
GitHub issues are how we track our bugs and feature requests that will be implemented into sudo-flix - all contributions **must** have an issue and be approved by a maintainer before a pull request can be worked on.
2023-07-03 18:52:09 +02:00
If a pull request is opened before an issue is created and accepted, you may risk having your pull request rejected! Always check with us before starting work on a feature - we don't want to waste your time!
> **Note**
> The exception to this are language contributions, which are discussed in [this section](#language-contributions)
2024-04-25 16:55:55 +02:00
Also, make sure that the issue you would like to work on has been given the https://github.com/sussy-code/smov/labels/approved label by a maintainer. Otherwise, if we reject the issue, it means your work will have gone to waste!
## Contributing
2024-04-25 16:55:55 +02:00
If you're here because you'd like to work on an issue, amazing! Thank you for even considering contributing to sudo-flix; it means a lot :heart:
Firstly, make sure you've read the [Before you start!](#before-you-start) section!
When you have found a GitHub issue you would like to work on, you can request to be assigned to the issue by commenting on the GitHub issue.
2023-07-03 18:52:09 +02:00
If you are assigned to an issue but can't complete it for whatever reason, no problem! Just let us know, and we will open up the issue to have someone else assigned.
### Recommended Development Environment
2024-04-25 16:55:55 +02:00
Our recommended development environment to work on sudo-flix is:
- [Visual Studio Code](https://code.visualstudio.com/)
- [ESLint Extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [EditorConfig Extension](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)
When opening Visual Studio Code, you will be prompted to install our recommended extensions if they are not installed for you.
2023-07-03 18:52:09 +02:00
Our project is set up to enforce formatting and code style standards using ESLint.
### Tips
Here are some tips to make sure that your pull requests are :pinched_fingers: first time:
- KISS - Keep It Simple Soldier! - Simple code makes readable and efficient code!
- Follow standard best practices for TypeScript and React.
2024-04-25 16:55:55 +02:00
- Keep as much as possible to the style of sudo-flix. Look around our codebase to familiarise yourself with how we do things!
2023-07-03 18:52:09 +02:00
- Ensure to take note of the ESLint errors and warnings! **Do not ignore them!** They are there for a reason.
- Test, test, test! Make sure you thoroughly test the features you are contributing.
### Language Contributions
2024-04-25 16:55:55 +02:00
Language contributions help sudo-flix massively, allowing people worldwide to use our app!
2024-04-25 16:55:55 +02:00
1. Create a new langague json file
2. Implement the langague file into settings
3. Thats it make a PR