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

minor adjustment of UI updates

Jonas Jabari8628decb0598
diff --git a/modules/meeting/app/controllers/meeting_sections_controller.rb b/modules/meeting/app/controllers/meeting_sections_controller.rb
index c256708c82a..d20991821a2 100644
--- a/modules/meeting/app/controllers/meeting_sections_controller.rb
+++ b/modules/meeting/app/controllers/meeting_sections_controller.rb
@@ -122,7 +122,10 @@ class MeetingSectionsController < ApplicationController
.call(position: params[:position].to_i)
if call.success?
- update_all_via_turbo_stream # TODO: more specific UI update
+ update_list_via_turbo_stream
+ update_header_component_via_turbo_stream
+ # having a more specific update is not that easy as the reordering impacts
+ # the time slot calculations of potentially all agenda items
else
generic_call_failure_response(call)
end
@@ -136,7 +139,10 @@ class MeetingSectionsController < ApplicationController
.call(move_to: params[:move_to]&.to_sym)
if call.success?
- update_all_via_turbo_stream # TODO: more specific UI update
+ update_list_via_turbo_stream
+ update_header_component_via_turbo_stream
+ # having a more specific update is not that easy as the reordering impacts
+ # the time slot calculations of potentially all agenda items
else
generic_call_failure_response(call)
end