-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(onboarding): add product config screen #18720
Conversation
Size Change: +59 B (0%) Total Size: 1.83 MB ℹ️ View Unchanged
|
}, []) | ||
|
||
return configOptions ? ( | ||
<OnboardingStep title={`Set up your configuration`} stepKey={stepKey} continueAction={saveConfiguration}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a bit more clear to say "Configure ${product.name}"?
This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the |
inverseToggle: true, | ||
}, | ||
]} | ||
/> | ||
</OnboardingWrapper> | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep! Planning on picking this up again today 👍
@pauldambra this is what we've got now for session replay onboarding config: Note: When someone starts onboarding to session replay, the toggle to record sessions is automatically enabled, so it's not shown as an option here. Note 2: I don't love the design here but @corywatilo tells me he's going to redesign all this once 3000 is out so I'm fine with this for now 😛 LMK your thoughts + code review is helpful + we can merge next week. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Paul D'Ambra <[email protected]>
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
…b.com/PostHog/posthog into feat/onboarding-product-config-screen
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
* stub out config screen * saave the configuration * fix * add existing replay controls to config * dont show any toasts in onboarding * add minimum duration option * move dropdown * flag the control * Update frontend/src/scenes/onboarding/Onboarding.tsx Co-authored-by: Paul D'Ambra <[email protected]> --------- Co-authored-by: Paul D'Ambra <[email protected]>
Problem
Some products need to have a config - eg. product analytics + autocapture, and soon session replay + minimum duration or sampling controls. We need a screen in onboarding to set this.
Changes
Adds a new onboarding screen where these configs can live.
Note: I think I'm just going to go ahead and extend this for session replay now and put it behind a flag.
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
How did you test this code?
Having issues with running storybook locally so no tests for now...