JSHint
-
reviewboard/static/rb/js/models/commentEditorModel.es6.js (Diff revision 1)
Review Request #9173 — Created Sept. 6, 2017 and submitted
A previous change added the UI for displaying the "Waiting for verification"
state. This change adds the UI to enable and manipulate that state.
Description | From | Last Updated |
---|---|---|
Col: 18 ['require_verification'] is better written in dot notation. |
reviewbot | |
Can you add docs here, and use @property and @property.setter for these? |
chipx86 | |
Docs here, too. |
chipx86 | |
I think you might need a blank line here for it to render properly. |
chipx86 | |
These can be in the return below. |
chipx86 | |
Let's also factor in Local Site admins, maybe also add a permission for this? |
chipx86 | |
Can you compare user.pk to self.get_review().user_id to optimistically prevent a query on the user? |
chipx86 | |
Col: 58 Missing semicolon. |
reviewbot | |
I don't know that #: will work reliably here. property includes a doc= keyword argument that should be used instead. |
chipx86 |
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+348 -51) |
reviewboard/static/rb/js/views/commentIssueBarView.es6.js (Diff revision 2) |
---|
Col: 58 Missing semicolon.
reviewboard/reviews/models/base_comment.py (Diff revision 2) |
---|
Can you add docs here, and use
@property
and@property.setter
for these?
reviewboard/reviews/models/base_comment.py (Diff revision 2) |
---|
I think you might need a blank line here for it to render properly.
reviewboard/reviews/models/base_comment.py (Diff revision 2) |
---|
Let's also factor in Local Site admins, maybe also add a permission for this?
reviewboard/reviews/models/base_comment.py (Diff revision 2) |
---|
Can you compare
user.pk
toself.get_review().user_id
to optimistically prevent a query on the user?
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+352 -51) |
reviewboard/reviews/models/base_comment.py (Diff revision 3) |
---|
I don't know that
#:
will work reliably here.property
includes adoc=
keyword argument that should be used instead.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 4 (+353 -51) |