Skip to content

feat(mobile): Update pools list with pending state support #79

Description

@rafamiziara

Overview

Update PoolsListScreen and PoolCard to display pending pools and handle real-time updates.

Tasks

PoolCard Component Updates

  • Create or update components/PoolCard.tsx
  • Support pending state display (badge, loading indicator)
  • Show pool parameters (name, loan amount, interest rate, duration)
  • Handle click navigation to pool details
  • Add "Syncing..." state for confirmed but unindexed pools

PoolsListScreen Updates

  • Update screens/PoolsListScreen.tsx
  • Integrate PoolManagementStore for pool data
  • Show pending pools at top of list with "Pending" badge
  • Add pull-to-refresh functionality
  • Handle empty states and error states
  • Show loading states during fetch

Acceptance Criteria

  • Pending pools visible at top of list
  • Clear visual distinction between pending and confirmed pools
  • Pull-to-refresh updates pool list
  • Proper handling of empty and error states
  • Smooth transitions between states

Related Documentation

  • See docs/POOL_CREATION_ARCHITECTURE.md Component Architecture
  • See docs/POOL_CREATION_TASKS.md Tasks 15-16

Labels: comp: frontend, type: feature

Milestone: Sprint 3: Pool Creation

Part of Epic: #35

Metadata

Metadata

Assignees

Labels

comp: frontendIssues for the mobile app UI/UX in packages/mobile-apptype: featureNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions