If there's only one repository, auto-select it for new Review Requests.

Review Request #4472 — Created Aug. 21, 2013 and submitted

Information

Review Board
master

Reviewers

If there's only one repository, auto-select it for new Review Requests.

A lot of our users have only a single repository. In the new review request
page, if we're in this situation, auto-select the repository, to reduce one
click.
Set visible=False for all but one of my repositories. Went to /r/new and saw it
automatically select the remaining one. Un-hid my repositories and saw the
"Select a repository" message.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js
    
    
  2. 
      
chipx86
  1. Looks good.
    
    A future improvement would be to remember/look up what they used last and auto-select that one.
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (f1a6ba0)
Loading...