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

feat: onboarding feature flags snippets #17638

Merged
merged 19 commits into from
Oct 1, 2023

Conversation

raquelmsmith
Copy link
Member

@raquelmsmith raquelmsmith commented Sep 27, 2023

Problem

We will very shortly have a dedicated onboarding flow for feature flags. We need to make sure anyone who wants to use feature flags has basically all the information they need to get up and running inside the app. The goal is to have every SDK/framework we support listed in the app.

Changes

I've set up a lot of the snippets already, thanks to the pre-existing feature flag snippets that are used on the feature flag create screen. I extended that component a bit so I could use it here.

Additionally, we offer a ton of docs, tutorials, etc on using other frameworks like gatsby, svelte, vue, etc that are not currently included here. I could use help getting those added here, maybe by @ivanagas? Or someone on the feature success team.

Update: I updated this PR to also use the shared snippets in the product analytics folder. Because those should be good to go, and the feature flag snippets are all based on the existing snippets in the app, all I basically need this team to review is what snippets are available in the feature_flags folder, and if others should be added, please do so 😄

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

🙈

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

5 snapshot changes in total. 0 added, 5 modified, 0 deleted:

  • chromium: 0 added, 5 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@raquelmsmith
Copy link
Member Author

raquelmsmith commented Sep 27, 2023

Snapshot changes are definitely not desired.. will look into that

Update: ✅

@raquelmsmith
Copy link
Member Author

Here's the flow:

image

image

image

image

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

5 snapshot changes in total. 0 added, 5 modified, 0 deleted:

  • chromium: 0 added, 5 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@github-actions github-actions bot temporarily deployed to pr-feat/onboarding-feature-flags-snippets September 30, 2023 17:39 Destroyed
@github-actions github-actions bot temporarily deployed to pr-feat/onboarding-feature-flags-snippets September 30, 2023 17:48 Destroyed
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

4 snapshot changes in total. 0 added, 4 modified, 0 deleted:

  • chromium: 0 added, 4 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@github-actions github-actions bot temporarily deployed to pr-feat/onboarding-feature-flags-snippets September 30, 2023 22:51 Destroyed
@github-actions github-actions bot temporarily deployed to pr-feat/onboarding-feature-flags-snippets September 30, 2023 23:03 Destroyed
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@github-actions github-actions bot temporarily deployed to pr-feat/onboarding-feature-flags-snippets October 1, 2023 16:50 Destroyed
@github-actions github-actions bot temporarily deployed to pr-feat/onboarding-feature-flags-snippets October 1, 2023 17:04 Destroyed
@raquelmsmith raquelmsmith enabled auto-merge (squash) October 1, 2023 21:39
@raquelmsmith raquelmsmith merged commit a5e2ec2 into master Oct 1, 2023
@raquelmsmith raquelmsmith deleted the feat/onboarding-feature-flags-snippets branch October 1, 2023 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants