Redo the "New Review Request" UI.

Review Request #4215 — Created June 7, 2013 and submitted

Information

Review Board
master
100

Reviewers

Redo the "New Review Request" UI.

This is a mostly complete rewrite of our "New Review Request" page to support
both pre- and post-commit reviews.

For repositories which support it (currently SVN and GitHub), it shows two
sections: "New Review Request for Pending Change" and "New Review Request for
Committed Change".

The pending change workflow is similar to what we had before in its
functionality, but it's a bit more streamlined (in the simplest case, it's just
"click on the repository name and then drop a diff file in the box"). It also
tries a little bit harder to validate that the diffs that people create are
valid before actually putting anything in the database, and shows some better
error messages (especially in the case of git without --full-index).

The one feature that the old forms had was parent diff support. I've decided
that for now, it will just point people to using rbtools.

The post-commit workflow is super easy--select a branch, and select a commit.
- Created a ton of review requests against various different repositories.
  Verified that I can do post-commit requests for GitHub and SVN, and that I
  can do pre-commit requests for any repo.
- Checked that the "None" repo allows me to create an empty review request.
- Ran js-tests and python unit tests
- Ran jshint

Description From Last Updated

Maybe just get_branches? "heads" seems kind of Gitty.

chipx86chipx86

I feel this can too easily become inconsistent between hosting services. Maybe formalize with an object with fields, so we …

chipx86chipx86

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Since this is exposed, why not just make it its own file and top-level object?

chipx86chipx86

I assume this will become a BaseResource?

chipx86chipx86

If these are internal only, just make them var statements above.

chipx86chipx86

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (82 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 23 E127 continuation line over-indented for visual indent

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (112 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 23 E127 continuation line over-indented for visual indent

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (81 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot

Can you add the one-line summary while you're editing this code?

chipx86chipx86

Since we reference this in multiple places, there should be a constant defined in #new-review-request for this height.

chipx86chipx86

Missing a doc comment.

chipx86chipx86

Can you add doc comments to these objects as well?

chipx86chipx86

Should be able to use .height(...)

chipx86chipx86

Here too.

chipx86chipx86

Can you indent within the {% .. %} one space?

chipx86chipx86

Here too.

chipx86chipx86

Should use |escapejs

chipx86chipx86

|escapejs

chipx86chipx86
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/urls.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
      Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
    
    
  2. reviewboard/settings.py (Diff revision 1)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  3. 
      
chipx86
  1. I haven't looked at this in great detail. Just some initial thoughts as you work on it.
  2. reviewboard/hostingsvcs/github.py (Diff revision 1)
     
     
    Show all issues
    Maybe just get_branches? "heads" seems kind of Gitty.
  3. reviewboard/hostingsvcs/github.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
    Show all issues
    I feel this can too easily become inconsistent between hosting services. Maybe formalize with an object with fields, so we know what's available and can make decisions in one place as to what we're extending do.
    
    Same goes with branches above.
    1. Well, that's a lot of why I'm sticking it in a dictionary. The only thing here that's maybe uncommon is gravatar_id, which we can either leave out or fake for other services that don't include an email address.
      
      I anticipate this will change a little bit once I implement some other backends (I'm planning to add at least bitbucket/hg and svn).
  4. Show all issues
    Since this is exposed, why not just make it its own file and top-level object?
  5. Show all issues
    I assume this will become a BaseResource?
    1. Perhaps eventually? Dealing with BaseResource is kind of clumsy for something like this where I don't need to load or sync anything to the server.
  6. Show all issues
    If these are internal only, just make them var statements above.
    1. You mean var statements outside of any function? I can see how that works with require.js but won't that pollute everything right now?
    2. Nevermind, I remembered how to use anonymous functions.
  7. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/urls.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
      Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
    
    
  2. reviewboard/settings.py (Diff revision 2)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  3. reviewboard/settings.py (Diff revision 2)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  4. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/urls.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
      Ignored Files:
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
    
    
  2. reviewboard/settings.py (Diff revision 3)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  3. reviewboard/settings.py (Diff revision 3)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  4. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/urls.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
      Ignored Files:
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
    
    
  2. reviewboard/settings.py (Diff revision 4)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  3. reviewboard/settings.py (Diff revision 4)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  4. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/urls.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
      Ignored Files:
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/css/defs.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
    
    
  2. reviewboard/settings.py (Diff revision 5)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  3. reviewboard/settings.py (Diff revision 5)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  4. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/urls.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
        reviewboard/scmtools/svn.py
      Ignored Files:
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/css/defs.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
    
    
  2. reviewboard/scmtools/svn.py (Diff revision 6)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  3. reviewboard/settings.py (Diff revision 6)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  4. reviewboard/settings.py (Diff revision 6)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  5. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/models.py
        reviewboard/reviews/urls.py
        reviewboard/scmtools/core.py
        reviewboard/scmtools/perforce.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
        reviewboard/scmtools/svn.py
      Ignored Files:
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/css/defs.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
    
    
  2. reviewboard/reviews/models.py (Diff revision 7)
     
     
    Show all issues
    Col: 80
     E501 line too long (82 > 79 characters)
    
  3. reviewboard/settings.py (Diff revision 7)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  4. reviewboard/settings.py (Diff revision 7)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  5. reviewboard/webapi/resources.py (Diff revision 7)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  6. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/models.py
        reviewboard/reviews/urls.py
        reviewboard/scmtools/core.py
        reviewboard/scmtools/perforce.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
        reviewboard/scmtools/svn.py
      Ignored Files:
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/css/defs.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
    
    
  2. reviewboard/settings.py (Diff revision 8)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  3. reviewboard/settings.py (Diff revision 8)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  4. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/models.py
        reviewboard/reviews/urls.py
        reviewboard/scmtools/core.py
        reviewboard/scmtools/perforce.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
        reviewboard/scmtools/svn.py
      Ignored Files:
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/css/defs.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
    
    
  2. reviewboard/settings.py (Diff revision 9)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  3. reviewboard/settings.py (Diff revision 9)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  4. 
      
david
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/webapi/resources.py
        reviewboard/webapi/encoder.py
        reviewboard/reviews/tests.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/models.py
        reviewboard/reviews/evolutions/__init__.py
        reviewboard/reviews/managers.py
        reviewboard/reviews/evolutions/commit_id.py
        reviewboard/scmtools/core.py
        reviewboard/reviews/admin.py
        reviewboard/reviews/forms.py
        reviewboard/webapi/tests.py
        reviewboard/reviews/urls.py
        reviewboard/hostingsvcs/service.py
        reviewboard/scmtools/tests.py
        reviewboard/hostingsvcs/github.py
        reviewboard/scmtools/perforce.py
        reviewboard/scmtools/svn.py
      Ignored Files:
        reviewboard/scmtools/testdata/svn_repo/db/current
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/scmtools/testdata/svn_repo/db/revprops/7
        reviewboard/scmtools/testdata/svn_repo/db/revprops/6
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/templates/reviews/review_request_box.html
        reviewboard/static/rb/css/defs.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
        reviewboard/scmtools/testdata/svn_repo/db/revs/6
        reviewboard/scmtools/testdata/svn_repo/db/revs/7
    
    
  2. reviewboard/hostingsvcs/github.py (Diff revision 10)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  3. reviewboard/scmtools/svn.py (Diff revision 10)
     
     
    Show all issues
    Col: 23
     E127 continuation line over-indented for visual indent
    
  4. reviewboard/scmtools/svn.py (Diff revision 10)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  5. reviewboard/settings.py (Diff revision 10)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  6. reviewboard/settings.py (Diff revision 10)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  7. reviewboard/webapi/tests.py (Diff revision 10)
     
     
    Show all issues
    Col: 80
     E501 line too long (112 > 79 characters)
    
  8. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/models.py
        reviewboard/scmtools/tests.py
        reviewboard/reviews/urls.py
        reviewboard/scmtools/core.py
        reviewboard/scmtools/perforce.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/webapi/resources.py
        reviewboard/scmtools/svn.py
      Ignored Files:
        reviewboard/scmtools/testdata/svn_repo/db/current
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryBranchModel.js
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/scmtools/testdata/svn_repo/db/revprops/7
        reviewboard/scmtools/testdata/svn_repo/db/revprops/6
        reviewboard/static/rb/js/newReviewRequest/models/repositoryModel.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryBranchesCollection.js
        reviewboard/static/rb/js/newReviewRequest/collections/repositoryCommitsCollection.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/css/defs.less
        reviewboard/static/rb/js/newReviewRequest/models/repositoryCommitModel.js
        reviewboard/scmtools/testdata/svn_repo/db/revs/6
        reviewboard/scmtools/testdata/svn_repo/db/revs/7
    
    
  2. reviewboard/hostingsvcs/github.py (Diff revision 11)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  3. reviewboard/scmtools/svn.py (Diff revision 11)
     
     
    Show all issues
    Col: 23
     E127 continuation line over-indented for visual indent
    
  4. reviewboard/scmtools/svn.py (Diff revision 11)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  5. reviewboard/settings.py (Diff revision 11)
     
     
    Show all issues
    Col: 80
     E501 line too long (81 > 79 characters)
    
  6. reviewboard/settings.py (Diff revision 11)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  7. 
      
david
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/models.py
        reviewboard/reviews/urls.py
        reviewboard/scmtools/core.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/scmtools/svn.py
      Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/repositoryView.js
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/templates/base.html
        reviewboard/static/rb/js/newReviewRequest/models/preCommitModel.js
        reviewboard/static/rb/js/newReviewRequest/views/postCommitView.js
        reviewboard/static/rb/js/resources/models/tests/validateDiffModelTests.js
        reviewboard/static/rb/js/newReviewRequest/models/postCommitModel.js
        reviewboard/static/rb/js/newReviewRequest/views/branchView.js
        reviewboard/static/rb/js/resources/models/validateDiffModel.js
        reviewboard/static/rb/js/newReviewRequest/views/preCommitView.js
        reviewboard/static/rb/js/newReviewRequest/views/commitsView.js
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/views/branchesView.js
        reviewboard/static/rb/js/newReviewRequest/views/commitView.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/resources/models/repositoryModel.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/views/repositorySelectionView.js
    
    
  2. reviewboard/reviews/models.py (Diff revision 13)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  3. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/settings.py
        reviewboard/scmtools/models.py
        reviewboard/reviews/models.py
        reviewboard/reviews/urls.py
        reviewboard/scmtools/core.py
        reviewboard/hostingsvcs/service.py
        reviewboard/hostingsvcs/github.py
        reviewboard/scmtools/svn.py
      Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/repositoryView.js
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/templates/base.html
        reviewboard/static/rb/js/newReviewRequest/models/preCommitModel.js
        reviewboard/static/rb/js/newReviewRequest/views/postCommitView.js
        reviewboard/static/rb/js/resources/models/tests/validateDiffModelTests.js
        reviewboard/static/rb/js/newReviewRequest/models/postCommitModel.js
        reviewboard/static/rb/js/newReviewRequest/views/branchView.js
        reviewboard/static/rb/js/resources/models/validateDiffModel.js
        reviewboard/static/rb/js/newReviewRequest/views/preCommitView.js
        reviewboard/static/rb/js/newReviewRequest/views/commitsView.js
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/js/newReviewRequest/views/branchesView.js
        reviewboard/static/rb/js/newReviewRequest/views/commitView.js
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/resources/models/repositoryModel.js
        reviewboard/templates/reviews/new_review_request2.html
        reviewboard/static/rb/js/newReviewRequest/views/repositorySelectionView.js
    
    
  2. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/reviews/forms.py
        reviewboard/settings.py
      Ignored Files:
        reviewboard/templates/reviews/new_review_request.html
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/js/resources/models/repositoryModel.js
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/reviews/forms.py
        reviewboard/settings.py
      Ignored Files:
        reviewboard/templates/reviews/new_review_request.html
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/js/resources/models/repositoryModel.js
    
    
  2. 
      
chipx86
  1. 
      
  2. reviewboard/reviews/views.py (Diff revision 14)
     
     
     
    Show all issues
    Can you add the one-line summary while you're editing this code?
  3. Show all issues
    Since we reference this in multiple places, there should be a constant defined in #new-review-request for this height.
  4. Show all issues
    Missing a doc comment.
  5. Show all issues
    Can you add doc comments to these objects as well?
  6. Show all issues
    Should be able to use .height(...)
  7. Show all issues
    Here too.
  8. Show all issues
    Can you indent within the {% .. %} one space?
  9. Show all issues
    Here too.
  10. Show all issues
    Should use |escapejs
  11. Show all issues
    |escapejs
  12. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/reviews/forms.py
        reviewboard/settings.py
      Ignored Files:
        reviewboard/templates/reviews/new_review_request.html
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/js/resources/models/repositoryModel.js
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/reviews/views.py
        reviewboard/reviews/forms.py
        reviewboard/settings.py
      Ignored Files:
        reviewboard/templates/reviews/new_review_request.html
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
        reviewboard/static/rb/js/newReviewRequest/models/newReviewRequestModel.js
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/js/resources/models/repositoryModel.js
    
    
  2. 
      
chipx86
  1. \o/
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (20b6498).