Project

General

Profile

Fix #40330

mgr/dashboard: Warning about stale data makes it hard to click a certain row

Added by Stephan Müller about 1 year ago. Updated 11 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
dashboard/usability
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Warning about Stale data in the datatable makes the content move up and down, making it hard to hit a certain row

stale1.png View (23.8 KB) Tiago Melo, 07/01/2020 01:41 PM

stale2.png View (27.9 KB) Tiago Melo, 07/01/2020 01:41 PM

stale3.png View (27.2 KB) Tiago Melo, 07/01/2020 01:41 PM

History

#1 Updated by Tiago Melo 3 months ago

Maybe we can move this information inside the table header or footer. This would prevent this problem from happening.

#2 Updated by Stephan Müller 2 months ago

If we could use streams (PUSH) we would not have stale data anymore if the server is connected :) (https://tracker.ceph.com/issues/45306)

#3 Updated by Tiago Melo 12 days ago

  • Status changed from New to In Progress
  • Assignee set to Tiago Melo

#4 Updated by Tiago Melo 12 days ago

I would suggest we add a button to the table header, where we could display the status of the table.
This solution saves lots of space and is able to display all information.
We can either only show the button when something went bad or always display the button.

Current implementation:

suggestion:

or

#5 Updated by Volker Theile 11 days ago

Nice improvement. I like suggestion two with the yellow button and black icon.

#6 Updated by Lenz Grimmer 11 days ago

I'm not quite sure if adding another button just as an indicator is the best approach, as it further clutters the table's header area. How about changing the color of the reload button instead and using tooltips to explain the state? The reload button could turn yellow, if the data is deemed stale and could turn red if the table data could not be refreshed.

#7 Updated by Lenz Grimmer 11 days ago

  • Tags set to usability, datatable

Also available in: Atom PDF