docbrown/app/decorators
Joshua Wehner c2a131e43d
Add organizations to onboarding follow suggestions (#19564)
* Prepare: relocate user suggestions

* Prepare: relocate users suggestion service -> query

* Organization query for orgs with above-average scores

* Rubocop

* Limit to last 3 weeks

* Tweak recent scope, limit to 5 orgs

* Onboarding routes are also always JSON

* Divide by zero makes NaN means

* Add Orgs suggester into suggestions

* Rubocop

* select distinct orgs

* Fix for weird edge-case with bad local data

* Include type_identifier in JSON payload

* Update follows API to allow org_ids as input

* Update onboarding front-end to distinguish users/orgs

* Fix: i18n issues

* Fix: type_identifier in json output

* Fix: distinct is weird

* Fix: JS linter

* Continue tweaking front-end

* Audit import order

* Cleanup @todo note

* Try renaming controller action

* Move Article average calculation to postgres and fix math

* Refactor decorated type_identifier

* Refactor SuggestProminent, return more orgs, fix spec math

* Use FeatureFlag for organization suggestions

* This might fix the jest
2023-06-09 10:32:03 +02:00
..
application_decorator.rb Add organizations to onboarding follow suggestions (#19564) 2023-06-09 10:32:03 +02:00
article_decorator.rb Load post_comments billboard asynchronously (#19285) 2023-04-12 18:15:15 +02:00
campaign_decorator.rb [Small win] Add display name to campaign settings (#16653) 2022-02-22 10:01:52 -05:00
comment_decorator.rb app/controllers & decorators i18n (#16126) 2022-02-03 13:35:56 -05:00
listing_decorator.rb Move HexComparer to Hex::Comparer service (#12202) 2021-01-12 11:34:30 -05:00
mention_decorator.rb Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
notification_decorator.rb Cleanup multiple reactions feature flag (#19257) 2023-04-07 17:14:10 +02:00
organization_decorator.rb Move HexComparer to Hex::Comparer service (#12202) 2021-01-12 11:34:30 -05:00
podcast_episode_decorator.rb Try hiding low-quality comments (#18513) 2022-10-11 14:15:40 +02:00
profile_decorator.rb Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
user_decorator.rb Rename cache-key in UserDecorator (#19401) 2023-05-08 16:25:52 -04:00