[WIP] Update accessibility for private review requests
Review Request #7705 — Created Oct. 16, 2015 and discarded
[WIP] Update accessibility for private review requests
Description | From | Last Updated |
---|---|---|
This is missing a "Returns" section. It should be like: """ ... Returns: bool: <description of the return type> """ |
chipx86 | |
Typo: "reviewers" should be "reviewer's". |
AD adriano | |
You don't really need this condition. If groups is empty, then Python will automatically avoid entering the body of the … |
AD adriano | |
undefined name 'silent' |
reviewbot | |
Col: 9 E303 too many blank lines (2) |
reviewbot | |
We usually surround our strings with single-quotes instead of double-quotes. |
AD adriano | |
The return is a conclusion. A new paragraph. It should have a blank line before it. |
chipx86 | |
Make this into a @property. |
brennie | |
Consider replacing this with: return not self.is_private() |
AD adriano | |
<li> is not allowed in a <span>. It needs to be the other way around. |
chipx86 |
-
The design for this is going to need to change. It's not enough to stick the
private
flag inextra_data
, because we can't query on it, and it's crucial that we can query on it, since otherwise private review requests will show up in the dashboard, All Review Requests page, search, etc.You'll need to make a new
private
field on the model.You'll also need to update the
_query
function inreviewboard/reviews/managers.py
(see theif filter_private
section) to consider this field.