Skip to content
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

Reorganize first_round logic #973

Open
BeritJanssen opened this issue Apr 30, 2024 · 0 comments
Open

Reorganize first_round logic #973

BeritJanssen opened this issue Apr 30, 2024 · 0 comments

Comments

@BeritJanssen
Copy link
Collaborator

Right now, the rules' first_round method will trigger the frontend to:

  • to show a Playlist view
  • show a Consent view
  • show an Explainer

At the time of writing, the Explainer must be the last element in the first_round array, and the array cannot be empty.

After #928, the method will only trigger the frontend to:

  • show a Playlist view
  • show an Explainer

(Consent will be coupled to an Experiment, not to a Rule anymore.)
The first_round (or, perhaps "setup"?) method and its corresponding frontend logic should then be able to do the following:

  • show different combinations of one or more Explainers and an optional Playlist view (order should not matter)
  • show nothing at all, proceed immediately to next_round
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant