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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Update outcome visuals
Mir Bhatia8f55a1956df9
diff --git a/modules/meeting/app/components/_index.sass b/modules/meeting/app/components/_index.sassindex 420fedfb6d7..9869779eb68 100644--- a/modules/meeting/app/components/_index.sass+++ b/modules/meeting/app/components/_index.sass@@ -6,3 +6,4 @@@import "./recurring_meetings/table_header_component.sass"@import "./meeting_agenda_items/outcomes/show_notes_component.sass"@import "./meeting_agenda_items/outcomes/form_component.sass"+@import "./meetings/header_infoline_component.sass"diff --git a/modules/meeting/app/components/meetings/header_infoline_component.html.erb b/modules/meeting/app/components/meetings/header_infoline_component.html.erbindex bd2fde5df8d..1f798060e99 100644--- a/modules/meeting/app/components/meetings/header_infoline_component.html.erb+++ b/modules/meeting/app/components/meetings/header_infoline_component.html.erb@@ -1,15 +1,35 @@-<%= render(Primer::BaseComponent.new(tag: :div)) do %>+<%= render(Primer::BaseComponent.new(tag: :div, classes: "meeting-infoline")) do %><% if @series && [email protected]? %>- <%= render(Meetings::SidePanel::StatusButtonComponent.new(meeting: @meeting, size: :small)) %>- <%= t("recurring_meeting.occurrence.infoline", title: @series.title) %>+ <%= render(Primer::BaseComponent.new(tag: :div, classes: "hidden-for-mobile", mr: 1)) do %>+ <%= render(Meetings::SidePanel::StatusButtonComponent.new(meeting: @meeting, size: :small)) %>+ <% end %>+ <%=+ render(Primer::Beta::Text.new) do+ t("recurring_meeting.occurrence.infoline", title: @series.title)+ end+ %><% elsif [email protected]? %>- <%= render(Meetings::SidePanel::StatusButtonComponent.new(meeting: @meeting, size: :small)) %>- <%= t(:label_meeting_created_by) %>+ <%= render(Primer::BaseComponent.new(tag: :span, classes: "hidden-for-mobile", mr: 1)) do %>+ <%= render(Meetings::SidePanel::StatusButtonComponent.new(meeting: @meeting, size: :small)) %>+ <% end %>+ <%=+ render(Primer::Beta::Text.new(mr: 1)) do+ t(:label_meeting_created_by)+ end+ %><%= helpers.primer_link_to_user(@meeting.author) %>.<% else %>- <%= t(:label_meeting_created_by) %>+ <%=+ render(Primer::Beta::Text.new(mr: 1)) do+ t(:label_meeting_created_by)+ end+ %><%= helpers.primer_link_to_user(@meeting.author) %>.<% end %>- <%= t("label_meeting_last_updated") %>+ <%=+ render(Primer::Beta::Text.new(ml: 1, mr: 1)) do+ t("label_meeting_last_updated")+ end+ %><%= render(OpPrimer::RelativeTimeComponent.new(datetime: last_updated_at, prefix: I18n.t(:label_on))) %>.<% end %>diff --git a/modules/meeting/app/components/meetings/header_infoline_component.rb b/modules/meeting/app/components/meetings/header_infoline_component.rbindex e88bf332026..cd507ed9d7b 100644--- a/modules/meeting/app/components/meetings/header_infoline_component.rb+++ b/modules/meeting/app/components/meetings/header_infoline_component.rb@@ -29,6 +29,8 @@module Meetingsclass HeaderInfolineComponent < ApplicationComponent+ include OpPrimer::ComponentHelpers+def initialize(meeting)super@meeting = meetingdiff --git a/modules/meeting/app/components/meetings/header_infoline_component.sass b/modules/meeting/app/components/meetings/header_infoline_component.sassnew file mode 100644index 00000000000..9bdef5acf89--- /dev/null+++ b/modules/meeting/app/components/meetings/header_infoline_component.sass@@ -0,0 +1,8 @@+@import 'helpers'++.meeting-infoline+ display: flex+ align-items: center++ @media screen and (max-width: $breakpoint-md)+ display: inlinediff --git a/modules/meeting/app/components/meetings/side_panel/state_component.sass b/modules/meeting/app/components/meetings/side_panel/state_component.sassindex eb44fc1071b..bc7fe8fa417 100644--- a/modules/meeting/app/components/meetings/side_panel/state_component.sass+++ b/modules/meeting/app/components/meetings/side_panel/state_component.sass@@ -1,6 +1,6 @@@import 'helpers'-@media screen and (max-width: $breakpoint-md)+@media screen and (max-width: $breakpoint-sm).op-meeting-sidebar-stateflex-direction: row !importantjustify-content: space-betweendiff --git a/modules/meeting/app/components/meetings/side_panel/status_button_component.rb b/modules/meeting/app/components/meetings/side_panel/status_button_component.rbindex 1d6457227b3..00c65fc28dd 100644--- a/modules/meeting/app/components/meetings/side_panel/status_button_component.rb+++ b/modules/meeting/app/components/meetings/side_panel/status_button_component.rb@@ -72,6 +72,7 @@ module Meetingscolor: Color.new(hexcode: "#1F883D"),icon: :"issue-opened",tag: :a,+ description: t("text_meeting_open_dropdown_description"),href: change_state_project_meeting_path(@project, @meeting, state: "open"),content_arguments: {data: { "turbo-stream": true, "turbo-method": "put" }@@ -83,6 +84,7 @@ module Meetingscolor: Color.new(hexcode: "#9A6700"),icon: :play,tag: :a,+ description: t("text_meeting_in_progress_dropdown_description"),href: change_state_project_meeting_path(@project, @meeting, state: "in_progress"),content_arguments: {data: { "turbo-stream": true, "turbo-method": "put" }@@ -91,9 +93,10 @@ module Meetingsdef closed_statusOpPrimer::StatusButtonOption.new(name: t("label_meeting_state_closed"),- color: Color.new(hexcode: "#8250DF"),- icon: :"codescan-checkmark",+ color: Color.new(hexcode: "#6E7781 "),+ icon: :"issue-closed",tag: :a,+ description: t("text_meeting_closed_dropdown_description"),href: change_state_project_meeting_path(@project, @meeting, state: "closed"),content_arguments: {data: { "turbo-stream": true, "turbo-method": "put" }diff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.ymlindex b1171b5766b..0139c82f9b7 100644--- a/modules/meeting/config/locales/en.yml+++ b/modules/meeting/config/locales/en.yml@@ -456,6 +456,9 @@ en:text_meeting_open_description: "This meeting is open. You can add/remove agenda items and edit them as you please. Once the agenda is ready, mark it as in progress to document outcomes."text_meeting_closed_description: "This meeting is closed. You cannot add/remove agenda items anymore."text_meeting_in_progress_description: "This meeting is in progress. You can document outcomes for each agenda item, re-arrange them, and even add new ones. Once the meeting is complete, you can mark it as closed to lock it."+ text_meeting_open_dropdown_description: "Any existing outcomes will remain but users will not be able to add new outcomes."+ text_meeting_in_progress_dropdown_description: "Once the agenda is ready, mark it as in progress to document outcomes."+ text_meeting_closed_dropdown_description: "Once the meeting is complete, you can mark it as closed to lock it."label_meeting_manage_participants: "Manage participants"label_meeting_no_participants: "No participants"diff --git a/modules/meeting/spec/support/pages/structured_meeting/show.rb b/modules/meeting/spec/support/pages/structured_meeting/show.rbindex b413eed2fa4..2368a5fb0a6 100644--- a/modules/meeting/spec/support/pages/structured_meeting/show.rb+++ b/modules/meeting/spec/support/pages/structured_meeting/show.rb@@ -319,10 +319,8 @@ module Pages::StructuredMeetingdef close_meetingretry_block do- page.within(".PageHeader-description") do- click_on("Open")- page.find(".Overlay")- end+ click_on("Open")+ page.find(".Overlay")endpage.within(".Overlay") do