Skip to content
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

Merged

Conversation

alfonsomthd
Copy link
Contributor

@alfonsomthd alfonsomthd commented Jan 4, 2019

  • 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

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

@alfonsomthd
Copy link
Contributor Author

jenkins retest this please

Copy link

@Devp00l Devp00l left a 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 👍

@alfonsomthd alfonsomthd force-pushed the 36740-pool-stats-read-write-columns branch 2 times, most recently from 056edb8 to 6911ef9 Compare January 9, 2019 07:59
* 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>
@alfonsomthd alfonsomthd force-pushed the 36740-pool-stats-read-write-columns branch from 6911ef9 to d9404d6 Compare January 9, 2019 08:00
Copy link
Member

@callithea callithea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

@Devp00l Devp00l left a 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 👍

Copy link
Contributor

@LenzGr LenzGr left a 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.

@callithea
Copy link
Member

@LenzGr LenzGr merged commit 7fe4820 into ceph:master Jan 10, 2019
@alfonsomthd alfonsomthd deleted the 36740-pool-stats-read-write-columns branch April 4, 2019 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants