gitlab-org--gitlab-foss/spec/models/concerns
Igor Drozdov 72544449cf Change the way totalNotes is calculated
totalNotes is only used to prerender a number of
skeleton containers until real notes are loaded

issuable.discussions makes multiple requests, so
too expensive for this

This commit uses mere notes for this and sends
actual totalNotes number if it's less than 10;
otherwise it sends 10 - it allows us to avoid
bunch of skeleton prerenderings, which are not
necessary since they doesn't fit into the whole
screen and disappear quite fast
2019-08-28 08:30:13 +03:00
..
token_authenticatable_strategies Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
access_requestable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
avatarable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
awardable_spec.rb Add service classes for mutating AwardEmoji 2019-08-21 11:39:41 +12:00
batch_destroy_dependent_associations_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
blob_language_from_git_attributes_spec.rb
blocks_json_serialization_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
cache_markdown_field_spec.rb Banzai - avoid redis if attr is in DB cache 2019-07-10 21:35:43 -06:00
cacheable_attributes_spec.rb Save instance administration project id in DB 2019-08-07 18:40:36 +00:00
case_sensitivity_spec.rb Remove dead MySQL code 2019-07-23 16:53:03 +01:00
chronic_duration_attribute_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
deployable_spec.rb Populate cluster_id when creating a deployment 2019-06-27 17:28:52 +12:00
deployment_platform_spec.rb Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
deprecated_assignee_spec.rb [CE] Support multiple assignees for merge requests 2019-04-08 18:40:00 -03:00
discussion_on_diff_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
each_batch_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
editable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
expirable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
faster_cache_keys_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
feature_gate_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
from_union_spec.rb
group_descendant_spec.rb Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
has_environment_scope_spec.rb Bring scoped environment variables to core 2019-08-08 18:51:52 +00:00
has_ref_spec.rb Fix merge request pipeline exist method 2019-05-06 13:20:47 +07:00
has_status_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
has_variable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
ignorable_column_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
issuable_spec.rb Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
issuable_states_spec.rb Add specs for issuable states sync 2019-02-14 14:24:23 -02:00
loaded_in_group_list_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
manual_inverse_association_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
maskable_spec.rb Revert "Merge branch 'revert-8baf9e5f' into 'master'" 2019-02-27 12:52:53 +01:00
mentionable_spec.rb Replace 'JIRA' with 'Jira' 2019-06-28 13:25:56 +00:00
milestoneish_spec.rb Adjust burndown chart opened issues count 2019-06-04 13:10:38 +03:00
noteable_spec.rb Change the way totalNotes is calculated 2019-08-28 08:30:13 +03:00
optionally_search_spec.rb
participable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
presentable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
project_api_compatibility_spec.rb Fix the project auto devops API 2019-07-19 21:39:26 +00:00
project_features_compatibility_spec.rb Add *_access_level to project API 2019-07-03 16:18:05 +02:00
prometheus_adapter_spec.rb Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
protected_ref_access_spec.rb Move Contribution Analytics related spec in spec/features/groups/group_page_with_external_authorization_service_spec to EE 2019-04-09 15:38:58 +00:00
reactive_caching_spec.rb Allow ReactiveCaching to support nil value 2019-07-08 14:50:58 +01:00
redactable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
redis_cacheable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
resolvable_discussion_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
resolvable_note_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
routable_spec.rb Set the name of a user-namespace to the user name 2019-07-09 18:09:45 +02:00
sha_attribute_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
sortable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
spammable_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
stepable_spec.rb Don't use transactions and exceptions 2019-07-16 19:20:43 +00:00
strip_attribute_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
subscribable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
token_authenticatable_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
triggerable_hooks_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00
uniquify_spec.rb Add # frozen_string_literal to spec/models 2019-04-01 14:37:54 +13:00