Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#59907] fix: User hovercard behind Meeting participants overlay

Tobias Dillmann5652c7f67dc2
diff --git a/app/components/users/hover_card_component.sass b/app/components/users/hover_card_component.sass
index ca6fa63034a..5f8fc8e212b 100644
--- a/app/components/users/hover_card_component.sass
+++ b/app/components/users/hover_card_component.sass
@@ -6,7 +6,7 @@
// modal overlay will darken the background while the hover card is active, since its semi-transparent bg shading is
// added on top of the other dialog background shaders. We don't want an additional spot modal background here,
// so we disable it for this edge case.
-.controller-projects.action-index
+.controller-projects.action-index, .controller-meetings.action-show
.spot-modal-overlay:not(:has(.op-user-hover-card))
background: transparent
diff --git a/modules/meeting/app/components/meetings/side_panel/participants_dialog.html.erb b/modules/meeting/app/components/meetings/side_panel/participants_dialog.html.erb
index 8c1fde5e83a..2530eaa4a4f 100644
--- a/modules/meeting/app/components/meetings/side_panel/participants_dialog.html.erb
+++ b/modules/meeting/app/components/meetings/side_panel/participants_dialog.html.erb
@@ -17,6 +17,7 @@
class: 'Overlay-form'
) do |f|
flex_layout(mt: 3) do |form_container|
+
form_container.with_row do
flex_layout(justify_content: :flex_end) do |header|
header.with_column(style: "width: 90px;", text_align: :center) do
@@ -47,7 +48,8 @@
existing_participant.with_column(flex: 1, classes: 'ellipsis') do
render(Users::AvatarComponent.new(
user: participant.user,
- classes: 'op-principal_flex'
+ classes: 'op-principal_flex',
+ hover_card: { active: true, target: :custom }
))
end
existing_participant.with_column(style: "width: 90px;", text_align: :center) do
@@ -84,7 +86,8 @@
new_participant.with_column(flex: 1, classes: 'ellipsis') do
render(Users::AvatarComponent.new(
user:,
- classes: 'op-principal_flex'
+ classes: 'op-principal_flex',
+ hover_card: { active: true, target: :custom }
))
end
@@ -109,6 +112,10 @@
end
end
end
+
+ form_container.with_row do
+ helpers.angular_component_tag 'opce-custom-modal-overlay'
+ end
end
end
end