New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mgr/dashboard: add columns to Pools table #25791
mgr/dashboard: add columns to Pools table #25791
Conversation
|
jenkins retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM beside those 2 little suggestions. I like the new look 👍
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts
Outdated
Show resolved
Hide resolved
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts
Outdated
Show resolved
Hide resolved
056edb8
to
6911ef9
Compare
* Added columns: Usage, Read bytes, Write bytes, Read ops, Write ops. * TableKeyValueComponent: Bugfix in method: _insertFlattenObjects * Updated jest global mock: Now window.getComputedStyle returns an object that has getPropertyValue defined (otherwise jest pool tests involving chart.js threw error). See: https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle Fixes: https://tracker.ceph.com/issues/37717 Fixes: https://tracker.ceph.com/issues/34320 Signed-off-by: Alfonso Martínez <almartin@redhat.com>
6911ef9
to
d9404d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you addressing all my comments 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this PR locally - LGTM! Thanks.
Added columns:
Usage, Read bytes, Write bytes, Read ops, Write ops.
TableKeyValueComponent:
Bugfix in method: _insertFlattenObjects
Updated jest global mock:
Now window.getComputedStyle returns an object
that has getPropertyValue defined
(otherwise jest pool tests involving chart.js threw error). See:
https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle
Fixes: https://tracker.ceph.com/issues/37717
Fixes: https://tracker.ceph.com/issues/34320
Signed-off-by: Alfonso Martínez almartin@redhat.com