X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=csit.infra.dash%2Fapp%2Fcdash%2Fstats%2Flayout.py;h=116185d62c63434bfe75ee13d5027948810c0f88;hb=4d03dd53c2d77bf2e35a07ed3a5a95f323c3a370;hp=dace219aae190cad5fbd82f9092843aa07560cbc;hpb=a5836196e06db97aa369efdd3b160104eb6ae1f8;p=csit.git diff --git a/csit.infra.dash/app/cdash/stats/layout.py b/csit.infra.dash/app/cdash/stats/layout.py index dace219aae..116185d62c 100644 --- a/csit.infra.dash/app/cdash/stats/layout.py +++ b/csit.infra.dash/app/cdash/stats/layout.py @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -83,7 +83,11 @@ class Layout: debug=True ).read_stats(days=self._time_period) - df_tst_info = pd.concat([data_mrr, data_ndrpdr], ignore_index=True) + df_tst_info = pd.concat( + [data_mrr, data_ndrpdr], + ignore_index=True, + copy=False + ) # Pre-process the data: data_stats = data_stats[~data_stats.job.str.contains("-verify-")] @@ -246,7 +250,7 @@ class Layout: self._add_navbar() ] ), - dcc.Loading( + dbc.Spinner( dbc.Offcanvas( class_name="w-50", id="offcanvas-metadata", @@ -328,7 +332,7 @@ class Layout: return dbc.Col( id="col-plotting-area", children=[ - dcc.Loading( + dbc.Spinner( children=[ dbc.Row( id="plotting-area",