[74625] Make project hierarchy collapsable in the global project selector (#23137)

* Use new async FilterableTreeView for global project selector

* Remove replaced angular component

* Fine tune sorting and expansion state of the new project selector

* Update primer to 0.86.1

* Add workspace information and filter results hierarchy information to project selector

* Include review feedback: Harmonize I18n keys, fix visible scope, use guarded local storage

* Add a turboFrame in the project select overlay to only load the projects when it is actually opened

* Restore BIM tab styles which were broken for a while already but the new project selector changes made it so bad that the test broke because the plus icon was overlapping the checkbox

* Clarify spec expectation
This commit is contained in:
Henriette Darge
2026-06-08 08:14:47 +02:00
committed by GitHub
parent 13fbeb1612
commit 396de9362f
36 changed files with 1267 additions and 887 deletions
@@ -37,9 +37,11 @@ module Redmine::MenuManager::TopMenu::ProjectsMenu
private
def render_projects_dropdown
content_tag(:div, class: "main-menu-item") do
angular_component_tag("opce-header-project-select")
end
render(Header::ProjectSelectComponent.new(
current_project: @project,
current_menu_item: current_menu_item,
current_user: User.current
))
end
include OpenProject::StaticRouting::UrlHelpers