Project

General

Profile

Actions

Cleanup #42072

closed

mgr/dashboard: landing page 2.0

Added by Ernesto Puerta over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
UI
Target version:
% Done:

0%

Tags:
Backport:
octopus
Reviewed:
Affected Versions:
Pull request ID:

Description

This is a series of changes/improvements to the Landing Page based on downstream improvements:

The main goals of this re-design would be:

  • Improve data visualization & comprehension (more visual hints/anchors vs. textual/readable ones, reduce big whitespace/blank areas).
  • Improve layout, structure & responsiveness (visual flow, information grouping, resizing).
  • Make easier to create new information cards.

Re-arrange info cards:

  • Info-groups could be re-arranged: Status > Capacity > Performance (currently: Status > Performance > Capacity).
  • Status info cards could be arranged hierarchically: Cluster > Host > Monitor > { OSD, Mgr, RGW, MDS, iSCSI}. Or perhaps, a vertical arrangment (stacked column or 3x3 box-like).

Current:

Proposal:

  • Capacity info cards: Group visual cards (charts) and show them first. Textual cards (Pools and PGs/OSD) could be replaced with charts?

Current:

Proposal:

  • Grid alignment: we should replace the current 3 flex-row layout with a grid-like, or something more suitable

Replace pie charts with donut charts + center text.

The change would be limited to the chart (the card style is simply a patternfly 4 card).

Generic info cards

Info card pie/donut charts require high customization (per-char config and callback). The idea is to replace them with generics/reusable components with clear inputs:
  • Title:
  • Data set: instead of feeding them with a complex object, and then extract & process the metrics from within the callbacks, the required metrics are directly fed into the info card component
    • The above will also improve performance, as now Angular triggers change detection in the info-card for every change to the complex data object, instead of to the exposed data series.
  • Center text: with interpolated variables
  • Configuration options: only colors, and some minor label config is allowed.

Files

pg_status_donut.png (12.7 KB) pg_status_donut.png Ernesto Puerta, 09/26/2019 02:52 PM
pg_status_pie.png (10.2 KB) pg_status_pie.png Ernesto Puerta, 09/26/2019 02:52 PM
landing_page.png (138 KB) landing_page.png Ernesto Puerta, 09/26/2019 06:47 PM
landing_page_pre.png (99.6 KB) landing_page_pre.png Ernesto Puerta, 09/26/2019 06:48 PM
capacity_pre.png (41.4 KB) capacity_pre.png Ernesto Puerta, 09/26/2019 07:12 PM
capacity_post.png (44.2 KB) capacity_post.png Ernesto Puerta, 09/26/2019 07:12 PM
status_post.png (25.4 KB) status_post.png Ernesto Puerta, 09/26/2019 07:15 PM
status_pre.png (34.2 KB) status_pre.png Ernesto Puerta, 09/26/2019 07:15 PM

Related issues 3 (1 open2 closed)

Related to Dashboard - Cleanup #47073: mgr/dashboard: landing pageIn ProgressErnesto Puerta

Actions
Related to Dashboard - Feature #38697: mgr/dashboard: Enhance info shown in Landing Page cards 'PGs per OSD' & 'Raw Capacity'Closed

Actions
Copied to Dashboard - Backport #46999: octopus: mgr/dashboard: landing page 2.0ResolvedTiago MeloActions
Actions

Also available in: Atom PDF