Files
gamegroup2/backend/pb_hooks/main.js
T
congsh 802712c662 feat: complete Phase 1 - game library, lifecycle, realtime sync
- Seed 33 popular games across 5 platforms via admin API script
- Add GameDetailDialog with game info and quick-team button
- Update GamesLibrary with game card click to open detail dialog
- Update Home hot games to open detail dialog instead of navigating
- Rewrite invitation accept: frontend auto-joins team + updates status
- Add user status reset on team dissolution (endGame)
- Add start game / dissolve buttons to TeamSessionPanel lifecycle
- Integrate realtime subscriptions in GroupView and Layout
- Add notification store realtime invitation listener
- Add placeholder images for game covers and avatars
- Remove Go hooks, add JS hooks placeholder + Docker mount

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-17 20:23:39 +08:00

6 lines
300 B
JavaScript

// JS hooks placeholder - PocketBase 0.22.4 muchobien image may not support JS VM
// Key logic handled in frontend instead:
// - Groups: frontend sets owner + members on create
// - Invitations: frontend auto-joins team session on accept
// - Team dissolution: frontend resets member statuses on end