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

Updated by Ernesto Puerta over 4 years ago

Actions #2

Updated by Ricardo Marques over 4 years ago

Your proposal looks great.

I've just noticed that you missed the "0 up, 0 down" from the iSCSI card. Please check if it's intentional.

Actions #3

Updated by Paul Cuzner over 4 years ago

+1 looks good!

Just a question - with Nautilus and beyond, do we need a PG's per OSD card, given the pg autoscaler?

Actions #4

Updated by Ernesto Puerta over 4 years ago

Ricardo Marques wrote:

Your proposal looks great.

I've just noticed that you missed the "0 up, 0 down" from the iSCSI card. Please check if it's intentional.

Thanks for reviewing, Ricardo! Nothing intentional there. The downstream version is Nautilus 14.2.3, so perhaps we don't have that info there?

Actions #5

Updated by Ernesto Puerta over 4 years ago

Paul Cuzner wrote:

+1 looks good!

Just a question - with Nautilus and beyond, do we need a PG's per OSD card, given the pg autoscaler?

Thanks for the hint, Paul! I'm more than happy with removing any card that is not as informative as the others. Any suggestion to replace with another one?

Actions #6

Updated by Alfonso Martínez almost 4 years ago

  • Tracker changed from Bug to Cleanup

A new design was proposed by Yuval Galanti:

https://marvelapp.com/e4f9e0h/screen/68160077

Lenz Grimmer feedback (summary):
The improvements to the existing landing page in the tracker issue are fine for me.
Yuval's proposal looks good from a visual POV, but is quite a drastic diversion that
I think requires some more research/review/discussion.
As I said, we currently don't really have any feedback from real life users
on how they like the current implementation and what might be missing.

Actions #7

Updated by Alfonso Martínez over 3 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Alfonso Martínez
  • Pull request ID set to 36476
Actions #8

Updated by Lenz Grimmer over 3 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v16.0.0
Actions #9

Updated by Lenz Grimmer over 3 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to octopus

Switching to "pending backport" - it would be nice to have this enhancement in Octopus as well.

Actions #10

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #46999: octopus: mgr/dashboard: landing page 2.0 added
Actions #11

Updated by Ernesto Puerta over 3 years ago

Actions #12

Updated by Lenz Grimmer over 3 years ago

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

Updated by Lenz Grimmer over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #14

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 165 to UI
Actions

Also available in: Atom PDF