docbrown/spec
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
..
controllers/concerns 15 minute fix: Add default argument to JsonApiSortParam (#13369) 2021-04-14 10:32:07 +07:00
decorators Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
factories feat: add an inflection and change instances of gdpr to GDPR (#17567) 2022-05-04 16:20:46 +02:00
fixtures Ensuring that embed fallback renders URL (#17680) 2022-05-17 07:43:17 -04:00
forms Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
generator Add service generator (#11265) 2020-11-10 09:09:35 +07:00
helpers create helper for roles and add FF for moderator role (#17737) 2022-05-24 10:46:30 -04:00
initializers A suspended user returns 403 instead of 500 (#16408) 2022-02-04 09:42:23 -05:00
lib Use Sidekiq::Job module alias for Sidekiq::Worker (#17526) 2022-05-02 11:12:58 -05: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 Ensuring only privileged users may give certain reactions (#17632) 2022-05-10 16:13:23 -04:00
queries Searchable GDPR Delete Requests Table (#17633) 2022-05-31 16:22:25 -06:00
refinements Update data exporter to handle admin send (#10274) 2020-10-26 18:00:56 -04:00
requests make feed image consistent with cover image (#17512) 2022-05-19 13:40:00 -04:00
routing Remove profile admin feature flag (#17194) 2022-04-11 09:27:35 -05:00
sanitizers Don't sanitize anchor elements with no href (#16667) 2022-02-22 11:27:38 -06:00
serializers Refactoring to add helper method (#16064) 2022-01-12 11:21:44 -05:00
services Add tooltip to cover image button describing optimal image ratio (#17779) 2022-06-02 17:44:34 -04:00
support added ability to assign moderator role via admin/super admin (#17759) 2022-05-26 10:57:08 -04:00
system Reusable user admin modals (#17763) 2022-06-02 09:52:26 -06:00
tasks Make home link an admin-customisable navigation link (#16268) 2022-02-01 09:27:09 +00:00
uploaders Remove Remaining logo_svg Code (#16291) 2022-02-22 12:05:16 -07:00
validators Don't raise error when empty community emoji setting submitted (#15723) 2021-12-17 09:29:55 -06:00
view_objects Avoid using robohash for factory generated article cover images (#17024) 2022-03-28 14:01:29 -05:00
views Adding logic to hide Create Post on empty dashboard (#17149) 2022-04-11 13:52:35 -04:00
workers feat: add an inflection and change instances of gdpr to GDPR (#17567) 2022-05-04 16:20:46 +02:00
i18n_spec.rb Show missing translation keys when test fails (#16637) 2022-02-17 16:21:29 -06:00
rails_helper.rb Adding a field test option for post publishing goals (#17589) 2022-05-06 13:54:50 -04:00
spec_helper.rb Bump to Rails 7.0.2.2 MVP (#15908) 2022-03-30 15:00:33 -04:00