diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fd22174634..8d3138a981 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -136,10 +136,18 @@ The process of proposing a change to Talawa Admin can be summarized as: 3. _Creating your code coverage account_ 1. You can also see your code coverage online for your fork of the repo. This is provided by `codecov.io` 1. Go to this link: `https://app.codecov.io/gh/XXXX/YYYY` where XXXX is your GitHub account username and YYYY is the name of the repository - 2. Login to `codecov.io` using your GitHub account, and add your **repo** and **branches** to the `codecov.io` dashboard. + + 2. Login to `codecov.io` using your GitHub account, and add your **repo** and **branches** to the `codecov.io` dashboard. + ![Debugging Test Demo](/public/images/codecov/authorise-codecov-github.jpg) 3. Remember to add the `Repository Upload Token` for your forked repo. This can be found under `Settings` of your `codecov.io` account. - 4. Use the value of this token to create a secret named CODE_COV for your forked repo. - 5. You will see your code coverage reports with every push to your repo after following these steps + + 4. Click on Setup Repo option + ![Debugging Test Demo](/public/images/codecov/homescrenn%20(1).jpg) + 5. Use the value of this token to create a secret named CODE_COV for your forked repo. + [![Code-cov-token.jpg](/public/images/codecov/Code-cov-token.jpg)]() + [![addd-your-key.jpg](/public/images/codecov/addd-your-key.jpg)]() + 6. You will see your code coverage reports with every push to your repo after following these steps + [![results.jpg](/public/images/codecov/results.jpg)]() 2. After making changes you can add them to git locally using `git add `(to add changes only in a particular file) or `git add .` (to add all changes). 3. After adding the changes you need to commit them using `git commit -m ''`(look at the commit guidelines below for commit messages). 4. Once you have successfully commited your changes, you need to push the changes to the forked repo on github using: `git push origin `.(Here branch name must be name of the branch you want to push the changes to.) diff --git a/src/GraphQl/Queries/Queries.ts b/src/GraphQl/Queries/Queries.ts index 826d9d8076..76db5206c2 100644 --- a/src/GraphQl/Queries/Queries.ts +++ b/src/GraphQl/Queries/Queries.ts @@ -617,6 +617,7 @@ export const ORGANIZATION_POST_CONNECTION_LIST = gql` firstName lastName } + pinned } } }