Skip to content

Instantly share code, notes, and snippets.

@mrtnpro
Last active February 8, 2018 20:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrtnpro/36d9abf272e11d333789e26b0a9ee4bd to your computer and use it in GitHub Desktop.
Save mrtnpro/36d9abf272e11d333789e26b0a9ee4bd to your computer and use it in GitHub Desktop.

Description

Describe the big picture of your changes, explain your motivation and give as much context as possible. If it fixes a bug or resolves a feature request, be sure to link to that issue (use Github's auto-closing keywords.

Don't forget to set a meaningful title and use appropriate labels.

Types of changes

What types of changes does your code introduce?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Side effects

This is the most important question to answer, as it can point out problems where you are making too many changes in one commit or branch. One or two bullet points for related changes may be okay, but five or six are likely indicators of a commit that is doing too many things.

Review

Tell the reviewer what to expect, how to reproduce the original bug and how to test your changes.

Example:

  1. Login as admin
  2. Go to /settings
  3. Click on Team in the sidebar
  4. Invite a new user

Housekeeping

Do a mini review yourself before opening a pull request:

  • Are the commits in good order, clean, and tidy?
  • Are there extraneous things in any commits that should be split into their own?
  • Are the commit messages clear and informative?
  • Should anything be opened in it's own pull request?

Checklist

Checkpoints for the reviewer:

  • I reviewed the diff
  • I have checked for linting issues
  • I checked for missing or redundant test coverage
  • I checked for missing translations
  • Includes necessary documentation (optional)
  • Includes offline node packages (optional)
  • Code follows contribution guidelines
  • Commit messages follow Angular's git commit guidelines
  • All tests are passing
  • Deployed to Netlify
  • Branch name follows naming conventions
  • Branch was deleted after successful merge

Screenshots

If your changes affect the UI, please include a screenshot.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment