-
Notifications
You must be signed in to change notification settings - Fork 27
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
chore: Remove onboarding code as all onboarding tutorials have been deprecated #2526
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📦 Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action 🤖 This PR introduced no changes to the javascript bundle 🙌 |
const sectionOptionsWithLandingPage = Object.values(SectionOption).filter( | ||
(option: SectionOption) => option !== SectionOption.onboarding | ||
) | ||
const sectionOptions = sectionOptionsWithLandingPage.map( | ||
(slug: SectionOption) => `${slug}` | ||
) | ||
|
||
return [...activeSlugs, ...sectionOptions] |
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.
You can see in src/lib/learn-client/types.ts
that onboarding
is no longer part of the SectionOption
enum
fb0955c
to
40c6ccc
Compare
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.
Looks good. 👍🏻
🗒️ What
🧪 Testing
onboarding
tutorials have been deprecated here