]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard_v2: add view cache component
authorTiago Melo <tmelo@suse.com>
Fri, 9 Feb 2018 19:10:50 +0000 (19:10 +0000)
committerRicardo Dias <rdias@suse.com>
Mon, 5 Mar 2018 13:07:09 +0000 (13:07 +0000)
commitba0e1052f30b49db9e5149f3b00729e83f458408
tree31af746cb810fa369df6af13d740ee174ffd10d2
parent8d378356f28fb1ee98b929158e862f8f120043c9
mgr/dashboard_v2: add view cache component

This component should be used in components that access endpoints
that implement ViewCache.
It will inform the user if the data is stale or if there were some
problems fetching it.

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/components.module.ts
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/view-cache/view-cache.component.html [new file with mode: 0644]
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/view-cache/view-cache.component.scss [new file with mode: 0644]
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/view-cache/view-cache.component.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/view-cache/view-cache.component.ts [new file with mode: 0644]
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/shared.module.ts