docbrown/app
Josh Puetz 802e225a07
[deploy] Add top comments to articles feed (#6988)
* Add 'top_comments' to article feed

* Only include root comments

* Cache and eagerly load top comments

* Clear top comments cache when article score is updated

* Add articles.top_comments to bullet whitelist

* Update app/models/article.rb

Co-Authored-By: rhymes <rhymesete@gmail.com>

* Remove limit in top_comments association, remove Rails caching of top comments

* Remove unnecessary test

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-04-13 10:21:03 -04:00
..
assets [deploy] Fix scrolling issues and small fixes (#7245) 2020-04-12 22:36:32 -04:00
black_box Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
controllers [deploy] Small design and functionality touches to /connect (#7234) 2020-04-11 10:56:52 -04:00
dashboards Delete non-existing method "organization" from user_dashboard model (#6989) 2020-04-01 13:59:13 -04:00
decorators Use scopes for Follow instead of where all the time (#6149) [deploy] 2020-02-25 19:29:52 -05:00
errors Centralize search error handling (#6227) [deploy] 2020-02-25 14:03:49 -05:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers [deploy] 🚀Feature: chat action messages if a member added, left or removed from the group (#7105) 2020-04-08 18:14:34 -04:00
javascript [deploy] Fix scrolling issues and small fixes (#7245) 2020-04-12 22:36:32 -04:00
labor [deploy] Use atomic increment for rate limiter counters (#7209) 2020-04-11 12:11:32 -04:00
lib Upgrade Rubocop to 0.81 (#7219) 2020-04-11 10:10:04 +02:00
liquid_tags Allow KaTeX to render inline (#6670) [deploy] 2020-03-17 10:42:41 +01:00
mailers [deploy] Fix up connect group issues (#7051) 2020-04-02 21:58:59 -04:00
models [deploy] Add top comments to articles feed (#6988) 2020-04-13 10:21:03 -04:00
policies [deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903) 2020-04-01 12:13:26 -04:00
queries/internal Refactor internal mods page (#7002) 2020-04-03 10:41:09 -04:00
sanitizers Add support for mark element in markdown (#2089) 2019-03-18 17:10:58 -04:00
serializers [deploy] Add new user attributes to elasticsearch (#7123) 2020-04-07 13:16:15 -04:00
services [deploy] Add top comments to articles feed (#6988) 2020-04-13 10:21:03 -04:00
uploaders Limit ALL Upload file sizes to 25 MB (#5356) [deploy] 2020-01-07 11:20:40 -05:00
view_objects Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
views [deploy] Add top comments to articles feed (#6988) 2020-04-13 10:21:03 -04:00
workers Upgrade Rubocop to 0.81 (#7219) 2020-04-11 10:10:04 +02:00