From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id C35721FF09B for ; Mon, 31 Aug 2026 14:30:02 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 85374214B5; Mon, 31 Aug 2026 14:29:57 +0200 (CEST) From: Dominik Csapak To: pve-devel@lists.proxmox.com Subject: [PATCH manager v4 00/12] ui: split out disks and nics into grids Date: Mon, 31 Aug 2026 14:27:35 +0200 Message-ID: <20260831122953.2980232-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.640 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 3YLLHVOT6M346WBXP32E74CTWYW32BFV X-Message-ID-Hash: 3YLLHVOT6M346WBXP32E74CTWYW32BFV X-MailFrom: d.csapak@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Same as v3 of the series, basically just a rebase so it applies again. I factored out a few things, so it's easier to reuse (especially since i want to do the same thing for containers when we figured out if the style/layout/etc. fits) Sending again qemu only for now as i don't want to put in a lot of work before we know which direction this will take. I tried to keep most commits small so it's easier to see what the actual change are. NOTE: I took special care for the button enablement logic, but having a close look at that during review would make a lot of sense. changes from v3: * rebased on master: - dropped the parser patch (something similar was already applied) - while moving to a container, the selection logic when coming from a storage content panel had to be adapted. changes from v2: * reorganized code/commits for the most part, so it doesn't make much sense to compare it to the previous version changes from v1: * refactor some regexes/checks * fix some bugs I encountered during testing again Dominik Csapak (12): ui: utils: factor out 'media=cdrom' check ui: factor out the guest key nic regex check ui: add pending grid ui: revert button: add parentXType and reloadCallback ui: button: add config remove button ui: qemu: hardware: wrap in container ui: qemu: introduce hardware disk grid ui: qemu: introduce hardware net grid ui: qemu: hardware view: separate disks into own grid ui: qemu: hardware view: separate nics into own grid ui: qemu: hardware view: inline edit/remove/revert button in general grid ui: qemu: hardware view: inline 'add efi' menuitem www/manager6/Makefile | 4 + www/manager6/Utils.js | 23 +- www/manager6/button/ConfigRemove.js | 74 ++ www/manager6/button/Revert.js | 8 +- www/manager6/grid/PendingGrid.js | 134 ++++ www/manager6/lxc/Network.js | 4 +- www/manager6/qemu/BootOrderEdit.js | 12 +- www/manager6/qemu/CreateWizard.js | 4 +- www/manager6/qemu/HardwareDiskGrid.js | 213 ++++++ www/manager6/qemu/HardwareNetGrid.js | 81 +++ www/manager6/qemu/HardwareView.js | 943 +++++++++++++++----------- www/manager6/window/GuestImport.js | 2 +- 12 files changed, 1087 insertions(+), 415 deletions(-) create mode 100644 www/manager6/button/ConfigRemove.js create mode 100644 www/manager6/grid/PendingGrid.js create mode 100644 www/manager6/qemu/HardwareDiskGrid.js create mode 100644 www/manager6/qemu/HardwareNetGrid.js -- 2.47.3