Skip to content

feat(common): add skeleton loading state to FeaturedPlays#1713

Open
riteshrana12-dev wants to merge 1 commit intoreactplay:mainfrom
riteshrana12-dev:feat/add-featured-plays-skeleton
Open

feat(common): add skeleton loading state to FeaturedPlays#1713
riteshrana12-dev wants to merge 1 commit intoreactplay:mainfrom
riteshrana12-dev:feat/add-featured-plays-skeleton

Conversation

@riteshrana12-dev
Copy link
Copy Markdown

I have read the ReactPlay Contributor Guidelines and Discussion
I have reviewed the ReactPlay Code Review Checklist
I have tested my changes locally and verified there are no new warnings or errors

Description

The FeaturedPlays component was showing a plain "Loading..." text while
plays were being fetched. Replaced it with 4 skeleton loading cards that
match the exact shape of the PlayCard component including:

  • Image area (192px height) with shimmer animation
  • Language badge placeholder
  • Avatar row placeholder
  • Title and description placeholders
  • Footer with like and share placeholders

The skeleton uses a CSS shimmer animation to indicate loading state,
giving users a visual preview of the content structure before data loads.

Fixes #1712

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Tested locally by running npm start — skeleton cards are visible on
the home page while plays load. Verified with Chrome DevTools Network
throttling set to Slow 3G to clearly see the shimmer animation before
data loads in.
Linter passes clean with npm run lint:fix — 0 errors.

Checklist:

  • I have performed a self-review of my own code
  • My changes generate no new warnings

Screenshots

[Tested locally — shimmer skeleton cards visible on home page during load]

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 30, 2026

👷 Deploy request for reactplayio pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 9d1c764

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! contributor, thank you for opening a Pull Request 🎉.

@reactplay/maintainers will review your submission soon and give you helpful feedback. If you're interested in continuing your contributions to open source and want to be a part of a welcoming and fantastic community, we invite you to join our ReactPlay Discord Community.
Show your support by starring ⭐ this repository. Thank you and we appreciate your contribution to open source!
Stale Marking : After 30 days of inactivity this issue/PR will be marked as stale issue/PR and it will be closed and locked in 7 days if no further activity occurs.

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.

✨ [Feature]: Add skeleton loading state to FeaturedPlays component

1 participant