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

Issue 2061853002: Fix a few side panel bugs (Closed)

Created:
4 years, 6 months ago by benjhayden
Modified:
4 years, 6 months ago
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Base URL:
https://github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Fix a few side panel bugs. These are subtle bugs in the interactions between components, so no unit tests. The metrics-side-panel is now using FailureValue so that value-set-views don't need to handle a separate {set error} method, so ValueSet needs to allow non-Numeric Values. input-latency-side-panel didn't actually need to set display=block, which was an Illegal Invocation that broke the side-panel-container's management of the "selected" attribute. The metrics-side-panel forgot to pass |stack| to FailureValue. value-set-view had some debugging cruft. When no rangeOfInterest is selected, then side-panel-container will set side-panel.rangeOfInterest to an empty Range, causing metrics to produce empty values. Don't pass rangeOfInterest to metrics if it's empty. Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/0ad1a210e258f1b0d0288c394623288aa2747b43

Patch Set 1 #

Patch Set 2 : set overflow-y:auto on side-panel-container #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -13 lines) Patch
M tracing/tracing/metrics/value_set.html View 1 chunk +0 lines, -7 lines 0 comments Download
M tracing/tracing/ui/extras/side_panel/input_latency_side_panel.html View 1 chunk +0 lines, -1 line 0 comments Download
M tracing/tracing/ui/side_panel/metrics_side_panel.html View 1 2 chunks +7 lines, -4 lines 0 comments Download
M tracing/tracing/ui/side_panel/side_panel_container.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M tracing/tracing/ui/value_set_view.html View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 15 (10 generated)
benjhayden
PTAL :-)
4 years, 6 months ago (2016-06-13 19:35:43 UTC) #3
alexandermont
lgtm
4 years, 6 months ago (2016-06-13 20:56:57 UTC) #5
eakuefner
lgtm It's worth mentioning that we don't actually use FailureValues for anything but this, right ...
4 years, 6 months ago (2016-06-13 22:35:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2061853002/20001
4 years, 6 months ago (2016-06-13 23:40:09 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 01:27:38 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698