[pve-devel] [PATCH manager 0/5 v2] BackupView as TreePanel

Matthias Heiserer m.heiserer at proxmox.com
Fri Mar 18 14:52:21 CET 2022


This replaces the backupview for storages and the BackupView for
qemu and lxc with a single TreeView.
Less code, no need to maintain two different BackupView files,
and reduces complexity of ContentView.

Changes from v1:
- replace grid/BackupView with storage/BackupView
- some bug fixes and code cleanup
- group unknown/renamed backups in the folder "Other"
- remember expanded nodes and selection

Matthias Heiserer (5):
  Storage GUI: Rewrite backup content view as TreePanel.
  GUI: Utils: Helpers for backup type and icon
  Backup GUI: Use the new storage/BackupView instead of grid/BackupView.
  Remove grid/backupview as it got replaced by storage/backupview
  Storage ContentView: remove code that was required only for backupview

 www/manager6/Utils.js               |  20 +
 www/manager6/grid/BackupView.js     | 388 ---------------
 www/manager6/lxc/Config.js          |   2 +-
 www/manager6/qemu/Config.js         |   2 +-
 www/manager6/storage/BackupView.js  | 702 ++++++++++++++++++++--------
 www/manager6/storage/ContentView.js |  22 +-
 6 files changed, 535 insertions(+), 601 deletions(-)
 delete mode 100644 www/manager6/grid/BackupView.js

-- 
2.30.2






More information about the pve-devel mailing list