RESOLVED FIXED 135083
Perf dashboard shouldn't show the full git hash
https://bugs.webkit.org/show_bug.cgi?id=135083
Summary Perf dashboard shouldn't show the full git hash
Ryosuke Niwa
Reported 2014-07-18 21:45:58 PDT
Right now the perf dashboard shows the entire git hash in the popups and in the panes. We should only show the first 8 characters.
Attachments
Fixes the bug (2.88 KB, patch)
2014-07-18 21:47 PDT, Ryosuke Niwa
benjamin: review+
Ryosuke Niwa
Comment 1 2014-07-18 21:47:55 PDT
Created attachment 235167 [details] Fixes the bug
Benjamin Poulain
Comment 2 2014-07-18 21:53:52 PDT
Comment on attachment 235167 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=235167&action=review > Websites/perf.webkit.org/public/js/helper-classes.js:101 > + formattedCurrentHash = currentRevision.substring(0, 8); formattedCurrentHash = currentRevision[:8] ? > Websites/perf.webkit.org/public/js/helper-classes.js:103 > + labelForThisRepository = previousRevision.substring(0, 8) + '..' + formattedCurrentHash; ditto for substring
Benjamin Poulain
Comment 3 2014-07-18 21:56:59 PDT
(In reply to comment #2) > (From update of attachment 235167 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=235167&action=review > > > Websites/perf.webkit.org/public/js/helper-classes.js:101 > > + formattedCurrentHash = currentRevision.substring(0, 8); > > formattedCurrentHash = currentRevision[:8] ? > > > Websites/perf.webkit.org/public/js/helper-classes.js:103 > > + labelForThisRepository = previousRevision.substring(0, 8) + '..' + formattedCurrentHash; > > ditto for substring Never mind :)
Ryosuke Niwa
Comment 4 2014-07-18 21:59:50 PDT
Note You need to log in before you can comment on or make changes to this bug.