Enhance dashboard UX with loading skeletons and empty states#242
Enhance dashboard UX with loading skeletons and empty states#242yChandrakala23 wants to merge 2 commits into
Conversation
✅ Deploy Preview for github-spy ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughTracker component's loading state UI transitions from a centered spinner to a scrollable table skeleton. Material UI imports swap ChangesLoading skeleton UI implementation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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. Comment |
There was a problem hiding this comment.
🎉 Thank you @yChandrakala23 for your contribution. Please make sure your PR follows https://github.com/GitMetricsLab/github_tracker/blob/main/CONTRIBUTING.md#-pull-request-guidelines
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/pages/Tracker/Tracker.tsx`:
- Around line 320-335: The "No Data Found" empty-state is being rendered even
when authError or dataError exist; update the conditional that renders the
Paper/ Typography "No Data Found" block so it only renders when there is no
error (i.e., guard with !authError && !dataError). Locate the JSX that renders
the Paper with "No Data Found" in Tracker (Tracker.tsx) and wrap or replace its
render condition to check the error flags before showing the empty state; keep
existing content/styles but ensure authError or dataError short-circuit this
branch.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 9d9f95f4-34f1-4964-817b-f779aad4b412
📒 Files selected for processing (1)
src/pages/Tracker/Tracker.tsx
Related Issue
Description
This PR enhances the dashboard user experience by replacing the basic loading spinner (CircularSpinner) with responsive skeleton loaders and improving empty-state handling for better visual feedback.
Changes Made:
How Has This Been Tested?
Screenshots (if applicable)
Before:

After changes:

Type of Change
Enhancement
UI/UX Improvement
Bug fix
New feature
Code style update
Breaking change
Documentation update
Summary by CodeRabbit