docbrown/app
Jeremy Friesen 8a4e1ebeba
Adding more goals to feed experiments (#17673)
This commit adds three new feed experiment goals:

* user publishes four posts within a week
* user reacts with a "heart", "unicorn", or "reading list" to an article
* user reacts with a "heart", "unicorn", or "reading list" to an article
  four times in a week

In addition it adds it to the existing experiment.  Adding it to the
existing experiment is acceptable because:

1. We can ignore the results
2. The experiments are structured such that these new goals could be met
   with prior data.
3. Both variants are playing by the same rules, so the results relative
   to each other are valid.

**There is a nuanced assumption in how we handle reactions:**

This implementation does not count by unique article reactions. However,
most folks will ❤️ , 🦄 , and 🔖 in one swoop; thus
those 3 reactions are all grouped into happening on one day.

Further, it's a reflection of the person taking an action after reading
a post, not how much action on that particular post.

**Rollback considerations:**

This also includes a feature flag that we can explicitly disable if we
overload the application with workers handling reaction goals.  Using
`FeatureFlag.accessible?(:field_test_event_for_reactions)` returns
`true` unless we explicitly disable this flag.

Closes forem/forem#17669
2022-05-13 13:22:06 -04:00
..
assets Make Follow Buttons in User, Org and Tag Embeds "secondary" (#17602) 2022-05-10 16:37:39 -04:00
controllers Revert "Bump ddtrace from 0.54.2 to 1.0.0 (#17560)" (#17643) 2022-05-12 09:28:50 -04:00
decorators Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
errors Favoring re-use of authorization error (#16992) 2022-03-24 08:16:28 -04:00
forms Using a Form Object that will persist for the Creator Settings Form (#15684) 2021-12-10 17:07:40 +02:00
helpers Fix styling on Follow Button in User Info Panel (post view) (#17642) 2022-05-12 08:03:41 -04:00
javascript Moving from user.trusted tests to policy tests (#17619) 2022-05-11 08:18:13 -04:00
lib restore i18n lib.constants.settings.campaign.url (#17637) 2022-05-11 16:02:52 +01:00
liquid_tags Sharpen RegEx that matches Forem-specific links (#17500) 2022-04-29 11:34:32 -04:00
mailers "Reply to" and "From" Email addresses for SMTP Configurations (#16499) 2022-02-16 16:14:54 +02:00
models Adding more goals to feed experiments (#17673) 2022-05-13 13:22:06 -04:00
policies Moving from user.trusted tests to policy tests (#17619) 2022-05-11 08:18:13 -04:00
queries Remove Community Wellness badge feature flag (#17623) 2022-05-11 12:08:40 -06:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Don't sanitize anchor elements with no href (#16667) 2022-02-22 11:27:38 -06:00
serializers Remove unused methods from User (#16616) 2022-02-18 09:02:17 +07:00
services Revert "Bump ddtrace from 0.54.2 to 1.0.0 (#17560)" (#17643) 2022-05-12 09:28:50 -04:00
uploaders small non-views ruby i18n (#16004) 2022-01-11 10:05:18 +07:00
validators Remove the "Getting Started" Section from the Config (#16033) 2022-01-20 07:31:35 -07:00
view_objects Patching ERB rendering of the data-info JSON (#16067) 2022-01-14 08:30:49 -05:00
views complete implementation; specs pending (#17630) 2022-05-12 13:52:48 -04:00
workers feat: add an inflection and change instances of gdpr to GDPR (#17567) 2022-05-04 16:20:46 +02:00