gitlab-org--gitlab-foss/app
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
..
assets Change the way totalNotes is calculated 2019-08-28 08:30:13 +03:00
controllers 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
graphql Replace echo function with a resolver 2019-08-26 17:43:38 +00:00
helpers Change the way totalNotes is calculated 2019-08-28 08:30:13 +03:00
mailers Handle namespaced models 2019-08-21 19:23:27 +00: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
serializers Merge branch '66037-deployment-user' into 'master' 2019-08-23 20:50:01 +00:00
services Add usage pings for merge request creating 2019-08-26 14:30:45 +00:00
uploaders Merge branch 'security-60551-fix-upload-scope' into 'master' 2019-07-26 13:40:54 +00:00
validators Refactor SystemHookUrlValidator and specs 2019-08-02 15:39:18 +01:00
views Merge branch 'sh-fix-piwik-template' into 'master' 2019-08-27 00:52:30 +00:00
workers Merge branch 'master' into 'master' 2019-08-23 12:39:44 +00:00