docbrown/app
Jeremy Friesen 8fb98b9f30
Exposing past feed experiments in /admin/abtests (#17818)
Prior to this commit, as a matter of undocumented practice, we would
overwrite past experiments with upcoming experiments.

With this commit, we're leveraging a feature of the field_test gem:
declaring a winner.  Instead of overwriting an experiment with the next
experiment, we're going to declare the expiring experiment's winner then
prepend to the ./config/field_test.yml the new experiment.

The [field_test/app/views/field_test/experiments/index.html.erb][1] then
uses logic to first render "active" experiments and "completed"
experiments.  A "completed" experiment is one in which we've declared a
winner.

Closes forem/forem#17816

[1]:https://github.com/ankane/field_test/blob/master/app/views/field_test/experiments/index.html.erb
2022-06-02 20:41:31 -04:00
..
assets Banner template (#17808) 2022-06-02 13:14:21 -04:00
controllers Searchable GDPR Delete Requests Table (#17633) 2022-05-31 16:22:25 -06: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 create helper for roles and add FF for moderator role (#17737) 2022-05-24 10:46:30 -04:00
javascript Add tooltip to cover image button describing optimal image ratio (#17779) 2022-06-02 17:44:34 -04:00
lib restore i18n lib.constants.settings.campaign.url (#17637) 2022-05-11 16:02:52 +01:00
liquid_tags Ensuring that embed fallback renders URL (#17680) 2022-05-17 07:43:17 -04:00
mailers "Reply to" and "From" Email addresses for SMTP Configurations (#16499) 2022-02-16 16:14:54 +02:00
models Exposing past feed experiments in /admin/abtests (#17818) 2022-06-02 20:41:31 -04:00
policies Moving from user.trusted tests to policy tests (#17619) 2022-05-11 08:18:13 -04:00
queries Searchable GDPR Delete Requests Table (#17633) 2022-05-31 16:22:25 -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 Add tooltip to cover image button describing optimal image ratio (#17779) 2022-06-02 17:44:34 -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 Reusable user admin modals (#17763) 2022-06-02 09:52:26 -06:00
workers feat: add an inflection and change instances of gdpr to GDPR (#17567) 2022-05-04 16:20:46 +02:00