]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Dashboard should display some helpful (error) message when the iframe...
authorNgwa Sedrick Meh <nsedrick101@gmail.com>
Mon, 14 Feb 2022 05:17:47 +0000 (06:17 +0100)
committerKen Dreyer <kdreyer@redhat.com>
Mon, 1 Aug 2022 20:29:34 +0000 (20:29 +0000)
commit5bacb4d6c67fd1bf96d552a63888884e47e74c20
tree6a395072868f0eb90bce35c2524d9382024cb946
parent5243a92b1e28106b1585d388e9a88cf517b49fe1
mgr/dashboard: Dashboard should display some helpful (error) message when the iframe-embedded Grafana dashboard failed to load

This commit adds checks for successful grafana panel loads before displaying dashboards and informs the user if the request is blocked by the browser

Resolves: rhbz#2056478
Fixes: https://tracker.ceph.com/issues/54206
Signed-off-by: Ngwa Sedrick Meh <nsedrick101@gmail.com>
(cherry picked from commit a4b66efb2a2139bd88a6a088af9bd5e079e46105)
(cherry picked from commit 30fa3dbe654471072352a5027a5b363143e3f8f7)
src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts