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
Merge branch 'dev' into feature/57854-primerised-meeting-index-pages
Mir Bhatia6decd7d763dd
diff --cc modules/meeting/app/controllers/meetings_controller.rbindex 29b2d9ffaba,783d017776b..25dc7b36eab--- a/modules/meeting/app/controllers/meetings_controller.rb+++ b/modules/meeting/app/controllers/meetings_controller.rb@@@ -110,25 -108,17 +112,28 @@@ class MeetingsController < ApplicationCendflash[:notice] = text.html_safe # rubocop:disable Rails/OutputSafety- redirect_to action: "show", id: call.result+ redirect_to status: :see_other, action: "show", id: @meetingelse- @meeting = call.result-respond_to do |format|format.html do- render template: "meetings/new", project_id: @project, locals: { copy_from: @copy_from }+ render action: :new,+ status: :unprocessable_entity,+ project_id: @project,+ locals: { copy_from: @copy_from }end++ format.turbo_stream do+ update_via_turbo_stream(+ component: Meetings::Index::FormComponent.new(+ meeting: @meeting,+ project: @project,+ type: @copy_from || :new+ ),+ status: :bad_request+ )++ respond_with_turbo_streams+ endendendend@@@ -150,15 -136,7 +155,15 @@@.call(save: false)@meeting = call.result- render action: :new, status: :unprocessable_entity, project_id: @project, locals: { copy_from: }+ respond_to do |format|+ format.html do- render action: "new", project_id: @project, locals: { copy_from: }++ render action: :new, status: :unprocessable_entity, project_id: @project, locals: { copy_from: }+ end++ format.turbo_stream do+ respond_with_dialog Meetings::Index::DialogComponent.new(meeting: @meeting, project: @project, type: copy_from)+ end+ endenddef destroy