In this article you will find information about the steps you should take to help us with the development of code for the application.
To start, fork the project. If you are new to this, don't worry! We leave you a guide below, and if you still have problems, you can contact us whenever you wish.
How To Fork Guide by GitHub. After that you should run your app to check that everything is correct.
We work with code generation in some files, so make sure you take this into account before submitting any changes. To regenerate the files you can use:
dart run build_runner watch --delete-conflicting-outputs
If you work with translation, you may want to use dart run slang
instead, which regenerate the translations files faster.
Once you have the project up and running, you should prepare to develop in Monekin. To make changes to the project and develop on it, the use of Visual Studio Code as a text editor is strongly recommended. You can use any other code editor, you can even program using Word, but Visual Studio Code is the most widespread editor for Front-End development, and using it guarantees you follow the same work methods as the administrators of this project.
To increase your productivity on this project, it is strongly recommended to install the recommended extensions. To do this, when you have the project open with Visual Studio Code, you can type @recommended
in the extensions section, and install all the ones that appear in the list.
And that's it! You're are ready to start.
You can see a list of tasks to do here. Once you see one that suits you and is not assigned to anyone else, you can leave a comment on the task, so that other users and administrators know who is working on it.
If the list of tasks is too small for you, or you can't find one that suits you, here are some tips on how to help:
- You can create an issue about the thing that you consider to work on.
- You can always make code improvements and pull requests without having an opened issue.
- Ask questions or suggest ideas in the comments section of any issue.
- Some recurring tasks such as adding new languages to the application, improving marketplace screenshots, or improving documentation do not usually have a related issue. These tasks are easy to perform, maybe you can start there.
Once you've decided on what you want to contribute it's time to create a new branch in your forked Monekin repository.
git checkout -b your-branch-name develop
NOTE: You should replace
your-branch-name
with a good name to give to your branch. For examplefix/XXXX
where XXXX is the Issue number, orfeature/some-new-feature
.
This will be the branch in which you will code, make commits, etc. Before start coding it is strongly recommended to read the git branch workflow and the commit message convention that we use in this project.
main
and develop
branches are protected and only administrators can upload changes to them directly. All other users will have to make a Pull Request (step 4).
So far you should have pushed your work to your working branch and have tested that it works on all the compatible devices. Then final step is to open a pull request to the develop
branch of the official Monekin repo.
How To Submit a PR Guide by GitHub
- Make sure that on the base repository's base the
develop
branch is chosen as "base". - Pull requests to
main
will be changed to thedevelop
branch, or in the worst case, rejected.