diff options
author | Tibor Frank <tifrank@cisco.com> | 2024-06-18 08:16:30 +0000 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2024-06-18 08:19:49 +0000 |
commit | eaf728ac9624f031ed49264c9322ad37e11a0923 (patch) | |
tree | 756cf95445344b6b07cc2e20fdf8fd62ba60d3ff /csit.infra.dash/app/cdash/trending/layout.py | |
parent | a410c9fab12fd5d2087d5429860dfd9bcc49986b (diff) |
C-Dash: Add mrr trials to hover and detailed info
Change-Id: Ic26cd2aa726f16b3797c269b31e5ad127bbea5b2
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash/app/cdash/trending/layout.py')
-rw-r--r-- | csit.infra.dash/app/cdash/trending/layout.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/csit.infra.dash/app/cdash/trending/layout.py b/csit.infra.dash/app/cdash/trending/layout.py index b4487cf127..c844f73b65 100644 --- a/csit.infra.dash/app/cdash/trending/layout.py +++ b/csit.infra.dash/app/cdash/trending/layout.py @@ -611,7 +611,6 @@ class Layout: ) ] - def _add_plotting_col(self) -> dbc.Col: """Add column with plots. It is placed on the right side. @@ -1117,9 +1116,12 @@ class Layout: trigger = Trigger(callback_context.triggered) if trigger.type == "url" and url_params: telemetry = None + normalize = list() + show_trials = list() try: store_sel = literal_eval(url_params["store_sel"][0]) normalize = literal_eval(url_params["norm"][0]) + show_trials = literal_eval(url_params["show-trials"][0]) telemetry = literal_eval(url_params["telemetry"][0]) url_p = url_params.get("all-in-one", ["[[None]]"]) tm_all_in_one = literal_eval(url_p[0]) @@ -1166,6 +1168,7 @@ class Layout: "cl-tsttype-all-val": list(), "cl-tsttype-all-opt": C.CL_ALL_ENABLED, "cl-normalize-val": normalize, + "cl-show-trials": show_trials, "btn-add-dis": False }) store["trending-graphs"] = None @@ -1481,7 +1484,8 @@ class Layout: new_url_params = { "store_sel": store_sel, - "norm": ctrl_panel.get("cl-normalize-val") + "norm": ctrl_panel.get("cl-normalize-val"), + "show-trials": ctrl_panel.get("cl-show-trials") } if tm_panels: new_url_params["telemetry"] = tm_panels |