Skip to content

mgr/dashboard: add popover to cluster status card#51953

Merged
nizamial09 merged 1 commit intoceph:mainfrom
rhcs-dashboard:dashboard-status-popover
Jun 13, 2023
Merged

mgr/dashboard: add popover to cluster status card#51953
nizamial09 merged 1 commit intoceph:mainfrom
rhcs-dashboard:dashboard-status-popover

Conversation

@nizamial09
Copy link
Copy Markdown
Member

Previous dashboard has a popover for the status when there are some warnings in the Cluster Health. Introducing the same behaviour on the new landing page

Screenshot from 2023-06-07 13-36-50

Fixes: https://tracker.ceph.com/issues/61611

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@nizamial09 nizamial09 requested a review from a team as a code owner June 7, 2023 08:20
@nizamial09 nizamial09 requested review from aaSharma14 and pereman2 and removed request for a team June 7, 2023 08:20
@github-actions github-actions bot added the pybind label Jun 7, 2023
Previous dashboard has a popover for the status when there are some
warnings in the Cluster Health. Introducing the same behaviour on the
new landing page

Fixes: https://tracker.ceph.com/issues/61611
Signed-off-by: Nizamudeen A <nia@redhat.com>
@nizamial09 nizamial09 force-pushed the dashboard-status-popover branch from f8ccaf0 to 947df3d Compare June 7, 2023 14:43
Copy link
Copy Markdown
Contributor

@pereman2 pereman2 left a comment

Choose a reason for hiding this comment

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

Nice, LGTM. I hope we can fix the status card in the future, too much blank space over there.

Copy link
Copy Markdown
Contributor

@aaSharma14 aaSharma14 left a comment

Choose a reason for hiding this comment

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

Thanks @nizamial09 for doing this.

@epuertat
Copy link
Copy Markdown
Member

@nizamial09 quick suggestion on this, given the amount of whitespace in the status card: what about displaying the health-check alerts as orange labels (RECENT_MGR_MODULE_CRASH, TOO_FEW_OSDS), with the long description as a tool-tip or clickable popover?

It's not very nice to ask users to click to display alerts, when we have so much empty space there. What do you think?

If we don't want to display 1 badge per-health check failure, we could display up to 3 labels with a counter based on alert severity (ok - green, warning - orange, error - red).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants