docbrown/lib
Joshua Wehner dc1ab81401
Allow DisplayAd to target users via audience segmentation (#19284)
* Trying some models for audience segmentation

* AudienceSegment basics

* Attach AudienceSegment to DisplayAd

* Possibly use a DUS to populate AudienceSegments

* Add to display ad form UI

* Add to display ad API

* Refresh strategy for audience segments

* Add user_id to async ads query

* Maybe :testing -> :manual, for no-refresh segment

* Test & tweak segment refresh

* Testing audience_segment#refresh logic

* Coverage: testing human_readable

* Scope segment refresh to recently active users

* Tweak logic for when to refresh

* Tweak experience levels to match SettingsHelper

* Test for front-end logic

* Fix test, hope this helps coverage?

* Better test names

* One worker for all, many workers for each, perform_bulk

* Fix audience segment UI, needs to use id, not enum

* cron/schedule should RefreshAll

* Singular id in RefreshWorker
2023-04-25 08:41:10 -04:00
..
cypress-rails Monkey-patch instead of forking cypress-rails gem (#15797) 2021-12-16 11:36:45 -05:00
data_update_scripts Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
generators Spelling (#15702) 2021-12-07 06:59:10 -07:00
liquid Remove redundant freeze calls (#14596) 2021-08-26 10:01:08 -04:00
omni_auth/strategies Rebranding from passport to forem account (#16754) 2022-03-09 10:03:16 -06:00
sidekiq Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
slack/notifier/util Fix link_formatter.rb's lints (#13301) 2021-04-07 14:28:58 -04:00
tasks ✂️✂️✂️ Part 1: Remove Sponsorship (#18512) 2022-10-03 16:26:32 +02:00