Skip to content

Feature/skeleton loaders#1325

Open
Nareshkumawat-star wants to merge 4 commits into
SB2318:mainfrom
Nareshkumawat-star:feature/skeleton-loaders
Open

Feature/skeleton loaders#1325
Nareshkumawat-star wants to merge 4 commits into
SB2318:mainfrom
Nareshkumawat-star:feature/skeleton-loaders

Conversation

@Nareshkumawat-star

Copy link
Copy Markdown

PR Description

This PR replaces the generic activity spinners (<Loader />) with animated Skeleton loaders for content-fetching screens (GET operations) to significantly improve perceived performance and polish.

Key Changes:

  • Created a lightweight, dependency-free Skeleton component utilizing the native Animated API for a smooth shimmer effect.
  • Created ArticleCardSkeleton to mimic the structure of an ArticleCard.
  • Created ArticleDetailSkeleton to mimic the layout of ArticleScreen.
  • Integrated ArticleCardSkeleton into HomeScreen, ProfileScreen, and UserProfileScreen for loading states.
  • Integrated ArticleDetailSkeleton into ArticleScreen for article data fetching.
  • Intentionally retained the existing <Loader /> spinners for mutations (e.g., liking, requesting edits) per UX best practices.

Type of Change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update

Select your work-area

  • Frontend
  • Backend
  • Documentation
  • Others

Related Issue

N/A

Add your Work Example

(Optional: Add screenshots or screen recordings showing the animated skeletons during slow network simulated loads)

Fixes #1276

Checklist

  • I have updated my branch and synced it with the project's 'develop' branch before making this PR.
  • I have optimized the file changes.
  • I have added a snapshot of my work example.
  • I have made a PR to the project's develop branch.

Undertaking

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Thank you @, for creating the PR and contributing to our UltimateHealth project 💗.
Our team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

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]: Replace Generic Spinners with Skeleton Loaders

1 participant