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

hide movement controls when filtering

Ivan Kuchin1d75e2062cfd
diff --git a/app/components/settings/project_life_cycle_step_definitions/row_component.html.erb b/app/components/settings/project_life_cycle_step_definitions/row_component.html.erb
index 91c3064f4c4..b52223e9874 100644
--- a/app/components/settings/project_life_cycle_step_definitions/row_component.html.erb
+++ b/app/components/settings/project_life_cycle_step_definitions/row_component.html.erb
@@ -31,7 +31,9 @@ See COPYRIGHT and LICENSE files for more details.
flex_layout(align_items: :center, justify_content: :space_between) do |row_container|
row_container.with_column(flex_layout: true, classes: "gap-2") do |title_container|
title_container.with_column do
- render(Primer::OpenProject::DragHandle.new)
+ render(Primer::OpenProject::DragHandle.new(
+ data: { "projects--settings--border-box-filter-target": "hideWhenFiltering" }
+ ))
end
title_container.with_column do
render(Primer::Beta::Link.new(
diff --git a/app/components/settings/project_life_cycle_step_definitions/row_component.rb b/app/components/settings/project_life_cycle_step_definitions/row_component.rb
index 1f165751a6c..a1a0be5edbe 100644
--- a/app/components/settings/project_life_cycle_step_definitions/row_component.rb
+++ b/app/components/settings/project_life_cycle_step_definitions/row_component.rb
@@ -43,6 +43,9 @@ module Settings
href: move_admin_settings_project_life_cycle_step_definition_path(definition, move_to:),
form_arguments: {
method: :patch
+ },
+ data: {
+ "projects--settings--border-box-filter-target": "hideWhenFiltering"
}
) do |item|
item.with_leading_visual_icon(icon:)