mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user