docbrown/app/helpers
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
..
admin Fix nested sidebar active item highlight (#18973) 2023-02-21 16:18:42 -05:00
admin_helper.rb Refactoring AdminMenu and Menu towards classes (#16847) 2022-03-21 13:31:20 -04:00
application_helper.rb Remove Community Emoji from Admin Config 🌱 (#16902) 2022-08-30 17:16:58 +02:00
articles_helper.rb Ensure spam doesn't hit logged-out /latest (#19110) 2023-02-17 09:29:59 +01:00
authentication_helper.rb Remove Creator Onboarding Feature Flags from Codebase (#15982) 2022-01-31 11:30:43 -07:00
broadcasts_helper.rb Add ahoy + welcome notification tracking (#8758) [deploy] 2020-06-18 13:40:14 -07:00
comments_helper.rb Try hiding low-quality comments (#18513) 2022-10-11 14:15:40 +02:00
crayons_helper.rb Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
date_helper.rb Add I18n date format example (#14973) 2021-10-08 15:08:56 -04:00
display_ad_helper.rb Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
feedback_messages_helper.rb app/helpers i18n (#16003) 2022-01-13 11:46:32 -05:00
listing_helper.rb Replace listings tag component (#16855) 2022-03-30 16:51:40 +01:00
notifications_helper.rb Cleanup multiple reactions feature flag (#19257) 2023-04-07 17:14:10 +02:00
organization_helper.rb app/helpers i18n (#16003) 2022-01-13 11:46:32 -05:00
profile_helper.rb [Small Wins] Show character limits for profile inputs (#15255) 2021-11-05 09:11:42 -04:00
rate_limit_checker_helper.rb Removing Listing rate limiting when feature disabled (#17181) 2022-04-08 11:59:23 -04:00
settings_helper.rb "Reply to" and "From" Email addresses for SMTP Configurations (#16499) 2022-02-16 16:14:54 +02:00
social_image_helper.rb Remove generated social images, except for articles#show (#18118) 2022-07-18 12:29:21 +02:00
social_link_helper.rb app/helpers i18n (#16003) 2022-01-13 11:46:32 -05:00
users_helper.rb Fix bullet issue with includes commentable (#19145) 2023-03-20 16:08:03 +01:00