Skip to content

Perf/profile page optimization#547

Merged
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
MerlinTheWhiz:perf/profile-page-optimization
May 28, 2026
Merged

Perf/profile page optimization#547
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
MerlinTheWhiz:perf/profile-page-optimization

Conversation

@MerlinTheWhiz
Copy link
Copy Markdown
Contributor

Closes #525

Changes made:

  • Converted profile route to a server-rendered shell in src/app/profile/page.tsx:1
  • Moved tab interactivity into a small client component with lazy-loaded non-default panels in src/app/profile/components/ProfileTabs.tsx:10
  • Split profile/settings/achievements into focused components, with accessible labels, tabs, switches, and memoized panels at src/app/profile/components/ProfileInfoPanel.tsx:1 and src/app/profile/components/SettingsPanel.tsx:1.
  • Centralized static data in src/app/profile/profile-data.ts:1.
  • Added regression tests in src/app/profile/tests/ProfileTabs.test.tsx:1.
  • Added docs in docs/profile-performance.md:1.

Validation:

  • Passed: pnpm vitest run src/app/profile/tests/ProfileTabs.test.tsx
  • Blocked: pnpm run type-check fails on pre-existing syntax errors in src/components/assessment/AdaptiveTesting.tsx, src/components/assessment/QuestionTypes.tsx, and src/lib/api.ts.
  • Blocked: targeted ESLint fails because eslint-plugin-unused-imports is missing from the repo install/config.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@MerlinTheWhiz 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

@RUKAYAT-CODER RUKAYAT-CODER merged commit 6be39f8 into rinafcode:main May 28, 2026
3 of 6 checks passed
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.

bug Profile Page : Performance Optimization

2 participants