mozilla/treeherder-ui — pull request #165 by KWierso (2014-09-10 21:20:10+00:00)
Title: Bug 1065541 - Fix the unknown revision ID message along with a few other related fixes.

The "unknown revision ID" message was occasionally being briefly displayed on Treeherder's initial page load, along with being shown for any repository where no resultsets were being returned.

This pull request adds a function to $scope to expose underscore's _.has() function for searching $location.search's various parameters.

This lets us tell in the HTML file whether or not a revision was specified.

If a revision was specified, we show the unknown revision ID.

If a revision was not specified, but treeherder knows about the specified repository, it shows a message saying that no resultsets were found, and gives a link to the repository's url as set in treeherder-service's repository model.

If no revision was specified and treeherder doesn't know about the specified repository, it shows a message saying that the repository is unknown, and prompts the user to file a bug to get the repository added to treeherder-service if the repository really does exist and just needs to get added to the model.