Skip to content

feat: implement 4 onboarding screens from Figma designs#3

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1753223483-implement-figma-designs
Open

feat: implement 4 onboarding screens from Figma designs#3
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1753223483-implement-figma-designs

Conversation

@devin-ai-integration
Copy link
Copy Markdown

feat: implement 4 onboarding screens from Figma designs

Summary

This PR implements a complete onboarding flow with 4 new screens based on the provided Figma designs:

  • Splash screen: SmartBank logo with auto-navigation to onboarding
  • Onboarding screen 1: Account overview with balance, actions, and transaction history
  • Onboarding screen 2: Spending chart and savings goals showcase
  • Onboarding screen 3: Multi-currency account support (GBP/USD)

Key changes:

  • Created 3 reusable components: PageIndicator, OnboardingLayout, FeatureShowcase
  • Added 4 new screen files in src/app/(unauthenticated)/
  • Updated welcome screen navigation to flow into new onboarding sequence
  • Implemented consistent styling with NativeWind/Tailwind CSS
  • Added mock data for account balances, transactions, and savings goals

Review & Testing Checklist for Human

  • Test complete navigation flow: Start from /welcome → click "Get Started" → verify splash screen → auto-navigation to onboarding-1 → manual navigation through onboarding-2 → onboarding-3
  • Verify visual design accuracy: Compare implemented screens with original Figma designs, especially colors (primary-500, primary-600), spacing, typography, and component layouts
  • Test automatic navigation timing: Splash screen should automatically navigate to onboarding-1 after 2 seconds (this failed during my testing)
  • Cross-platform compatibility: Test on both web and mobile to ensure React Native components render correctly without CSS errors
  • Data structure validation: Review mock data in FeatureShowcase.tsx to ensure it aligns with actual app data models and business logic

Recommended test plan: Start fresh browser session, navigate to /welcome, click "Get Started", and follow the complete onboarding flow while checking visual fidelity against Figma designs.


Diagram

%%{ init : { "theme" : "default" }}%%
graph TD
    Welcome["src/app/(unauthenticated)/<br/>welcome.tsx"]:::minor-edit
    Splash["src/app/(unauthenticated)/<br/>splash.tsx"]:::major-edit
    Onboarding1["src/app/(unauthenticated)/<br/>onboarding-1.tsx"]:::major-edit
    Onboarding2["src/app/(unauthenticated)/<br/>onboarding-2.tsx"]:::major-edit
    Onboarding3["src/app/(unauthenticated)/<br/>onboarding-3.tsx"]:::major-edit
    
    OnboardingLayout["src/components/<br/>OnboardingLayout.tsx"]:::major-edit
    PageIndicator["src/components/<br/>PageIndicator.tsx"]:::major-edit
    FeatureShowcase["src/components/<br/>FeatureShowcase.tsx"]:::major-edit
    
    Welcome -->|"Get Started button"| Splash
    Splash -->|"Auto-navigation (2s)"| Onboarding1
    Onboarding1 -->|"Next button"| Onboarding2
    Onboarding2 -->|"Next button"| Onboarding3
    
    Onboarding1 --> OnboardingLayout
    Onboarding2 --> OnboardingLayout
    Onboarding3 --> OnboardingLayout
    
    OnboardingLayout --> PageIndicator
    OnboardingLayout --> FeatureShowcase
    
    subgraph Legend
        L1[Major Edit]:::major-edit
        L2[Minor Edit]:::minor-edit
        L3[Context/No Edit]:::context
    end

classDef major-edit fill:#90EE90
classDef minor-edit fill:#87CEEB
classDef context fill:#FFFFFF
Loading

Notes

  • Navigation issue: During testing, the automatic navigation from splash screen didn't work as expected - the screen remained on splash after 2+ seconds instead of auto-advancing to onboarding-1
  • CSS compatibility: Existing React Native web compatibility issues caused error overlays that prevented testing the complete flow from the welcome screen
  • Mock data: All account balances, transaction history, and savings data are hardcoded placeholders that should be reviewed for business logic alignment
  • Design fidelity: Implemented based on static Figma images - human review should verify exact color codes, spacing, and typography match the source designs

Session info: Requested by Arthur Poon (@akkp-windsurf)
Link to Devin run: https://app.devin.ai/sessions/09456c4b14b44dbbbc11e8273f8923fe

Onboarding Screen 1
Onboarding Screen 2
Onboarding Screen 3
Splash Screen

- Add splash screen with SmartBank logo and auto-navigation
- Add onboarding-1 screen with account overview and transactions
- Add onboarding-2 screen with spending chart and savings goals
- Add onboarding-3 screen with multi-currency account support
- Add PageIndicator component for onboarding flow navigation
- Add OnboardingLayout component for consistent screen structure
- Add FeatureShowcase component for displaying account/savings/multicurrency data
- Update welcome screen to navigate to splash screen instead of sign-up

Co-Authored-By: Arthur Poon <arthur.poon@windsurf.com>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

0 participants