Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove profile step from old onboarding (#3989)

authored by

Eric Bailey and committed by
GitHub
10919319 8e1541e0

+5 -18
+2
src/screens/Onboarding/StepFinished.tsx
··· 120 120 })(), 121 121 122 122 (async () => { 123 + if (!gate('reduced_onboarding_and_home_algo')) return 124 + 123 125 const {imageUri, imageMime} = profileStepResults 124 126 if (imageUri && imageMime) { 125 127 const blobPromise = uploadBlob(getAgent(), imageUri, imageMime)
+3 -18
src/screens/Onboarding/state.ts
··· 89 89 90 90 export const initialState: OnboardingState = { 91 91 hasPrev: false, 92 - totalSteps: 8, 92 + totalSteps: 7, 93 93 activeStep: 'interests', 94 94 activeStepIndex: 1, 95 95 ··· 178 178 next.activeStep = 'moderation' 179 179 next.activeStepIndex = 6 180 180 } else if (s.activeStep === 'moderation') { 181 - next.activeStep = 'profile' 181 + next.activeStep = 'finished' 182 182 next.activeStepIndex = 7 183 - } else if (s.activeStep === 'profile') { 184 - next.activeStep = 'finished' 185 - next.activeStepIndex = 8 186 183 } 187 184 break 188 185 } ··· 202 199 } else if (s.activeStep === 'moderation') { 203 200 next.activeStep = 'topicalFeeds' 204 201 next.activeStepIndex = 5 205 - } else if (s.activeStep === 'profile') { 202 + } else if (s.activeStep === 'finished') { 206 203 next.activeStep = 'moderation' 207 204 next.activeStepIndex = 6 208 - } else if (s.activeStep === 'finished') { 209 - next.activeStep = 'profile' 210 - next.activeStepIndex = 7 211 205 } 212 206 break 213 207 } ··· 242 236 } 243 237 break 244 238 } 245 - case 'setProfileStepResults': { 246 - next.profileStepResults = { 247 - image: a.image, 248 - imageUri: a.imageUri, 249 - imageMime: a.imageMime, 250 - } 251 - break 252 - } 253 239 } 254 240 255 241 const state = { ··· 267 253 suggestedAccountsStepResults: state.suggestedAccountsStepResults, 268 254 algoFeedsStepResults: state.algoFeedsStepResults, 269 255 topicalFeedsStepResults: state.topicalFeedsStepResults, 270 - profileStepResults: state.profileStepResults, 271 256 }) 272 257 273 258 if (s.activeStep !== state.activeStep) {