From 2ebf18a636a3d71f60d395d4e049d9dfc4710979 Mon Sep 17 00:00:00 2001 From: Joris K <43381087+J0ris-K@users.noreply.github.com> Date: Thu, 27 Aug 2026 10:56:34 +0200 Subject: [PATCH] feat(xo-lite): add vm tree actions and loader (#10304) --- @xen-orchestra/lite/CHANGELOG.md | 1 + .../lite/src/components/infra/InfraVmItem.vue | 29 ++++++++++++ .../lite/src/components/vm/VmHeader.vue | 11 ++++- .../vm/components/actions/VmTreeActions.vue | 40 ++++++++++++++++ .../vm/composables/vm-operation.composable.ts | 46 +++++++++++++++++++ .../lite/src/modules/vm/utils/vm.util.ts | 21 +++++++++ .../components/object-icon/VtsObjectIcon.vue | 4 +- @xen-orchestra/web-core/lib/locales/en.json | 2 + @xen-orchestra/web-core/lib/locales/fr.json | 2 + .../src/modules/vm/components/VmHeader.vue | 5 +- .../vm/composables/xo-vm-utils.composable.ts | 5 +- 11 files changed, 158 insertions(+), 8 deletions(-) create mode 100644 @xen-orchestra/lite/src/modules/vm/components/actions/VmTreeActions.vue create mode 100644 @xen-orchestra/lite/src/modules/vm/composables/vm-operation.composable.ts diff --git a/@xen-orchestra/lite/CHANGELOG.md b/@xen-orchestra/lite/CHANGELOG.md index bbeb8f93c2..1faa9223c2 100644 --- a/@xen-orchestra/lite/CHANGELOG.md +++ b/@xen-orchestra/lite/CHANGELOG.md @@ -2,6 +2,7 @@ ## **next** +- [Treeview] Add VM tree actions (PR [#10304](https://github.com/vatesfr/xen-orchestra/pull/10304)) - [Pool/networks] Add the possibility to create new network or bonded network (PR [#10145](https://github.com/vatesfr/xen-orchestra/pull/10145)) - [VM] Add VDIs page with table and side panel (PR [#10269](https://github.com/vatesfr/xen-orchestra/pull/10269)) - [Host/Network] Add ability to rescan physical network interfaces (PIFs) (PR [#10147](https://github.com/vatesfr/xen-orchestra/pull/10147)) diff --git a/@xen-orchestra/lite/src/components/infra/InfraVmItem.vue b/@xen-orchestra/lite/src/components/infra/InfraVmItem.vue index 62e7c05dba..e217bed34c 100644 --- a/@xen-orchestra/lite/src/components/infra/InfraVmItem.vue +++ b/@xen-orchestra/lite/src/components/infra/InfraVmItem.vue @@ -5,6 +5,24 @@ + @@ -12,17 +30,26 @@ diff --git a/@xen-orchestra/lite/src/components/vm/VmHeader.vue b/@xen-orchestra/lite/src/components/vm/VmHeader.vue index 6da3c2e5e7..b521af528c 100644 --- a/@xen-orchestra/lite/src/components/vm/VmHeader.vue +++ b/@xen-orchestra/lite/src/components/vm/VmHeader.vue @@ -2,7 +2,13 @@ {{ vm?.name_label }}