Project

General

Profile

Actions

Bug #58840

open

mgr/dashboard: Misleading pagination in rbd-mirror images table

Added by Paul Cuzner about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Component - RBD Mirroring
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Misleading pagination in rbd-mirror images table

in my environment I have 500 images under snapshot based rbd-mirror. The pagination in the images table (bottom right) represents the page count, but doesn't state that.

Could a "Page" prefix be added to make this clearer?

Also the footer only ever shows the overall total (500) instead of visible window information e.g. "rows 4-50 of 500"

Environment

  • ceph version string: ceph version 18.0.0-2440-g94c24db3 (94c24db3fe85a6772806e7f8794d74d0408cd734) reef (dev)
  • Platform (OS/distro/release): RHEL 8.7
  • Cluster details (nodes, monitors, OSDs): 2 3-node clusters, each cluster has 3 mons and 12 OSDs
  • Did it happen on a stable environment or after a migration/upgrade?: -
  • Browser used (e.g.: Version 86.0.4240.198 (Official Build) (64-bit)): Forefox 110

How reproducible

Steps:

  1. ...

Actual results

Please add logs and/or screenshots

Expected results

here

Additional info

here


Files

Actions #1

Updated by Ernesto Puerta about 1 year ago

Makes sense. Based on the Patternfly recipe (https://www.patternfly.org/v4/components/pagination/design-guidelines), the changes would be:
  • We keep the pagination element (right side) as it is, since pagination is a common behavior in tables/books/etc, it doesn't need clarification.
  • However, to highlight the item/row count vs page count, we may add a "11-20 of 500" instead of just "500". This can be seen in the linked Patternfly page.

How does that sound?

Actions #2

Updated by Paul Cuzner about 1 year ago

works for me, thanks!

Actions

Also available in: Atom PDF