Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Issue 1523743002: [Telemetry] 'Time'/'Memory' buttons added to results.html dynamically for available result types. (Closed)

Created:
5 years ago by picksi
Modified:
4 years, 11 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

'Time'/'Memory' buttons added to results.html dynamically for available result types. If no results are available an unpressable 'no results' button is added. If both types of results are available an 'all' option is added. This refactor makes the results screen more 'stateful' and the code a little easier to understand than the previous implementation that relied on an 'ignore' bool to skip results. BUG=569522 Committed: https://crrev.com/1df7f885db651781239a2d5bcfcec843a12ef2f4 Cr-Commit-Position: refs/heads/master@{#367576}

Patch Set 1 #

Total comments: 43

Patch Set 2 : Code review updates #

Total comments: 34

Patch Set 3 : More code review updates #

Total comments: 12

Patch Set 4 : Code review nits #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -82 lines) Patch
M tools/telemetry/support/html_output/results-template.html View 1 2 3 4 16 chunks +102 lines, -82 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
picksi
I think this makes the code more readable ... but certainly a little longer. WDYT? ...
5 years ago (2015-12-14 12:21:28 UTC) #2
petrcermak
Thanks for taking the time to refactor the code :-) Patch description nits: - The ...
5 years ago (2015-12-14 18:18:23 UTC) #3
picksi
Updates done. PTAL. CL has grown a little by removal of the space between 'function' ...
5 years ago (2015-12-15 17:17:07 UTC) #6
petrcermak
Thanks for taking the feedback into account :-) I added a few more inline comments. ...
5 years ago (2015-12-17 11:17:15 UTC) #8
picksi
Changes made! https://codereview.chromium.org/1523743002/diff/60001/tools/telemetry/support/html_output/results-template.html File tools/telemetry/support/html_output/results-template.html (right): https://codereview.chromium.org/1523743002/diff/60001/tools/telemetry/support/html_output/results-template.html#newcode693 tools/telemetry/support/html_output/results-template.html:693: function buildButtonHTMLFromButtonNames(buttonNames, activeButton) { On 2015/12/17 11:17:15, ...
5 years ago (2015-12-21 17:01:12 UTC) #9
petrcermak
LGTM with a few more nits. Thanks for being patient with me :-) Petr https://codereview.chromium.org/1523743002/diff/80001/tools/telemetry/support/html_output/results-template.html ...
4 years, 11 months ago (2016-01-04 10:44:05 UTC) #10
picksi
Also adding Annie as an owner. Here's some example output... A page containing just Memory ...
4 years, 11 months ago (2016-01-05 13:30:46 UTC) #12
sullivan
lgtm
4 years, 11 months ago (2016-01-05 16:03:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1523743002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1523743002/100001
4 years, 11 months ago (2016-01-05 16:09:06 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/112790) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 11 months ago (2016-01-05 16:11:52 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1523743002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1523743002/120001
4 years, 11 months ago (2016-01-05 16:57:03 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 11 months ago (2016-01-05 18:16:46 UTC) #23
commit-bot: I haz the power
4 years, 11 months ago (2016-01-05 18:17:48 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1df7f885db651781239a2d5bcfcec843a12ef2f4
Cr-Commit-Position: refs/heads/master@{#367576}

Powered by Google App Engine
This is Rietveld 408576698