If there's only one repository, auto-select it for new Review Requests.
Review Request #4472 — Created Aug. 21, 2013 and submitted
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.
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: Ignored Files: reviewboard/static/rb/js/newReviewRequest/views/newReviewRequestView.js