humanmade / humanmade/aws-analytics

Refactor experiments.js file

Open
#293 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
19
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The file is growing a bit and there are opportunities to consolidate the code further and break it down for readability.

- [ ] Split the classes out into separate files
- [ ] Move the goal registration and handling functions to their own file and export
- [ ] Consolidate any duplicate code into helper functions or add them to upstream abstract class, e.g. could have an abstract `XB` class as well as the `Test` class, then the AB testing block could inherit from both `XB` and `Test`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.