docbrown/spec/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_spec.rb Add organizations to onboarding follow suggestions (#19564) 2023-06-09 10:32:03 +02:00
article_decorator_spec.rb Load post_comments billboard asynchronously (#19285) 2023-04-12 18:15:15 +02:00
comment_decorator_spec.rb Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556) 2020-07-29 11:31:01 +02:00
listing_decorator_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
mention_decorator_spec.rb Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
notification_decorator_spec.rb Cleanup multiple reactions feature flag (#19257) 2023-04-07 17:14:10 +02:00
organization_decorator_spec.rb Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556) 2020-07-29 11:31:01 +02:00
podcast_episode_decorator_spec.rb Try hiding low-quality comments (#18513) 2022-10-11 14:15:40 +02:00
user_decorator_spec.rb Remove “Shield” icon in nav for Trusted Users - except admins and tag-moderators (#18791) 2022-12-07 15:40:44 +05:30