Skip to content

Commit 0e6e03a

Browse files
Tim020claude
andcommitted
Replace v-b-tooltip with mouseenter/mouseleave in all three mics components
The merge conflict resolution had kept the old v-b-tooltip directive in the templates while only adding the useHoverTooltip script bindings. BVN's v-b-tooltip renders an inline node per bound element which, inside a CSS grid, occupies a grid cell and produces the staggered empty-column layout. Replaced all three remaining v-b-tooltip usages with the @mouseenter/@Mouseleave pattern that drives the shared BTooltip instance. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f51b0bd commit 0e6e03a

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

client-v3/src/components/show/config/mics/MicAllocations.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@
128128
<template v-else>
129129
<div
130130
v-if="allocationByCharacter[data.item.Character]?.[scene.id] != null"
131-
v-b-tooltip.hover.top="getTooltipText(data.item.Character, scene.id)"
132131
class="allocation-cell"
133132
:class="getConflictClassForCell(data.item.Character, scene.id)"
133+
@mouseenter="showTooltip(getTooltipText(data.item.Character, scene.id), $event)"
134+
@mouseleave="hideTooltip"
134135
>
135136
{{ allocationByCharacter[data.item.Character]?.[scene.id] }}
136137
<IMdiAlert

client-v3/src/components/show/config/mics/ResourceAvailability.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@
6767
<div
6868
v-for="micStatus in sceneData.micStatuses"
6969
:key="`mic-${micStatus.mic.id}`"
70-
v-b-tooltip.hover.top="getMicTooltip(micStatus)"
7170
class="mic-status-item"
7271
:class="micStatus.statusClass"
72+
@mouseenter="showTooltip(getMicTooltip(micStatus), $event)"
73+
@mouseleave="hideTooltip"
7374
>
7475
<div class="mic-name">{{ micStatus.mic.name ?? `Mic ${micStatus.mic.id}` }}</div>
7576
<div v-if="micStatus.character" class="mic-character">

client-v3/src/components/show/config/mics/SceneDensityHeatmap.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,18 @@
5757
class="scene-bar-wrapper"
5858
>
5959
<div
60-
v-b-tooltip.hover.top="
61-
`${sceneData.scene.name}: ${sceneData.micCount} microphone${sceneData.micCount !== 1 ? 's' : ''}`
62-
"
6360
class="scene-bar"
6461
:style="{
6562
backgroundColor: getDensityColor(sceneData.micCount),
6663
height: getBarHeight(sceneData.micCount) + 'px',
6764
}"
65+
@mouseenter="
66+
showTooltip(
67+
`${sceneData.scene.name}: ${sceneData.micCount} microphone${sceneData.micCount !== 1 ? 's' : ''}`,
68+
$event
69+
)
70+
"
71+
@mouseleave="hideTooltip"
6872
>
6973
<span class="mic-count">{{ sceneData.micCount }}</span>
7074
</div>

0 commit comments

Comments
 (0)