docbrown/app/javascript/onboarding/components
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
..
__tests__ Add organizations to onboarding follow suggestions (#19564) 2023-06-09 10:32:03 +02:00
ProfileForm Fix: onboarding profile bio textarea length (#18611) 2022-11-01 17:25:38 -06:00
EmailPreferencesForm.jsx Refactoring onboarding (#19525) 2023-05-25 10:03:12 +02:00
FollowTags.jsx Refactoring onboarding (#19525) 2023-05-25 10:03:12 +02:00
FollowUsers.jsx Add organizations to onboarding follow suggestions (#19564) 2023-06-09 10:32:03 +02:00
IntroSlide.jsx Refactoring onboarding (#19525) 2023-05-25 10:03:12 +02:00
Navigation.jsx Fix most propTypes in Onboarding components (#18416) 2022-09-06 10:02:10 -06:00
ProfileForm.jsx Fix: onboarding profile bio textarea length (#18611) 2022-11-01 17:25:38 -06:00