docbrown/app/javascript/packs/admin
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
..
config Improve the UX of the SMTP Section (#16223) 2022-02-15 18:40:14 +02:00
users Remove Member Index View Feature Flags (#18191) 2022-07-27 08:57:07 +01:00
creatorOnboarding.jsx Use the Preact ColorPicker in creator onboarding (#16731) 2022-03-03 08:22:10 +00:00
displayAds.jsx Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
editUser.jsx Reusable user admin modals (#17763) 2022-06-02 09:52:26 -06:00
flashMessages.js Filter admin users by status (#16238) 2022-03-02 11:13:59 -05:00
overview.jsx Admin analytics (#16528) 2022-03-28 21:51:51 +02:00