Skip to content

fix(client): replace inline skeleton divs with canonical Skeleton component - #952

Open
Nuel-ship-it wants to merge 2 commits into
crackedstudio:masterfrom
Nuel-ship-it:fix/767-extract-inline-skeleton
Open

fix(client): replace inline skeleton divs with canonical Skeleton component#952
Nuel-ship-it wants to merge 2 commits into
crackedstudio:masterfrom
Nuel-ship-it:fix/767-extract-inline-skeleton

Conversation

@Nuel-ship-it

Copy link
Copy Markdown
Contributor

Closes #767

Changes

Replaced all raw animate-pulse loading skeleton divs in pages with the canonical <Skeleton> component from components/ui/Skeleton.

File Change
RaffleDetails.tsx Replaced 6 animate-pulse/bg-gray-700 divs in loading block with <Skeleton>
MyRaffles.tsx Replaced 2 inline loading skeletons (history list + profile stats) with <Skeleton>
CreatorProfile.tsx Replaced raffle grid loading skeleton with <Skeleton>

Notes

  • RafflePage.tsx already imported ui/Skeleton — no change needed
  • Remaining animate-pulse in pages are intentional (live status dot, winner celebration border, StatCardSkeleton in Transparency.tsx)
  • No new TypeScript or lint errors introduced

Acceptance criteria

  • No file in client/src/pages/ defines a local Skeleton component
  • The canonical ui/Skeleton is used everywhere loading skeletons appear

…nical ui/Skeleton

- Update ui/Skeleton to use bg-gray-200 dark:bg-white/5 rounded-2xl
  to match the semantics previously defined inline in RafflePage
- Remove local Skeleton definition from RafflePage.tsx
- Import Skeleton from components/ui/Skeleton instead

No other pages or components had inline Skeleton definitions.
…ponent (crackedstudio#767)

- RaffleDetails.tsx: replace animate-pulse loading block with <Skeleton>
- MyRaffles.tsx: replace animate-pulse history/profile loading with <Skeleton>
- CreatorProfile.tsx: replace animate-pulse raffle grid loading with <Skeleton>

All three files now import from components/ui/Skeleton, ensuring consistent
animate-pulse bg-gray-200 dark:bg-white/5 rounded-2xl styling everywhere.
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

@Nuel-ship-it is attempting to deploy a commit to the otaiki1's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Otaiki1

Otaiki1 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

FIX CONFLICTS

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.

[client] Extract inline Skeleton component out of RafflePage

2 participants