Skip to content

[Frontend] — ENHANCEMENT: Add skeleton loaders on Profile and Wallet pages #876

@Olowodarey

Description

@Olowodarey

When Profile and Wallet pages load data from the API (after Issues 21 and 22 are resolved), there will be an async fetch period. Currently there are no loading skeletons — the page will just be blank or flash with empty state.

Fix Required

Add Tailwind-based skeleton loaders for:

  • Profile header (avatar circle, name line, address line)
  • Stats row (5 rectangular blocks)
  • Prediction table rows
  • Wallet balance cards
  • Transaction table rows

A reusable <Skeleton /> component already exists at component/ui/. Use it consistently.

Files to change:

  • frontend/src/app/(authenticated)/profile/page.tsx
  • frontend/src/app/(authenticated)/wallet/page.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions