Skip to content

feat(mobile): implement protocol flow timeline and map widget (#317) - #355

Merged
johdanike merged 1 commit into
SwiftChainn:mainfrom
iheanyiezumaukom-ai:feat/mobile-flow-map
Jul 28, 2026
Merged

feat(mobile): implement protocol flow timeline and map widget (#317)#355
johdanike merged 1 commit into
SwiftChainn:mainfrom
iheanyiezumaukom-ai:feat/mobile-flow-map

Conversation

@iheanyiezumaukom-ai

Copy link
Copy Markdown
Contributor

Closes #317

Summary

Implements the mobile protocol flow timeline and global map widget for the SwiftChain frontend.

Changes

  • New Component: components/mobile/MobileFlowMap.tsx

    • Vertical numbered timeline (01, 02, 03)
    • Dynamic connecting line that scales with content height
    • Map widget card with location pins
  • New Hook: hooks/useProtocolFlow.ts

    • Fetches protocol flow data from API
    • Manages loading and error states
  • New Service: services/protocolFlowService.ts

    • API call to fetch protocol flow data
  • New Types: types/protocolFlow.ts

    • Type definitions for ProtocolStep, MapLocation, ProtocolFlowData
  • API Route: app/api/protocol-flow/route.ts

    • Mock endpoint for testing
  • Test Page: app/mobile-flow/page.tsx

    • Route to preview the component

Architecture

  • ✅ Component -> Hook -> Service pattern
  • ✅ Data from backend API (no inline mocks)
  • ✅ Responsive for mobile

Screenshots

[Screenshots to be added once the app is running]

Checklist

…hainn#317)

- Add MobileFlowMap component with vertical step-by-step timeline
- Dynamic connecting line that scales with content height
- Map widget card with location pins
- Follows Component -> Hook -> Service pattern
- Data fetched from backend API (no inline mocks)
- Responsive and accessible

Closes SwiftChainn#317
@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@iheanyiezumaukom-ai Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@johdanike
johdanike merged commit ea79657 into SwiftChainn:main Jul 28, 2026
0 of 2 checks 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.

Frontend: Mobile Protocol Flow & Global Map

3 participants