]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Dashboard should display some helpful (error) message when the iframe... 47007/head
authorNgwa Sedrick Meh <nsedrick101@gmail.com>
Mon, 14 Feb 2022 05:17:47 +0000 (06:17 +0100)
committerNizamudeen A <nia@redhat.com>
Thu, 7 Jul 2022 14:15:21 +0000 (19:45 +0530)
commit30fa3dbe654471072352a5027a5b363143e3f8f7
tree7aa11a7febbadadeb082ed0bae5e578ad794fd69
parentb5b4357b053fb75be7bc90dcff38f8191ffc0897
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
Fixes: https://tracker.ceph.com/issues/54206
Signed-off-by: Ngwa Sedrick Meh <nsedrick101@gmail.com>
(cherry picked from commit a4b66efb2a2139bd88a6a088af9bd5e079e46105)
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