docbrown/spec/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
..
acts_as_taggable_on
cypress_rails Create FindsBin spec (#18992) 2023-01-26 10:46:18 -05:00
data_update_scripts Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
honeycomb
liquid
reverse_markdown/converters
sidekiq Use Sidekiq::Job module alias for Sidekiq::Worker (#17526) 2022-05-02 11:12:58 -05:00
app_secrets_spec.rb Fixed most rubocop issues (#18048) 2022-07-07 14:36:08 -06:00
black_box_spec.rb Remove references to article.spaminess_rating (#17235) 2022-04-15 11:43:48 -04:00
html_css_to_image_spec.rb
rails_env_constraint_spec.rb
release_phase_notifier_spec.rb Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
string_attribute_cleaner_spec.rb
throttled_call_spec.rb
url_spec.rb Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00