diff options
Diffstat (limited to 'lib/sidebars/groups/super_sidebar_menus/analyze_menu.rb')
-rw-r--r-- | lib/sidebars/groups/super_sidebar_menus/analyze_menu.rb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/sidebars/groups/super_sidebar_menus/analyze_menu.rb b/lib/sidebars/groups/super_sidebar_menus/analyze_menu.rb new file mode 100644 index 00000000000..65393336797 --- /dev/null +++ b/lib/sidebars/groups/super_sidebar_menus/analyze_menu.rb @@ -0,0 +1,33 @@ +# frozen_string_literal: true + +module Sidebars + module Groups + module SuperSidebarMenus + class AnalyzeMenu < ::Sidebars::Menu + override :title + def title + s_('Navigation|Analyze') + end + + override :sprite_icon + def sprite_icon + 'chart' + end + + override :configure_menu_items + def configure_menu_items + [ + :cycle_analytics, + :ci_cd_analytics, + :contribution_analytics, + :devops_adoption, + :insights, + :issues_analytics, + :productivity_analytics, + :repository_analytics + ].each { |id| add_item(::Sidebars::NilMenuItem.new(item_id: id)) } + end + end + end + end +end |