feat: Force user to go through onboarding steps for every registration #4014
+27
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
This should prevent the user from refreshing to skip the necessary steps.
The user can still remove the /onboarding path and they will still be able to skip it. Unsure if we want to prevent this or not. Should be possible, but would require more checks that go beyond the onboarding page. However, they will still be prompted to complete next time they login. This will also affect currently existing users, as they will not have the two new actions completed already. Not sure if we want this, or if we would like to run a script to check these tasks for already existing users.
Events
Did you introduce any new tracking events?
Experiment
Did you introduce any new experiments?
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
MI-700 #done
Preview domain
https://mi-700.preview.app.daily.dev