Skip to content

Latest commit

Β 

History

History
98 lines (59 loc) Β· 3.83 KB

File metadata and controls

98 lines (59 loc) Β· 3.83 KB

✨:tada: First of all, thanks for taking the time to contribute! πŸŽ‰βœ¨


Contributing Guidelines πŸ“ŒπŸ“Œ

  • Issues will be assigned on a first come, first serve basis. You just have to comment on the issue, asking to be assigned, and we'll assign it to you if it's not assigned to anyone else.

  • If you find any bug or feature, create an issue accordingly, and please wait for it to be assigned to you.

  • It would be even better if you can visually show a prototype/animation/design for any UI improvements you are going to do so that the probability of major changes after writing the code decreases.

  • Before creating a Pull Request, please make sure you have pull the code from origin, so that merge conflicts can be prevented.

  • Please remove any console logs or errors if present in the code(for the sake of debugging), before creating a Pull Request.

  • Please write some comments in the modified section of the code, so that others can understand you logic and code more easily.


⁉️ Did you find a bug/Issue or an new Feature?, Feel free to submit issues and enhancement requests.

In general, we follow the "fork-and-pull" Git workflow.


βœ…Following are the steps for Creating Issue -

For creating new issue, select any one of the ISSUE TEMPLATE and describe along with its fields given (_rather than opening a blank issue*) :

  • Bug Report πŸ›
  • Feature Request 🌟

βœ…Following are the steps/rules for Contributing in the project -

  1. Fork the repository on GitHub.

  2. Clone the project (forked copy of the project) to your machine :

    git clone url-of-forked-project

  3. Navigate to the directory of project :

    cd Codeditor

  4. Set the upstream with original repository :

    git remote add upstream https://github.com/KshitijDarekar/Codeditor.git

  5. In order to check associated URLs with the project :

    git remote -v

  6. Before commiting any changes, always Pull the upstream so that the recents changes in the original repo gets merged (gets updated with recent changes)

    git pull upstream master

  7. Create a New Branch (where you need to push the changes done) and switch to the respective branch :

    git branch your_branch_name

    git checkout -b your_branch_name

  8. Add and Commit your changes with relevant message :

    git add file_name

  • While commiting, ensure that you follow the below guidelines :

    • Structure of commit message : git commit -m "{{ commit heading }}" -m "{{ commit desc }}"

    • Commit Headings

      • βš’οΈ[Fix]: used when we do a css-fix, ui-improvement
      • πŸ“š[Docs]: used when modifying/updating docs
      • ♻️[Refactor]: used when refactoring variables, functions, classes
      • πŸ› [Bug]: used when commits related to bug fixed/resolve in process
      • πŸš€[Feat]: used when adding a new feature in application
      • πŸ” [API]: when working with API's
    • When commits are in parts Eg:

      • 🌘 [1/3] Auth: setup firebase configs
      • πŸŒ— [2/3] Auth: setup auth routes
      • πŸŒ• [3/3] Auth: finishing with auth functionalities
    • Commit Body

      • In this we can add a brief description of the modification we did in the code. So overall it would look like - git commit -m "πŸ”[API]: Handle CORS policy" -m "Desc: added Cors libraries to access backend from the react, added whitelist πŸ”₯"
  1. Push the changes to the same working branch (do not push on origin master!)

    git push -u origin your_branch_name

  2. To create a Pull request ,click on compare and pull requests.

  3. Add appropriate Title and Description explaining the work you have done.

  4. And Done!! πŸ₯³ Wait till your PR gets merged after successful submission! πŸ˜„


Happy Coding 🎯! Keep Contributing ! πŸš€