From 29680fe4f86b51018d96edc3db5e4a41c47d46d1 Mon Sep 17 00:00:00 2001 From: hoeppner-dataport <106819770+hoeppner-dataport@users.noreply.github.com> Date: Tue, 7 Nov 2023 16:54:18 +0100 Subject: [PATCH 1/3] BC-4939 - fix: prevent unnecessary update height calls (#2895) --- .../feature-board/card/CardHost.vue | 23 ++++++------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/src/components/feature-board/card/CardHost.vue b/src/components/feature-board/card/CardHost.vue index 2473df9048..0682fbaa79 100644 --- a/src/components/feature-board/card/CardHost.vue +++ b/src/components/feature-board/card/CardHost.vue @@ -96,12 +96,7 @@ import { BoardMenuActionDelete, BoardMenuActionEdit, } from "@ui-board"; -import { - useDebounceFn, - useElementHover, - useElementSize, - watchDebounced, -} from "@vueuse/core"; +import { useDebounceFn, useElementHover, useElementSize } from "@vueuse/core"; import { computed, defineComponent, ref, toRef } from "vue"; import { useAddElementDialog } from "../shared/AddElementDialog.composable"; import CardAddElementMenu from "./CardAddElementMenu.vue"; @@ -111,6 +106,7 @@ import CardTitle from "./CardTitle.vue"; import ContentElementList from "./ContentElementList.vue"; import CardHostDetailView from "./CardHostDetailView.vue"; import { mdiArrowExpand } from "@mdi/js"; +import { delay } from "@/utils/helpers"; export default defineComponent({ name: "CardHost", @@ -172,7 +168,11 @@ export default defineComponent({ const onStartEditMode = () => startEditMode(); - const onEndEditMode = () => stopEditMode(); + const onEndEditMode = async () => { + stopEditMode(); + await delay(300); + updateCardHeight(cardHostHeight.value); + }; const onOpenDetailView = () => (isDetailView.value = true); const onCloseDetailView = () => (isDetailView.value = false); @@ -204,15 +204,6 @@ export default defineComponent({ return "hidden"; }); - watchDebounced( - cardHostHeight, - (newHeight: number) => updateCardHeight(newHeight), - { - debounce: 500, - maxWait: 2000, - } - ); - return { boardMenuClasses, isLoading, From c5c6e3556483ffb3ad35bfa6df58000afb0eeb25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20=C3=96hlerking?= <103562092+MarvinOehlerkingCap@users.noreply.github.com> Date: Wed, 8 Nov 2023 09:52:13 +0100 Subject: [PATCH 2/3] N21-1455 Fix BBB pulsating dot in reduced animation mode (#2897) --- .../rooms/RoomVideoConferenceCard.vue | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/components/rooms/RoomVideoConferenceCard.vue b/src/components/rooms/RoomVideoConferenceCard.vue index b5f2ecaee7..cfa674798d 100644 --- a/src/components/rooms/RoomVideoConferenceCard.vue +++ b/src/components/rooms/RoomVideoConferenceCard.vue @@ -41,7 +41,7 @@