From 6bcab61413fe9ffcbbdafbb08f8bb1d201041186 Mon Sep 17 00:00:00 2001 From: Marcella Maki Date: Thu, 14 Nov 2024 16:38:11 -0500 Subject: [PATCH] Remove studio PR template in favor of org template. Preserve some important details from PR template into dev docs --- .github/pull_request_template.md | 84 -------------------------------- docs/_index.md | 1 + docs/pull_requests.md | 16 ++++++ 3 files changed, 17 insertions(+), 84 deletions(-) delete mode 100644 .github/pull_request_template.md create mode 100644 docs/pull_requests.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 219cd954fc..0000000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,84 +0,0 @@ - - -## Summary -### Description of the change(s) you made - - - -### Manual verification steps performed -1. Step 1 -2. Step 2 -3. ... - -### Screenshots (if applicable) - - -### Does this introduce any tech-debt items? - -___ -## Reviewer guidance -### How can a reviewer test these changes? - - - -### Are there any risky areas that deserve extra testing? - - - -## References - - -## Comments - - ----- - -### Contributor's Checklist - - -PR process: - -- [ ] If this is an important user-facing change, PR or related issue the `CHANGELOG` label been added to this PR. Note: items with this label will be added to the [CHANGELOG](https://github.com/learningequality/studio/blob/master/CHANGELOG.md) at a later time -- [ ] If this includes an internal dependency change, a link to the diff is provided -- [ ] The `docs` label has been added if this introduces a change that needs to be updated in the [user docs](https://kolibri-studio.readthedocs.io/en/latest/index.html)? -- [ ] If any Python requirements have changed, the updated `requirements.txt` files also included in this PR -- [ ] Opportunities for using Google Analytics here are noted -- [ ] Migrations are [safe for a large db](https://www.braintreepayments.com/blog/safe-operations-for-high-volume-postgresql/) - -Studio-specifc: - -- [ ] All user-facing strings are translated properly -- [ ] The `notranslate` class been added to elements that shouldn't be translated by Google Chrome's automatic translation feature (e.g. icons, user-generated text) -- [ ] All UI components are LTR and RTL compliant -- [ ] Views are organized into `pages`, `components`, and `layouts` directories [as described in the docs](https://github.com/learningequality/studio/blob/vue-refactor/docs/architecture.md#where-does-the-frontend-code-live) -- [ ] Users' storage used is recalculated properly on any changes to main tree files -- [ ] If there new ways this uses user data that needs to be factored into our [Privacy Policy](https://github.com/learningequality/studio/tree/master/contentcuration/contentcuration/templates/policies/text), it has been noted. - - -Testing: - -- [ ] Code is clean and well-commented -- [ ] Contributor has fully tested the PR manually -- [ ] If there are any front-end changes, before/after screenshots are included -- [ ] Critical user journeys are covered by Gherkin stories -- [ ] Any new interactions have been added to the [QA Sheet](https://docs.google.com/spreadsheets/d/1HF4Gy6rb_BLbZoNkZEWZonKFBqPyVEiQq4Ve6XgIYmQ/edit#gid=0) -- [ ] Critical and brittle code paths are covered by unit tests -___ - -### Reviewer's Checklist -#### This section is for reviewers to fill out. - -- [ ] Automated test coverage is satisfactory -- [ ] PR is fully functional -- [ ] PR has been tested for [accessibility regressions](http://kolibri-dev.readthedocs.io/en/develop/manual_testing.html#accessibility-a11y-testing) -- [ ] External dependency files were updated if necessary (`yarn` and `pip`) -- [ ] Documentation is updated -- [ ] Contributor is in AUTHORS.md diff --git a/docs/_index.md b/docs/_index.md index a7ceea42b9..c3e67006ba 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -7,6 +7,7 @@ - [Local development tools](./dev_tools.md) - [Running tests](./running_tests.md) - [Adding or updating dependencies](./dependencies.md) +- [Preparing a pull request](../pull_requests.md) ## Additional development tools diff --git a/docs/pull_requests.md b/docs/pull_requests.md new file mode 100644 index 0000000000..21f6666d54 --- /dev/null +++ b/docs/pull_requests.md @@ -0,0 +1,16 @@ +Preparing a pull request +============= + +Before opening or approving a PR, consider: + +Security and privacy: +- If there new ways this uses user data that needs to be factored into our [Privacy Policy](https://github.com/learningequality/studio/tree/master/contentcuration/contentcuration/templates/policies/text), it has been noted. + + +Internationalization: +- All user-facing strings are translated properly +- The `notranslate` class been added to elements that shouldn't be translated by Google Chrome's automatic translation feature (e.g. icons, user-generated text) +- All UI components are LTR and RTL compliant + +Deployment: +- Migrations are [safe for a large db](https://www.braintreepayments.com/blog/safe-operations-for-high-volume-postgresql/)