From 95ec3325c2ce48384c5cdaae2fc92289e61fcc9b Mon Sep 17 00:00:00 2001 From: Tink Date: Thu, 16 Apr 2026 14:14:36 +0200 Subject: [PATCH] refactor(frontend): migrate .box to Card and drop Bulma elements/box (#2640) --- .../src/components/home/ContentLinkShare.vue | 5 +-- frontend/src/styles/global.scss | 2 +- .../src/views/sharing/LinkSharingAuth.vue | 8 ++--- frontend/src/views/teams/ListTeams.vue | 32 +++++++++++-------- frontend/tests/e2e/sharing/team.spec.ts | 4 +-- 5 files changed, 28 insertions(+), 23 deletions(-) diff --git a/frontend/src/components/home/ContentLinkShare.vue b/frontend/src/components/home/ContentLinkShare.vue index b59e0fc48..9f7e1a8d5 100644 --- a/frontend/src/components/home/ContentLinkShare.vue +++ b/frontend/src/components/home/ContentLinkShare.vue @@ -44,10 +44,10 @@ > {{ $t('misc.loading') }} -
+ -
+ @@ -64,6 +64,7 @@ import {useAuthStore} from '@/stores/auth' import Logo from '@/components/home/Logo.vue' import PoweredByLink from './PoweredByLink.vue' import BaseButton from '@/components/base/BaseButton.vue' +import Card from '@/components/misc/Card.vue' import Message from '@/components/misc/Message.vue' import {PROJECT_VIEW_KINDS} from '@/modelTypes/IProjectView' diff --git a/frontend/src/styles/global.scss b/frontend/src/styles/global.scss index a97a5ae72..89db4fce8 100644 --- a/frontend/src/styles/global.scss +++ b/frontend/src/styles/global.scss @@ -17,7 +17,7 @@ // imports from "bulma-css-variables/sass/elements/_all"; -@import "bulma-css-variables/sass/elements/box"; +// @import "bulma-css-variables/sass/elements/box"; // not used; migrated to // @import "bulma-css-variables/sass/elements/button"; // Moved to Button.vue component @import "bulma-css-variables/sass/elements/container"; @import "bulma-css-variables/sass/elements/content"; diff --git a/frontend/src/views/sharing/LinkSharingAuth.vue b/frontend/src/views/sharing/LinkSharingAuth.vue index 50793e99e..16d9e8b06 100644 --- a/frontend/src/views/sharing/LinkSharingAuth.vue +++ b/frontend/src/views/sharing/LinkSharingAuth.vue @@ -3,10 +3,7 @@ {{ $t('sharing.authenticating') }} -
+

{{ $t('sharing.passwordRequired') }}

@@ -33,7 +30,7 @@ > {{ errorMessage }} -
+
@@ -43,6 +40,7 @@ import {useRoute, useRouter} from 'vue-router' import {useI18n} from 'vue-i18n' import {useTitle} from '@vueuse/core' +import Card from '@/components/misc/Card.vue' import Message from '@/components/misc/Message.vue' import FormField from '@/components/input/FormField.vue' import {LINK_SHARE_HASH_PREFIX} from '@/constants/linkShareHash' diff --git a/frontend/src/views/teams/ListTeams.vue b/frontend/src/views/teams/ListTeams.vue index e4b1ee8b5..5b5d8077d 100644 --- a/frontend/src/views/teams/ListTeams.vue +++ b/frontend/src/views/teams/ListTeams.vue @@ -12,21 +12,24 @@

{{ $t('team.title') }}

- + +

{