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

[#55581] hover card in meetings

Tobias Dillmann3dc40b514005
diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
index 0a6b32f1d99..1a3b6e71fff 100644
--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
@@ -45,7 +45,7 @@
grid.with_area(:presenter, tag: :div, classes: 'ellipsis') do
flex_layout(align_items: :flex_end) do |flex|
flex.with_column(classes: 'ellipsis custom-presenter-flex') do
- render(Users::AvatarComponent.new(user: @meeting_agenda_item.presenter, size: 'mini', title:, classes: 'op-principal_flex'))
+ render(Users::AvatarComponent.new(user: @meeting_agenda_item.presenter, size: 'mini', title:, classes: 'op-principal_flex', hover_card: { active: true }))
end
end
end
diff --git a/modules/meeting/app/components/meetings/side_panel/participants_component.rb b/modules/meeting/app/components/meetings/side_panel/participants_component.rb
index 38070b04958..6e6f32c1fb1 100644
--- a/modules/meeting/app/components/meetings/side_panel/participants_component.rb
+++ b/modules/meeting/app/components/meetings/side_panel/participants_component.rb
@@ -60,7 +60,8 @@ module Meetings
flex.with_column(classes: "ellipsis") do
render(Users::AvatarComponent.new(user: participant.user,
size: :medium,
- classes: "op-principal_flex"))
+ classes: "op-principal_flex",
+ hover_card: { active: true }))
end
render_participant_state(participant, flex)
end
diff --git a/modules/meeting/app/components/work_package_meetings_tab/meeting_agenda_item_component.html.erb b/modules/meeting/app/components/work_package_meetings_tab/meeting_agenda_item_component.html.erb
index b4b8699c630..4df990e857a 100644
--- a/modules/meeting/app/components/work_package_meetings_tab/meeting_agenda_item_component.html.erb
+++ b/modules/meeting/app/components/work_package_meetings_tab/meeting_agenda_item_component.html.erb
@@ -15,7 +15,7 @@
render(Primer::Beta::Text.new(color: :subtle)) { t("label_added_by", author: nil) }
end
authoring.with_column(mr: 1, classes: 'ellipsis') do
- render(Users::AvatarComponent.new(user: @meeting_agenda_item.author, size: 'mini', classes: 'op-principal_flex'))
+ render(Users::AvatarComponent.new(user: @meeting_agenda_item.author, size: 'mini', classes: 'op-principal_flex', hover_card: { active: true }))
end
authoring.with_column do
render(Primer::Beta::RelativeTime.new(color: :subtle, datetime: @meeting_agenda_item.created_at))