17 Commits
Author SHA1 Message Date
Andy Lee 91232beffc fix: vGPU and USB enable/disable actions needs to be hidden for read only users (#877)
* fix: vGPU / USB enable/disable actions needs to be hidden for read only users

Signed-off-by: Andy Lee <andy.lee@suse.com>

* style: add scoped styles for group actions in DeviceList component

Signed-off-by: Andy Lee <andy.lee@suse.com>

* style: remove width property from group actions in DeviceList components

Signed-off-by: Andy Lee <andy.lee@suse.com>

* fix: update logging type in init function and improve SideNav visibility handling

Signed-off-by: Andy Lee <andy.lee@suse.com>

* fix: ensure canManageGroup only returns true for non-empty rows with updatable permissions

Signed-off-by: Andy Lee <andy.lee@suse.com>

---------

Signed-off-by: Andy Lee <andy.lee@suse.com>
2026-05-22 11:56:44 +08:00
Jack Yu 8cb793e7ad feat: add class type colume for usb device (#839)
Signed-off-by: Jack Yu <jack.yu@suse.com>
2026-05-04 15:17:01 +08:00
Jack Yu 0781bde188 feat: add warning message when disabling a device that have not been detached in the backend (#675)
* feat: add wanring message when disabling a device that haven not been detached in the backend

Signed-off-by: Jack Yu <jack.yu@suse.com>

* fix: remove unused en-us key

Signed-off-by: Jack Yu <jack.yu@suse.com>

---------

Signed-off-by: Jack Yu <jack.yu@suse.com>
2026-01-26 14:07:28 +08:00
Andy Lee 2993ddb82c fix unable to detach PCI & USB device in VM edit page (#247)
* fix unable to detach PCI & USB device in VM edit page

Signed-off-by: Andy Lee <andy.lee@suse.com>

* refactor based on comment

Signed-off-by: Andy Lee <andy.lee@suse.com>

* using set from shell/utils/object

Signed-off-by: Andy Lee <andy.lee@suse.com>

---------

Signed-off-by: Andy Lee <andy.lee@suse.com>
2025-04-16 16:09:33 +08:00
Andy Lee 238c660796 Fix undefined error in VM edit as yaml page (#233)
* fix undefined error whenclick save in  edit as yaml

Signed-off-by: Andy Lee <andy.lee@suse.com>

* fix VM isEqual logic and fix undefined error

Signed-off-by: Andy Lee <andy.lee@suse.com>

---------

Signed-off-by: Andy Lee <andy.lee@suse.com>
2025-04-07 15:30:59 +08:00
Francesco Torchia 4626d56acd Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-12 11:50:20 +01:00
Francesco Torchia 128d240ec6 Remove remaining this.$set()
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:41 +02:00
Francesco Torchia 40944a24f0 Clean up code for readability
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:25 +02:00
Francesco Torchia 2ec5ebb373 Refactoring devices models
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:24 +02:00
Francesco TorchiaandJack Yu 0b40f6e58e Update pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineUSBDevices/index.vue
Co-authored-by: Jack Yu <jack.yu@suse.com>
2024-10-23 17:01:22 +02:00
Francesco Torchia ce6fe19bb7 Fixed ClaimedBy column
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:21 +02:00
Francesco Torchia 63381b350f Add missing empty devices check
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:20 +02:00
Francesco Torchia fd76f84ff0 Fix lint errors
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:18 +02:00
Francesco Torchia 7c04b1417a Update USB devices
- Add columns and filters
- Filter other vm devices in pci and usb devices pages when selecting devices

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:18 +02:00
Francesco Torchia 0d825f667d Refactoring USB Device list component; add USBDevice model; add usbclaim type
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:15 +02:00
Francesco Torchia 5b7a934ce1 Add Comptibility Matrix to USB devices tab
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:14 +02:00
Francesco Torchia ee963b7c1c Add USB devices page skeleton
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-23 17:01:13 +02:00