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
Remove feature flag for meeting update flash (#16759)
Oliver Günther35cf5018d5e2
diff --git a/config/initializers/feature_decisions.rb b/config/initializers/feature_decisions.rbindex 62a972b4993..77adfa592a2 100644--- a/config/initializers/feature_decisions.rb+++ b/config/initializers/feature_decisions.rb@@ -43,9 +43,5 @@ OpenProject::FeatureDecisions.add :percent_complete_edition,"Will be enabled by default in OpenProject 15.0. " \"See work package #52233 for more details."-OpenProject::FeatureDecisions.add :meeting_updated_notification,- description: "Allow flash messages to notify users about concurrent meeting edits. " \- "See work package #54744 for more details."-OpenProject::FeatureDecisions.add :built_in_oauth_applications,description: "Allows the display and use of built-in OAuth applications."diff --git a/modules/meeting/app/components/meetings/header_component.html.erb b/modules/meeting/app/components/meetings/header_component.html.erbindex a09e5b63ad1..13a451beba3 100644--- a/modules/meeting/app/components/meetings/header_component.html.erb+++ b/modules/meeting/app/components/meetings/header_component.html.erb@@ -10,7 +10,7 @@render(Primer::OpenProject::PageHeader.new(test_selector: "meeting-page-header",state: @state,- data: OpenProject::FeatureDecisions.meeting_updated_notification_active? ? params : {}+ data: params)) do |header|header.with_title do |title|title.with_editable_form(model: @meeting,diff --git a/modules/meeting/app/components/meetings/header_component.rb b/modules/meeting/app/components/meetings/header_component.rbindex 41d52b5f58d..08bcba7912f 100644--- a/modules/meeting/app/components/meetings/header_component.rb+++ b/modules/meeting/app/components/meetings/header_component.rb@@ -46,7 +46,7 @@ module Meetings# Define the interval so it can be overriden through testsdef check_for_updates_interval- OpenProject::FeatureDecisions.meeting_updated_notification_active? ? 10_000 : 0+ 10_000endprivatediff --git a/modules/meeting/spec/features/structured_meetings/structured_meeting_update_flash_spec.rb b/modules/meeting/spec/features/structured_meetings/structured_meeting_update_flash_spec.rbindex 495b4e77861..a0c0e91314c 100644--- a/modules/meeting/spec/features/structured_meetings/structured_meeting_update_flash_spec.rb+++ b/modules/meeting/spec/features/structured_meetings/structured_meeting_update_flash_spec.rb@@ -44,7 +44,7 @@ RSpec.describe "Structured meetings CRUD",let(:meeting) { create(:structured_meeting, project:, author: current_user) }let(:show_page) { Pages::StructuredMeeting::Show.new(meeting) }- describe "meeting update flash", with_flag: { meeting_updated_notification: true } do+ describe "meeting update flash" dobefore do# Disable the polling so we can trigger it manuallyallow_any_instance_of(Meetings::HeaderComponent) # rubocop:disable RSpec/AnyInstance