Cleanup, Performance & Profile Polish
Canadian Elite Volleyball Academy — Development Update • April 14, 2026
--- title: Cleanup, Performance & Profile Polish ---
Cleanup, Performance & Profile Polish
What & Why
Several cleanup and improvement items identified from production usage:- An orphaned page file () exists but is imported nowhere
- The endpoint crashes in production with "column username does not exist" because it queries a table column that doesn't exist in Replit auth
- Athletes need stronger encouragement to upload profile photos — coaches rely on photos to identify athletes
- Need to verify dev/production parity and trim any unnecessary loading
Done looks like
- is deleted (confirmed unused)
- The endpoint no longer references the non-existent column; uses names instead
- The athlete community profile shows a more prominent photo upload prompt when no photo exists — visible to the athlete themselves and to coaches viewing the profile (e.g. "Photo helps coaches identify you")
- The athlete dashboard's existing photo prompt is enhanced to be more visible/encouraging
- No dev-only features are hidden from production (confirmed: the app uses standard NODE_ENV checks only for Vite/error stacks/cookies — no feature gating)
- Lazy-loaded pages use proper React.lazy/Suspense patterns for faster initial load
Out of scope
- Major refactors or restructuring of existing pages
- Removing pages that have valid routes (my-team, skill-evaluation, volleyball-resume, etc. all have routes)
- Adding new features
Relevant files
- - - - - -Canadian Elite Volleyball Academy
elitevolleyball.training
No comments:
Post a Comment