Closed EnTeQuAk closed 5 years ago
@wagnerand do you have some time to come up with a good list of categories to group canned responses for line-based review comments?
For now, let's start with these:
@EnTeQuAk so this issue was about adding more values for category
, but I'm still seeing only Other
for all the canned-responses returned by https://addons-dev.allizom.org/api/v5/reviewers/canned-responses/
This issue actually was about being able to select different categories in the canned response admin. Once you define another category there, you'll see it in the API response.
Verified fixed on stage
{
"id": 41,
"title": "Remote script injection",
"response": "We don't allow add-ons to use remote scripts because they create serious security vulnerabilities. We also need to review all of your add-on code, and this makes it much more difficult. Please insert those scripts locally from your add-on code.",
"category": "Security"
},
{
"id": 42,
"title": "Hidden or duplicate files or folders",
"response": "Your add-on contains duplicate or hidden files or folders. These files complicate the review process and may contain sensitive information about the system you created the XPI on. Please correct your packaging process so that these files aren't included.",
"category": "Other"
},
{
"id": 43,
"title": "Unprotected iframe or browser tag",
"response": "Your add-on uses the 'iframe' or 'browser' XUL elements without a 'type' attribute. If you're loading web content on them and you don't set type=\"content\", your add-on can become a serious security threat. If you're loading chrome content, be as explicit as you can about it, so that we don't reject your add-on because of it. You can read more about it here: https://developer.mozilla.org/En/XUL/Iframe#a-browser.type",
"category": "Privacy"
},
{
"id": 44,
"title": "Native prototype extension",
"response": "Extending the prototype of native objects like Object, Array and String in XUL overlays is not allowed because it can cause compatibility problems with other add-ons or the browser itself.",
"category": "Privacy"
}
Followup for mozilla/addons#6653
Let's define a list of categories for canned responses.
Examples are "Security", "Privacy", "Development practises", which else do we need?
In mozilla/addons#6653 I ended up only adding "Other" for now so that we're free to choose whatever we need.