Skip to content

Add skeleton shimmer loading to card screens#47

Open
Sudhanshu96 wants to merge 1 commit into
mainfrom
feature/shimmer_loading_effect
Open

Add skeleton shimmer loading to card screens#47
Sudhanshu96 wants to merge 1 commit into
mainfrom
feature/shimmer_loading_effect

Conversation

@Sudhanshu96

@Sudhanshu96 Sudhanshu96 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Replaces the spinner-based loading states on the auth-method card screens with a reusable, theme-aware skeleton shimmer system. Placeholders mirror the loaded layout, so there's no layout shift when data arrives, and the loading state reads more clearly than a centered spinner.

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

📋 Changes

Added the following files:

  • Shimmer.swift - animation engine + .shimmering() modifier; Theme(light/dark) mode agnostic
  • SkeletonShape.swift - placeholder primitive (.text/.rounded/.circle/.capsule) + .skeleton(_:) redaction modifier.
  • **SkeletonCards.swift** - SkeletonList, SkeletonCard, and AuthMethodCardSkeleton / SavedAuthenticatorCardSkeleton.

Note: No View model changes required since it wires up with the existing viewModel.showLoader

📹 Screen Recording

Light Mode

shimmer_light.mp4

Dark Mode

shimmer_dark.mp4

@Sudhanshu96 Sudhanshu96 requested a review from a team as a code owner June 29, 2026 07:45
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.

1 participant