docbrown/app
Jeremy Friesen 7989226d3f
Jeremyf/refactor order of operations (#15192)
* Adding guard clause for nill org feed score

There's no sense running a query if we don't have an organization.  This
is a small refactor that might offer a most nominal speed bump

* Caching calculated value

Prior to this commit, we calculated the user_experience_level once per
article in the feed.

This change adds a cache, creating a minor computational improvement.
2021-10-26 10:18:52 -04:00
..
assets Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
black_box Make Rubocop happy again (#14729) 2021-09-14 09:15:01 -05:00
components/admin/users Small change to make the tools section of member details mobile friendly. (#15159) 2021-10-22 18:47:20 +02:00
controllers Low Stakes Refactor of Feed class (#15180) 2021-10-26 09:57:33 -04:00
decorators Fix and clean up podcast pages (#15004) 2021-10-15 17:38:57 -04:00
errors When a user is blocked from commenting on an article, show correct error message (#15009) 2021-10-14 07:42:08 -06:00
helpers views/notifications i18n (#15056) 2021-10-25 15:46:46 +07:00
javascript Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
lib Tokenize settings menu and add French translations (#14905) 2021-10-06 17:53:58 +02:00
liquid_tags Remove redundant freeze calls (#14596) 2021-08-26 10:01:08 -04:00
mailers Re-add dynamic delivery_method for ApplicationMailer (#13994) 2021-06-23 15:17:27 -04:00
models Add Article post_commit when user_id changes with specs (#15132) 2021-10-25 10:53:21 +07:00
policies When a user is blocked from commenting on an article, show correct error message (#15009) 2021-10-14 07:42:08 -06:00
queries Adds validations to avoid creating unnecessary PNs (#14621) 2021-08-31 15:00:30 -06:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Remove redundant freeze calls (#14596) 2021-08-26 10:01:08 -04:00
serializers Remove duplicated work display from header / profile work (#14210) 2021-07-30 12:28:40 +02:00
services Jeremyf/refactor order of operations (#15192) 2021-10-26 10:18:52 -04:00
uploaders ✂✂✂ Remove events (#15062) 2021-10-15 09:31:08 -04:00
validators Remove redundant freeze calls (#14596) 2021-08-26 10:01:08 -04:00
view_objects Upgrade to Ruby 3.0.2 (#12103) 2021-08-25 14:26:33 -04:00
views Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
workers Add Article post_commit when user_id changes with specs (#15132) 2021-10-25 10:53:21 +07:00