Skip to content

feat(dashboard): implement granular Suspense boundaries for immediate…#5949

Merged
JhaSourav07 merged 2 commits into
JhaSourav07:mainfrom
realtushartyagi:feat/issue-5868-dashboard-suspense
Jun 18, 2026
Merged

feat(dashboard): implement granular Suspense boundaries for immediate…#5949
JhaSourav07 merged 2 commits into
JhaSourav07:mainfrom
realtushartyagi:feat/issue-5868-dashboard-suspense

Conversation

@realtushartyagi

Copy link
Copy Markdown
Contributor

Description

Wrap the heavy server-component data fetchers with a React <Suspense> boundary so that the application shell renders instantly and specific dashboard widgets show skeleton loaders until their respective promises resolve.

Fixes #5868

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs)

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally (localhost:3000/api/streak?user=YOUR_USERNAME).
  • I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
  • My commits follow the Conventional Commits format (e.g., feat(themes): ..., fix(calculate): ...).
  • I have updated README.md if I added a new theme or URL parameter.
  • I have started the repo.
  • I have made sure that i have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
  • (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.

Copilot AI review requested due to automatic review settings June 18, 2026 01:50
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@realtushartyagi is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added the status:blocked This PR is blocked due to a failing CI check. label Jun 18, 2026
@github-actions github-actions Bot removed the status:blocked This PR is blocked due to a failing CI check. label Jun 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

✨ No significant bundle size changes detected.

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 3628.51 KB 3628.47 KB +0.04 KB (+0.00%)
Total CSS 284.92 KB 284.92 KB 0 B

@Aamod007 Aamod007 added level:intermediate Moderate complexity tasks quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:performance Code changes that improve performance/speed mentor:Aamod007 labels Jun 18, 2026

@Aamod007 Aamod007 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Difficulty: intermediate – Splits page.tsx into DashboardContent async component with Suspense wrapper, updates 5 test cases to unwrap Suspense tree structure.

Quality: clean – Proper React 18 pattern, maintains functionality.

Type: performance – Enables granular streaming for faster initial page load.

Great perf improvement!

@JhaSourav07 JhaSourav07 added the gssoc:approved PR has been reviewed and accepted for valid contribution points label Jun 18, 2026
@JhaSourav07 JhaSourav07 merged commit b3853a2 into JhaSourav07:main Jun 18, 2026
9 of 10 checks passed
@github-actions github-actions Bot added this to the GSSoC 2026 milestone Jun 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Congratulations @realtushartyagi! Your PR has been successfully merged. 🚀

Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.

⚠️ Important for GSSoC Contributors:
You are strictly advised to join our Discord Server as it is mandatory for all GSSoC participants. All important announcements, point claims, and community discussions happen there.

Keep building! 💻✨

@github-actions github-actions Bot added type:feature New features, additions, or enhancements and removed type:performance Code changes that improve performance/speed labels Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved PR has been reviewed and accepted for valid contribution points level:intermediate Moderate complexity tasks mentor:Aamod007 quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:feature New features, additions, or enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(dashboard): implement granular <Suspense> boundaries for immediate UI rendering

4 participants