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

5.9 KiB

Contributing Guidelines for movie-web

Thank you for investing your time in contributing to our project! Your contribution will be reflected on movie-web.app.

Please read our Code of Conduct to keep our community approachable and respectable.

Contents

New contributor guide

To get an overview of the project, read the README. Here are some resources to help you get started with open-source contributions:

Requesting a feature or reporting a bug

There are two places where to request features or report bugs:

  • GitHub Issues
  • The movie-web 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.

Discord Server

GitHub Issues

To make a GitHub issue for movie-web, please visit the new issue page where you can pick either the "Bug Report" or "Feature Request" template.

When filling out an issue template, please include as much detail as possible and any screenshots or console logs as appropriate.

After an issue is created, it will be assigned either the https://github.com/movie-web/movie-web/labels/bug or https://github.com/movie-web/movie-web/labels/feature label, along with https://github.com/movie-web/movie-web/labels/awaiting-approval. One of our maintainers will review your issue and, if it's accepted, will set the https://github.com/movie-web/movie-web/labels/approved label.

Before you start!

Before starting a contribution, please check your contribution is part of an open issue on our issues page.

GitHub issues are how we track our bugs and feature requests that will be implemented into movie-web - all contributions must have an issue and be approved by a maintainer before a pull request can be worked on.

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

Also, make sure that the issue you would like to work on has been given the https://github.com/movie-web/movie-web/labels/approved label by a maintainer. Otherwise, if we reject the issue, it means your work will have gone to waste!

Contributing

If you're here because you'd like to work on an issue, amazing! Thank you for even considering contributing to movie-web; it means a lot ❤️

Firstly, make sure you've read the 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.

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.

Our recommended development environment to work on movie-web is:

When opening Visual Studio Code, you will be prompted to install our recommended extensions if they are not installed for you.

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 🤌 first time:

  • KISS - Keep It Simple Soldier! - Simple code makes readable and efficient code!
  • Follow standard best practices for TypeScript and React.
  • Keep as much as possible to the style of movie-web. Look around our codebase to familiarise yourself with how we do things!
  • 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

Language contributions help movie-web massively, allowing people worldwide to use our app!

We use weblate for crowdsourcing our translations. Click here to go to our translation tool.

  1. First make sure you make an account. (click the link above)
  2. Click the language you want to help translate, if it's not listed you can click the plus top left to add a new language.
  3. In the top right of the screen, click "translate"
  4. Here you will be prompted a key to translate, fill in a translation and proceed to the next item by pressing "save and continue".
  5. Thats all there is to it, every translation will eventually come through and be pushed with an update. This usually doesn't take longer than a week.