Skip to content

fix(ui): polish loading skeleton states - #26

Merged
prudentbird merged 1 commit into
devfrom
fix/loader-skeleton-polish
Apr 3, 2026
Merged

fix(ui): polish loading skeleton states#26
prudentbird merged 1 commit into
devfrom
fix/loader-skeleton-polish

Conversation

@prudentbird

@prudentbird prudentbird commented Apr 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • redesign the base skeleton primitive with a surfaced shimmer treatment
  • replace generic auth, root, sidebar, and chat loading screens with structured layouts
  • align loader padding and max-width constraints with the real app shells

Verification

  • pnpm lint
  • pnpm typecheck
  • pnpm build

Summary by cubic

Polished all loading skeletons with a new shimmer-based primitive and structured shells that mirror the real app. Improves visual consistency and perceived speed across auth, chat, and the sidebar, with reduced-motion support.

  • Refactors
    • Rebuilt Skeleton with shimmer layers, light/dark styles, and a reduced-motion fallback.
    • Added ChatLoadingShell and used it for /chat and /chat/[id] loading routes.
    • Updated chat sidebar loader with SidebarHeader, SidebarContent, SidebarFooter, and SidebarMenuSkeleton to match the real shell.
    • Refreshed auth and root loaders with proper max-width, padding, and background treatments.
    • Added skeleton-shimmer keyframes in globals.css.

Written for commit ded65ce. Summary will update on new commits.

@vercel

vercel Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fuseion Error Error Apr 3, 2026 11:03pm

@changeset-bot

changeset-bot Bot commented Apr 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ded65ce

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Apr 3, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@prudentbird has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 19 minutes and 40 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 19 minutes and 40 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5ae4e9c1-077b-403d-9081-c2de2c514524

📥 Commits

Reviewing files that changed from the base of the PR and between 59253d4 and ded65ce.

📒 Files selected for processing (8)
  • src/app/(auth)/auth/loading.tsx
  • src/app/(chat)/chat/[id]/loading.tsx
  • src/app/(chat)/chat/_components/chat-loading-shell.tsx
  • src/app/(chat)/chat/loading.tsx
  • src/app/(chat)/layout.tsx
  • src/app/globals.css
  • src/app/loading.tsx
  • src/components/ui/skeleton.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/loader-skeleton-polish

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@prudentbird
prudentbird merged commit 332a4a5 into dev Apr 3, 2026
4 of 5 checks passed
@prudentbird
prudentbird deleted the fix/loader-skeleton-polish branch April 3, 2026 23:05

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 8 files

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