Class: Import::Github::Notes::CreateService

Inherits:
Notes::CreateService show all
Defined in:
app/services/import/github/notes/create_service.rb

Constant Summary

Constants included from Gitlab::Utils::UsageData

Gitlab::Utils::UsageData::DISTRIBUTED_HLL_FALLBACK, Gitlab::Utils::UsageData::FALLBACK, Gitlab::Utils::UsageData::HISTOGRAM_FALLBACK, Gitlab::Utils::UsageData::MAX_BUCKET_SIZE

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

Methods inherited from Notes::CreateService

#execute

Methods included from IncidentManagement::UsageData

#track_incident_action

Methods included from Gitlab::Utils::UsageData

#add, #add_metric, #alt_usage_data, #average, #count, #distinct_count, #estimate_batch_distinct_count, #histogram, #maximum_id, #measure_duration, #minimum_id, #redis_usage_data, #sum, #track_usage_event, #with_finished_at, #with_metadata, #with_prometheus_client

Methods inherited from Notes::BaseService

#clear_noteable_diffs_cache, #increment_usage_counter

Methods inherited from BaseService

#initialize

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?

Constructor Details

This class inherits a constructor from BaseService

Instance Method Details

#quick_actions_supported?(_note) ⇒ Boolean

Github does not have support to quick actions in notes (like /assign) Therefore, when importing notes we skip the quick actions processing

Returns:

  • (Boolean)


9
10
11
# File 'app/services/import/github/notes/create_service.rb', line 9

def quick_actions_supported?(_note)
  false
end