docbrown/app
Jeremy Friesen 234fd8b08d
Adjusting field_test index and show page (#17895)
This change introduces several things things:

1. Fixes the performance of the `/admin/abtests` page; instead of
   rendering all of the experiment results, just render the overview.
2. Adjust the show page for an experiment to show the summary of
   results.
3. Favor the existing "started_at" and "ended_at" attributes of
   FieldTest (see https://github.com/ankane/field_test#config)
4. Update the field test experiments to include the `started_at` and
   `ended_at` attributes.
5. Skip processing all non-active experiments in our conversion handler.

Why are there no tests?  This is a page that is Admin only and is only
visible for reporting purposes.  So, it's not quite worth writing tests
as you'd need lots of data.  So we'll assume the logic from the upstream
[field_test gem][1] is adequate.

Closes forem/forem#17869

[1]:https://github.com/ankane/field_test
2022-06-13 12:22:36 -04:00
..
assets Feature/add embed icon to editor toolbar (#17781) 2022-06-10 17:33:23 +05:30
controllers Adjusting field_test index and show page (#17895) 2022-06-13 12:22:36 -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 create helper for roles and add FF for moderator role (#17737) 2022-05-24 10:46:30 -04:00
javascript Enable clickOutsideDeactivates on Onboarding FocusTrap (#17885) 2022-06-13 08:23:46 -06:00
lib Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04: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 Adjusting field_test index and show page (#17895) 2022-06-13 12:22:36 -04:00
policies Allow Moderator Role to Unpublish Single Post (#17795) 2022-06-03 12:48:20 -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 ✂✂✂ Removing Spam::ArticleHandler (#17860) 2022-06-08 16:34:29 -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 Adjusting field_test index and show page (#17895) 2022-06-13 12:22:36 -04:00
workers Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00