Skip to content

Add ability to initialize experiments #673

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

robin-phung
Copy link
Contributor

What problem does this solve?

When using the start_manually experiment configuration, an experiment cannot be started unless ab_test is called so that the experiment is initialized ~ added to the dashboard.

How does this solve it?

  • Adds an endpoint to the dashboard to initialize a given experiment.
  • Adds a dropdown to the dashboard populated with all the preconfigured experiments that have yet to be initialized.

Screen Shot 2022-02-10 at 4 12 28 PM

@@ -24,3 +26,16 @@
<p class="intro">No experiments have started yet, you need to define them in your code and introduce them to your users.</p>
<p class="intro">Check out the <a href='https://github.com/splitrb/split#readme'>Readme</a> for more help getting started.</p>
<% end %>

<div class="dashboard-controls dashboard-controls-bottom">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this can be hidden from the UI if @unintialized_experiments is empty?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will address this later, not an issue for merging this right now.

@andrehjr andrehjr merged commit e5077d3 into splitrb:main Mar 4, 2022
@andrehjr
Copy link
Member

andrehjr commented Mar 4, 2022

Thanks for the PR @robin-phung 🙌 🎉 sorry It took me so long to take a look.

@robin-phung
Copy link
Contributor Author

Thanks for the PR @robin-phung 🙌 🎉 sorry It took me so long to take a look.

Oops sorry didn't notice the reply! Thanks for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants