docbrown/app/controllers/concerns
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
..
api Add organizations to onboarding follow suggestions (#19564) 2023-06-09 10:32:03 +02:00
.keep Initial commit 2018-02-28 16:11:08 -05:00
caching_headers.rb Adjusting ArticlePolicy for admin only posting (#16614) 2022-02-21 10:09:13 -05:00
development_dependency_checks.rb [15-Minute Fix] Refactor code smells (#13347) 2021-04-21 14:52:32 -05:00
edge_cache_safety_check.rb Remove docs from repo ✂✂✂ (#14579) 2021-08-23 17:23:42 -04:00
image_uploads.rb app/controllers & decorators i18n (#16126) 2022-02-03 13:35:56 -05:00
json_api_sort_param.rb 15 minute fix: Add default argument to JsonApiSortParam (#13369) 2021-04-14 10:32:07 +07:00
listings_toolkit.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
session_current_user.rb [15-Minute Fix] Refactor code smells (#13347) 2021-04-21 14:52:32 -05:00
valid_request.rb Add forgot_password_throttle (#19175) 2023-02-27 09:25:29 -05:00