Commit Graph

6 Commits

Author SHA1 Message Date
c828ab1a48 perf: optimize DB queries, SSE polling, and client rendering
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m45s
- Fix resolveCollaborator N+1: replace full User table scan with findFirst
- Fix getAllUsersWithStats N+1: use groupBy instead of per-user count queries
- Cache getTeamMemberIdsForAdminTeams and isAdminOfUser with React.cache
- Increase SSE poll interval from 1s to 2s across all 5 subscribe routes
- Add cleanupOldEvents method to session-share-events for event table TTL
- Add React.memo to all card components (Swot, Motivator, Weather, WeeklyCheckIn, YearReview)
- Fix WeatherCard useEffect+setState lint error with idiomatic prop sync pattern
- Add optimizePackageImports for DnD libs and poweredByHeader:false in next.config
- Add inline theme script in layout.tsx to prevent dark mode FOUC
- Remove unused Next.js template SVGs from public/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 14:04:58 +01:00
Julien Froidefond
520a1f4838 feat: implement auto-sharing functionality for session creation across motivators, weekly check-ins, and year reviews, enhancing collaboration capabilities 2026-02-17 15:11:46 +01:00
Julien Froidefond
71d850c985 chore: clean up code formatting and remove unnecessary whitespace across multiple files for improved readability 2025-12-05 11:05:14 +01:00
Julien Froidefond
639bb159fe feat: enhance session event handling by including userId for client-side filtering and updating SessionLiveWrapper with currentUserId 2025-11-27 14:38:05 +01:00
Julien Froidefond
10ff15392f feat: enhance session management with sharing capabilities, real-time event synchronization, and UI updates for session display 2025-11-27 13:34:03 +01:00
Julien Froidefond
27e409fb76 chore: update devbook.md to mark completion of layout, UI components, and homepage; update dev.db 2025-11-27 13:11:11 +01:00