Bug Description
Describe the bug
When a user has no public repositories on GitHub, visiting their DevTrack public profile at /u/[username] renders a blank or broken page instead of a graceful empty state.
Steps to reproduce
- Create or use a GitHub account with 0 public repos
- Sign into DevTrack
- Visit
/u/[your-username]
Expected behavior
A friendly empty state message like "No repositories to display yet." should appear.
Actual behavior
Page renders blank or throws a runtime error.
Suggested fix
Add null/empty-array guards in the public profile data fetch and render a fallback UI component.
Environment
- Next.js App Router
src/lib/public-profile-data.ts
Steps to Reproduce
- Go to '...'
- Click on '...'
- See error
Affected Area
Dashboard
Screenshots
No response
Browser & OS
No response
Environment
None
Additional Context
No response
Bug Description
Describe the bug
When a user has no public repositories on GitHub, visiting their DevTrack public profile at
/u/[username]renders a blank or broken page instead of a graceful empty state.Steps to reproduce
/u/[your-username]Expected behavior
A friendly empty state message like "No repositories to display yet." should appear.
Actual behavior
Page renders blank or throws a runtime error.
Suggested fix
Add null/empty-array guards in the public profile data fetch and render a fallback UI component.
Environment
src/lib/public-profile-data.tsSteps to Reproduce
Affected Area
Dashboard
Screenshots
No response
Browser & OS
No response
Environment
None
Additional Context
No response