[pbs-devel] [PATCH proxmox-backup v2 0/6] improve UI for maintenance mode

Hannes Laimer h.laimer at proxmox.com
Tue Apr 26 08:23:29 CEST 2022


Adds mask for datastore summary when in maintenance mode and dynamically
updates icon and tooltip in datastore list. The 4th patch is optional,
and could be squashed with the 3rd path if applied, it would make the
icon update more responsive and not that delayed, but not sure if that is
even a problem.

v2, thanks @Fabian + @Thomas:
 - fix backwards compat. for DataStoreListItem
 - add parse function for maintenance mode to utils
 - show tooltip (<type>[: <message>]) in datastore list
 - use icon itself instead of .svg for wrench

Hannes Laimer (6):
  ui: add summary mask when in maintenance mode
  api2: DataStoreListItem add maintenance info
  ui: update icon in datastore list when in maintenance mode
  ui: update datastore list more often
  ui: utils: add function for parsing maintenance mode
  ui: add tooltip to datastore in maintenance mode

 pbs-api-types/src/datastore.rs   |  8 ++++++
 src/api2/admin/datastore.rs      |  1 +
 www/NavigationTree.js            | 45 ++++++++++++++++++++++++++------
 www/Utils.js                     | 17 +++++++++---
 www/css/ext6-pbs.css             | 32 +++++++++++++++++++++++
 www/datastore/Summary.js         | 21 ++++++++++++++-
 www/window/MaintenanceOptions.js |  8 ++----
 7 files changed, 113 insertions(+), 19 deletions(-)

-- 
2.30.2






More information about the pbs-devel mailing list