Skip to content

Completed. #32

Merged
EmeditWeb merged 3 commits into
StepFi-app:mainfrom
Iwayemi-Kehinde:main
Jun 19, 2026
Merged

Completed. #32
EmeditWeb merged 3 commits into
StepFi-app:mainfrom
Iwayemi-Kehinde:main

Conversation

@Iwayemi-Kehinde

@Iwayemi-Kehinde Iwayemi-Kehinde commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Implemented a multi-step onboarding wizard for learners to collect critical data for credit scoring and vendor matching.

Closes #11

Key Changes:

  • State Management: Updated UserStore to track onboardingComplete status.
  • Service Layer: Added learnersService to handle profile updates via PATCH /api/v1/learners/profile.
  • Onboarding Hook: Created useOnboarding hook to manage form state across 4 steps, including validation for required fields, chip limits (max 15 skills, min 1 goal), and URL formats.
  • UI Components:
    • Created 4 step subcomponents with StepFi's design system.
    • Implemented a sliding FlatList with paging for smooth transitions.
    • Added a progress bar and back/next navigation.
    • 'Skip for now' option on the final step.
  • Navigation Guard: Updated root layout to redirect authenticated but non-onboarded users to the onboarding screen.

Steps:

  1. Personal Info (Full Name, Country)
  2. Background (Income Range)
  3. Skills & Goals (Multi-select chips with limits)
  4. Online Presence (GitHub, LinkedIn URLs with validation)

All icons use lucide-react-native and colors follow the project's color tokens.

cto-new Bot added 2 commits June 18, 2026 01:21
- Added `onboardingComplete` flag to `LearnerProfile` and `UserState`.
- Implemented persistence and hydration for `userStore`.
- Updated `useAuthGuard` in `_layout.tsx` to handle redirection to onboarding for learners.
- Created `useOnboarding` custom hook for wizard state management.
- Created `OnboardingScreen` with a 4-step sliding FlatList and validation.
- Added necessary translations for the onboarding flow.
…arding-wizard

Implement 4-step learner onboarding wizard
@EmeditWeb

Copy link
Copy Markdown
Member

@Iwayemi-Kehinde what's the issue number, you didn't include it

@EmeditWeb EmeditWeb self-requested a review June 18, 2026 17:53
@EmeditWeb

Copy link
Copy Markdown
Member

@Iwayemi-Kehinde Push an empty commit to trigger CI:
git commit --allow-empty -m "chore: trigger CI"
git push origin your-branch-name

@EmeditWeb EmeditWeb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run a new commit

@EmeditWeb EmeditWeb merged commit ad32c4d into StepFi-app:main Jun 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: learner onboarding profile form after wallet connection

2 participants