gitlab-org--gitlab-foss/spec
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
..
bin Ensure changelog filenames are less than 99 characters long 2019-08-13 14:28:54 +05:30
config feat: SMIME signed notification emails 2019-08-20 16:13:32 +02:00
controllers Merge branch 'ce-8631-archiving-a-project-should-create-an-audit-event' into 'master' 2019-08-22 16:06:41 +00:00
db
dependencies
factories Use stub_full_request to fix spec failure 2019-08-27 19:25:22 +08:00
features Merge branch 'sh-project-feature-nplus-one' into 'master' 2019-08-27 06:41:38 +00:00
finders Add service classes for mutating AwardEmoji 2019-08-21 11:39:41 +12:00
fixtures Merge branch 'ce-22058-improve-ux-multi-assignees-in-mr' into 'master' 2019-08-21 12:52:34 +00:00
frontend Revert "Merge branch 'user-tracking-settings' into 'master'" 2019-08-26 22:16:23 +00:00
graphql Replace echo function with a resolver 2019-08-26 17:43:38 +00:00
haml_lint/linter
helpers Change misleading pipeline status tooltip 2019-08-23 21:28:46 +00:00
initializers feat: SMIME signed notification emails 2019-08-20 16:13:32 +02:00
javascripts Change the way totalNotes is calculated 2019-08-28 08:30:13 +03:00
lib Merge branch '65312-use-group-labels-instead-of-legacy-team-labels-for-danger-picking-test-reviewers' into 'master' 2019-08-27 12:57:30 +00:00
mailers Handle namespaced models 2019-08-21 19:23:27 +00:00
migrations Added EncryptDeployTokensTokens spec file 2019-08-26 19:39:48 -07:00
models Change the way totalNotes is calculated 2019-08-28 08:30:13 +03:00
policies Guard against deleted project feature entry 2019-08-26 13:37:42 -07:00
presenters Use ActiveModel's type instead of virtus 2019-08-20 10:52:21 +00:00
rack_servers
requests Merge branch '57657-promote-label-to-group-label-via-api-endpoint' into 'master' 2019-08-27 08:53:09 +00:00
routing
rubocop Utilize RuboCop's Include/Exclude config 2019-08-26 12:24:25 +00:00
serializers Merge branch 'ce-22058-improve-ux-multi-assignees-in-mr' into 'master' 2019-08-21 12:52:34 +00:00
services Use stub_full_request to fix spec failure 2019-08-27 19:25:22 +08:00
sidekiq/cron
support Add edit_note and spec for editing quick actions 2019-08-26 09:20:00 +00:00
tasks Squash project templates on update 2019-08-15 20:20:08 +00:00
uploaders
validators
views Fix Piwik not working 2019-08-26 15:46:14 -07:00
workers Avoid conflicts between ArchiveTraceWorkers 2019-08-22 10:28:12 +07:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Allow to use focus: true in specs 2019-08-11 14:13:38 +10:00