docbrown/app/javascript/utilities
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__ Try to catch unhandled exception (#19360) 2023-05-09 11:10:29 -04:00
ahoy Refactor: no need to pass through the ahoy event name dynamically. (#18498) 2022-09-28 19:21:38 +02:00
color Use the Preact ColorPicker in creator onboarding (#16731) 2022-03-03 08:22:10 +00:00
Constants [deploy] 🚀 Feature: Draw Command for connect with image annotations (#10136) 2020-10-07 16:06:22 +02:00
http Add a MultiSelect Autocomplete component to the Display Ads Page (#18560) 2022-10-26 16:24:31 +02:00
markdown make default alt text 'image description' (#15063) 2021-10-13 16:37:34 +01:00
search Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
animatedImageUtils.jsx Place gifs correctly regardless of center tag (#16404) 2022-02-03 15:44:44 +00:00
calculateTextAreaHeight.js Add mention autocomplete to posts (#13101) 2021-03-31 14:42:59 +01:00
checkUserLoggedIn.js Notifications Initializer Migration to Pack tag (#19124) 2023-04-14 17:50:07 -04:00
codeFullscreenModeSwitcher.js #12643 Add eslint rule for formatting redundant curly braces in jsx (#14592) 2021-08-26 11:15:06 -04:00
debounceAction.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
displayAdDropdown.jsx Added dropdown to display ads / billboards (#19106) 2023-02-27 22:57:01 +05:30
dragAndDrop.js Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
dragAndUpload.js Add markdown toolbar to V2 editor (#15347) 2021-11-29 07:50:17 +00:00
dropdownUtils.js Sort comments reopen (#18349) 2022-09-13 11:37:48 -06:00
getUserDataAndCsrfToken.js Try to catch unhandled exception (#19360) 2023-05-09 11:10:29 -04:00
gist.js Remove extra script tag from embedded gists to prevent them from mixing up (#14674) 2021-11-29 15:48:20 -05:00
i18n_support.js Add organizations to onboarding follow suggestions (#19564) 2023-06-09 10:32:03 +02:00
localDateTime.js CommentDate Migration to Pack tag (#19025) 2023-02-03 13:40:17 -06:00
locale.js Add organizations to onboarding follow suggestions (#19564) 2023-06-09 10:32:03 +02:00
moderation.js [15 min fix] Fixed an issue with the moderation button not appearing on some posts (#14184) 2021-07-13 10:31:00 +02:00
pasteImage.js Add paste image (#10212) 2021-02-04 10:58:56 -05:00
podcastPlayback.js Bump localstorage key for podcast player (#19057) 2023-02-03 12:03:39 -06:00
runtime.js Fix typo in runtime.js (#17783) 2022-05-31 14:30:04 -04:00
sendFollowUser.js Enable error tracking on sendFollowUser (#17328) 2022-04-18 22:13:31 -04:00
sendHapticMessage.js Notifications Initializer Migration to Pack tag (#19124) 2023-04-14 17:50:07 -04:00
showModal.jsx Allow ModRole & Admin to Suspend & Unsuspend User (#17946) 2022-06-27 12:45:35 -04:00
showUserAlertModal.js Notifications Initializer Migration to Pack tag (#19124) 2023-04-14 17:50:07 -04:00
textAreaUtils.js Fix the last line of editor is not visible (#19023) 2023-02-02 06:10:24 -06:00
videoPlayback.js Fix JS error when window.Forem.runtime is not available yet (#19007) 2023-02-03 05:57:49 -06:00
viewport.js Fix feed navigation shortcuts when first article is not 100% visible (#11874) 2021-04-13 22:35:50 -04:00
waitOnBaseData.js ForemMobile namespaced functions (#15212) 2021-11-23 15:25:29 -06:00