-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into ms/2307-send-notifica…
…tion-emails
- Loading branch information
Showing
8 changed files
with
173 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Code Review | ||
|
||
Pull requests should be titled in the format of `#issue_number: Descriptive name ideally matching ticket name - [sandbox]` | ||
Pull requests including a migration should be suffixed with ` - MIGRATION` | ||
|
||
After creating a pull request, pull request submitters should: | ||
- Add at least 2 developers as PR reviewers (only 1 will need to approve). | ||
- Message on Slack or in standup to notify the team that a PR is ready for review. | ||
- If any model was updated to modify/add/delete columns, run makemigrations and commit the associated migrations file. | ||
|
||
## Pull request approvals | ||
Code changes on user-facing features (excluding content updates) require approval from at least one developer and one designer. | ||
All other changes require a single approving review. | ||
|
||
The submitter is responsible for merging their PR unless the approver is given explicit permission. Similarly, do not commit to another person's branch unless given explicit permission. | ||
|
||
Bias towards approving i.e. "good to merge once X is fixed" rather than blocking until X is fixed, requiring an additional review. | ||
|
||
## Pull Requests for User-facing changes | ||
When making or reviewing user-facing changes, test that your changes work on multiple browsers including Chrome, Microsoft Edge, Firefox, and Safari. | ||
|
||
Add new pages to the .pa11yci file so they are included in our automated accessibility testing. | ||
|
||
## Other Pull request norms | ||
- Keep pull requests as small as possible. This makes them easier to review and track changes. | ||
- Write descriptive pull requests. This is not only something that makes it easier to review, but is a great source of documentation. | ||
|
||
## Coding standards | ||
|
||
### Plain language | ||
All functions and methods should use plain language. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,6 +137,20 @@ class UserFixture: | |
"email": "[email protected]", | ||
"title": "Sweetwater sailor", | ||
}, | ||
{ | ||
"username": "cce058bc-9e52-456b-99ff-f5775c481c8f", | ||
"first_name": "Elizabeth", | ||
"last_name": "Liao", | ||
"email": "[email protected]", | ||
"title": "Software Engineer", | ||
}, | ||
{ | ||
"username": "c9c64cd5-bc76-45ef-85cd-4f6eefa9e998", | ||
"first_name": "Samiyah", | ||
"last_name": "Key", | ||
"email": "[email protected]", | ||
"title": "Designer", | ||
}, | ||
] | ||
|
||
STAFF = [ | ||
|
@@ -231,6 +245,18 @@ class UserFixture: | |
"last_name": "Gingle-Analyst", | ||
"email": "[email protected]", | ||
}, | ||
{ | ||
"username": "373f7073-f90b-49d8-8da2-459246fa33bd", | ||
"first_name": "Elizabeth-Analyst", | ||
"last_name": "Liao-Analyst", | ||
"email": "[email protected]", | ||
}, | ||
{ | ||
"username": "ee1e68da-41a5-47f7949b-d8a4e9e2b9d2", | ||
"first_name": "Samiyah-Analyst", | ||
"last_name": "Key-Analyst", | ||
"email": "[email protected]", | ||
}, | ||
] | ||
|
||
# Additional emails to add to the AllowedEmail whitelist. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.