docbrown/cypress
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
..
e2e Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
fixtures added ability to assign moderator role via admin/super admin (#17759) 2022-05-26 10:57:08 -04:00
plugins Implement code coverage for Cypress (#19250) 2023-03-29 15:37:50 -04:00
support Migrate initializeDrawerSliders and initializeHeroBannerClose to Webpack (#19324) 2023-04-17 10:55:02 +01:00
util ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
.eslintrc.js Bump eslint from 7.32.0 to 8.6.0 (#15926) 2022-01-05 13:47:40 -05:00
jsconfig.json Enabled Intellisense for the Cypress API (#14970) 2021-10-06 16:36:11 -04:00