From 174dd0a60b67511c8b1548b120123312a45b98eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Fern=C3=A1ndez?= Date: Sat, 25 Jan 2025 00:32:59 +0000 Subject: [PATCH] fix: workaround faulty ci-only builds For some reason, the Vue library is built in a faulty way when using Docker buildx's docker-container driver. The build works flawlessly when using the normal docker build command (which is now an alias to docker buildx buiold, but with the docker driver) and in the host system using normal commands. Really strange error... --- frontend/types/global/components.d.ts | 1 - frontend/vite.config.ts | 1 + packages/ui-toolkit/src/components/JProgressCircular.vue | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/types/global/components.d.ts b/frontend/types/global/components.d.ts index d2b5c2a940e..ec5b8cffba3 100644 --- a/frontend/types/global/components.d.ts +++ b/frontend/types/global/components.d.ts @@ -127,7 +127,6 @@ declare module 'vue' { VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText'] VFooter: typeof import('vuetify/components')['VFooter'] VForm: typeof import('vuetify/components')['VForm'] - VIcon: typeof import('vuetify/components')['VIcon'] VItemGroup: typeof import('vuetify/components')['VItemGroup'] VList: typeof import('vuetify/components')['VList'] VListItem: typeof import('vuetify/components')['VListItem'] diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 1c670de59a3..2e38363d4bc 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -73,6 +73,7 @@ export default defineConfig({ /** * See main.ts for an explanation of this target */ + minify: false, target: 'esnext', cssCodeSplit: true, cssMinify: 'lightningcss', diff --git a/packages/ui-toolkit/src/components/JProgressCircular.vue b/packages/ui-toolkit/src/components/JProgressCircular.vue index 10802e606f6..6ae3cde2086 100644 --- a/packages/ui-toolkit/src/components/JProgressCircular.vue +++ b/packages/ui-toolkit/src/components/JProgressCircular.vue @@ -7,7 +7,8 @@ role="progressbar" aria-valuemin="0" aria-valuemax="100" - :aria-valuenow="indeterminate || !model ? undefined : Math.max(0, Math.min(model, 100))"> + :aria-valuenow="indeterminate || !model ? undefined : Math.max(0, Math.min(model, 100))" + viewBox="0 0 100 100">