Skip to content

feat(#352): add skeleton loaders for employee table#569

Merged
Wilfred007 merged 1 commit intoGildado:mainfrom
playground-ogazboiz:feature/352-skeleton-loaders
Mar 30, 2026
Merged

feat(#352): add skeleton loaders for employee table#569
Wilfred007 merged 1 commit intoGildado:mainfrom
playground-ogazboiz:feature/352-skeleton-loaders

Conversation

@ogazboiz
Copy link
Copy Markdown
Contributor

Summary

  • Adds an isLoading prop to EmployeeList
  • When isLoading=true, renders 5 animated EmployeeSkeletonRow components (Tailwind animate-pulse) that mirror the six-column layout instead of real data
  • Zero external dependencies — uses Tailwind's built-in pulse animation

Test plan

  • EmployeeList with isLoading=true shows 5 skeleton rows with animate-pulse, no employee data rendered
  • EmployeeList with isLoading=false and empty list shows "No employees found"
  • EmployeeList with isLoading=false and employees renders real data

Closes #352

Replace blank table body with animated pulse skeleton rows while data
is loading. Add `isLoading` prop to `EmployeeList` and a separate
`EmployeeSkeletonRow` component that mirrors the column layout of the
real rows using Tailwind's `animate-pulse`.

Adds two new tests:
- skeleton rows are rendered (not employee data) when isLoading=true
- empty-state message appears when not loading and list is empty
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 30, 2026

@ogazboiz Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Wilfred007 Wilfred007 merged commit 5ecd361 into Gildado:main Mar 30, 2026
1 check failed
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.

#102: Implement Skeleton Loaders for Employee Table

2 participants