From 371a78a83313dcd7ccf98d6fb278bde77a8e1727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastian=20Czech?= Date: Tue, 26 Nov 2024 16:41:06 +0100 Subject: [PATCH] feat(web-core): update code --- @xen-orchestra/lite/src/locales/en.json | 1 - @xen-orchestra/lite/src/locales/fr.json | 1 - .../state-hero/vts-coming-soon-hero.story.vue | 2 +- .../state-hero/vts-error-no-data.story.vue | 14 + .../state-hero/vts-loading-hero.story.vue | 2 +- .../state-hero/vts-no-data-hero.story.vue | 2 +- .../state-hero/vts-state-hero.story.vue | 4 +- .../web-core/lib/assets/error-no-data.svg | 470 ++++++++++++++++++ .../state-hero/VtsErrorNoDataHero.vue | 21 + .../state-hero/VtsObjectNotFoundHero.vue | 5 +- .../components/state-hero/VtsStateHero.vue | 19 +- @xen-orchestra/web-core/lib/locales/en.json | 1 + @xen-orchestra/web-core/lib/locales/fr.json | 1 + 13 files changed, 530 insertions(+), 13 deletions(-) create mode 100644 @xen-orchestra/lite/src/stories/web-core/state-hero/vts-error-no-data.story.vue create mode 100644 @xen-orchestra/web-core/lib/assets/error-no-data.svg create mode 100644 @xen-orchestra/web-core/lib/components/state-hero/VtsErrorNoDataHero.vue diff --git a/@xen-orchestra/lite/src/locales/en.json b/@xen-orchestra/lite/src/locales/en.json index f0200644cd9..b1837c496c7 100644 --- a/@xen-orchestra/lite/src/locales/en.json +++ b/@xen-orchestra/lite/src/locales/en.json @@ -66,7 +66,6 @@ "documentation": "Documentation", "edit-config": "Edit config", "enabled": "Enabled", - "error-no-data": "Error, can't collect data.", "error-occurred": "An error has occurred", "export": "Export", "export-n-vms": "Export 1 VM | Export {n} VMs", diff --git a/@xen-orchestra/lite/src/locales/fr.json b/@xen-orchestra/lite/src/locales/fr.json index fe14f481a31..5cc40f926de 100644 --- a/@xen-orchestra/lite/src/locales/fr.json +++ b/@xen-orchestra/lite/src/locales/fr.json @@ -66,7 +66,6 @@ "documentation": "Documentation", "edit-config": "Modifier config", "enabled": "Activé", - "error-no-data": "Erreur, impossible de collecter les données.", "error-occurred": "Une erreur est survenue", "export": "Exporter", "export-n-vms": "Exporter 1 VM | Exporter {n} VMs", diff --git a/@xen-orchestra/lite/src/stories/web-core/state-hero/vts-coming-soon-hero.story.vue b/@xen-orchestra/lite/src/stories/web-core/state-hero/vts-coming-soon-hero.story.vue index 8356c7f3a29..5229c30a326 100644 --- a/@xen-orchestra/lite/src/stories/web-core/state-hero/vts-coming-soon-hero.story.vue +++ b/@xen-orchestra/lite/src/stories/web-core/state-hero/vts-coming-soon-hero.story.vue @@ -1,7 +1,7 @@