Commit b845e06e authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'set_portfolio_management_apdex_urgency' into 'master'

Set product planning apdex urgency

See merge request gitlab-org/gitlab!78929
parents 3a8b98fb 25c193dc
...@@ -4,6 +4,7 @@ class Projects::DesignManagement::DesignsController < Projects::ApplicationContr ...@@ -4,6 +4,7 @@ class Projects::DesignManagement::DesignsController < Projects::ApplicationContr
before_action :authorize_read_design! before_action :authorize_read_design!
feature_category :design_management feature_category :design_management
urgency :low
private private
......
...@@ -7,6 +7,7 @@ module EE ...@@ -7,6 +7,7 @@ module EE
prepended do prepended do
feature_category :portfolio_management, [:epics] feature_category :portfolio_management, [:epics]
urgency :medium, [:epics]
feature_category :vulnerability_management, [:vulnerabilities] feature_category :vulnerability_management, [:vulnerabilities]
end end
......
...@@ -7,6 +7,7 @@ module EE ...@@ -7,6 +7,7 @@ module EE
prepended do prepended do
feature_category :portfolio_management, [:epics] feature_category :portfolio_management, [:epics]
urgency :medium, [:epics]
feature_category :vulnerability_management, [:vulnerabilities] feature_category :vulnerability_management, [:vulnerabilities]
end end
......
...@@ -12,6 +12,7 @@ class Groups::EpicBoardsController < Groups::ApplicationController ...@@ -12,6 +12,7 @@ class Groups::EpicBoardsController < Groups::ApplicationController
track_redis_hll_event :index, :show, name: 'g_project_management_users_viewing_epic_boards' track_redis_hll_event :index, :show, name: 'g_project_management_users_viewing_epic_boards'
feature_category :portfolio_management feature_category :portfolio_management
urgency :medium, [:index, :show]
private private
......
...@@ -7,6 +7,7 @@ class Groups::EpicIssuesController < Groups::ApplicationController ...@@ -7,6 +7,7 @@ class Groups::EpicIssuesController < Groups::ApplicationController
before_action :authorize_issue_link_association!, only: [:destroy, :update] before_action :authorize_issue_link_association!, only: [:destroy, :update]
feature_category :portfolio_management feature_category :portfolio_management
urgency :default
def update def update
result = EpicIssues::UpdateService.new(link, current_user, params[:epic]).execute result = EpicIssues::UpdateService.new(link, current_user, params[:epic]).execute
......
...@@ -7,6 +7,7 @@ class Groups::EpicLinksController < Groups::ApplicationController ...@@ -7,6 +7,7 @@ class Groups::EpicLinksController < Groups::ApplicationController
before_action :check_subepics_available!, only: [:create, :update] before_action :check_subepics_available!, only: [:create, :update]
feature_category :portfolio_management feature_category :portfolio_management
urgency :default
def update def update
result = EpicLinks::UpdateService.new(child_epic, current_user, params[:epic]).execute result = EpicLinks::UpdateService.new(child_epic, current_user, params[:epic]).execute
......
...@@ -11,6 +11,7 @@ class Groups::Epics::NotesController < Groups::ApplicationController ...@@ -11,6 +11,7 @@ class Groups::Epics::NotesController < Groups::ApplicationController
before_action :authorize_create_note!, only: [:create] before_action :authorize_create_note!, only: [:create]
feature_category :portfolio_management feature_category :portfolio_management
urgency :default
private private
......
...@@ -26,6 +26,8 @@ class Groups::EpicsController < Groups::ApplicationController ...@@ -26,6 +26,8 @@ class Groups::EpicsController < Groups::ApplicationController
end end
feature_category :portfolio_management feature_category :portfolio_management
urgency :medium, [:show, :new]
urgency :low, [:discussions]
def new def new
@noteable = Epic.new @noteable = Epic.new
......
...@@ -13,6 +13,7 @@ module Groups ...@@ -13,6 +13,7 @@ module Groups
end end
feature_category :portfolio_management feature_category :portfolio_management
urgency :medium, [:show]
# show roadmap for a group # show roadmap for a group
def show def show
......
...@@ -5,6 +5,7 @@ module API ...@@ -5,6 +5,7 @@ module API
include PaginationParams include PaginationParams
feature_category :portfolio_management feature_category :portfolio_management
urgency :low
before do before do
authenticate! authenticate!
......
...@@ -5,6 +5,7 @@ module API ...@@ -5,6 +5,7 @@ module API
include ::Gitlab::Utils::StrongMemoize include ::Gitlab::Utils::StrongMemoize
feature_category :portfolio_management feature_category :portfolio_management
urgency :low
before do before do
authenticate! authenticate!
......
...@@ -61,7 +61,7 @@ module API ...@@ -61,7 +61,7 @@ module API
end end
end end
[':id/epics', ':id/-/epics'].each do |path| [':id/epics', ':id/-/epics'].each do |path|
get path do get path, urgency: :low do
validate_anonymous_search_access! if declared_params[:search].present? validate_anonymous_search_access! if declared_params[:search].present?
epics = paginate(find_epics(finder_params: { group_id: user_group.id })).with_api_entity_associations epics = paginate(find_epics(finder_params: { group_id: user_group.id })).with_api_entity_associations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment