WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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
Committed
r171258
: <
http://trac.webkit.org/changeset/171258
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug