Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Add revision link to logviewer (1032504) #96

Merged
merged 1 commit into from Jul 15, 2014

Conversation

tojon
Copy link

@tojon tojon commented Jul 12, 2014

This work addresses item 2 of Bugzilla bug 1032504.
It would be really handy if the log viewer, linked to its resultset on treeherder.

I have split the main bug above into separate PR's to speed up delivery. And to make things easier to revert anything, in the (hopefully unlikely) event that was necessary.

The revision now appears as a suitable link in logviewer, and handles revisions of varying sizes. I've tested a variety of logs from failed jobs from different repos and it appears to behave correctly on both Firefox and Chrome.

During the work, I thought I might have required other logviewer controller parameters. That turned out not to be the case. However during that period, I agreed with @camd on IRC that a sorted alphabetic list for main elements followed by alphabetic Th elements made sense. Similarly mimicking the same ordering for the .js modules in logviewer.html (which is already sort-of in place in index.html) as alphabetic and divided by category. So even though no additions ended up being needed, I left that re-ordering in. There was also some minor white space cleanup.

If I get time I will do that alphabetic re-ordering across all files, later, in separate work. It seemed to make it a bit easier for me to compare files.

Tested on Windows:
FF Release 30.0
Chrome Latest Release 35.0.1916.153 m

camd pushed a commit that referenced this pull request Jul 15, 2014
Add revision link to logviewer (1032504)
@camd camd merged commit 3a64703 into mozilla:master Jul 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants