my-kaiqiuwang/src
kyuuseiryuu 94b82ba919 feat: refactor websocket notifications and service caching
Refactor the application to implement native browser push notifications and remove unnecessary Redis caching for performance optimization.

Key changes:
- Introduce a dedicated server topic 'SERVER_PUSH' to handle push notification messages via WebSocket.
- Implement a Service Worker (sw.ts) to capture push events and display system-level notifications, replacing the previous Ant Design toast usage for server messages.
- Add a "Notification Permission" button in the User Center to allow users to request push notification rights.
- Remove Redis caching logic from KaiqiuService (event lists, match details, and member details) to ensure real-time data accuracy, as the cache was causing latency in updates.
- Clean up WebSocket service subscription logic to focus on user-specific events.

This shift from UI-only notifications to system push notifications improves visibility for critical server events (like match updates) even when the user is not on the active tab. Additionally, removing the cache simplifies the codebase and ensures the latest match data is always fetched.
2026-03-23 19:13:39 +09:00
..
components feat: refactor websocket notifications and service caching 2026-03-23 19:13:39 +09:00
context refactor(ws): unify WebSocket topic handling and add event subscription 2026-03-22 13:00:50 +09:00
dao feat(api): add user location management endpoints and database model 2026-03-19 00:29:02 +09:00
hooks feat: refactor websocket notifications and service caching 2026-03-23 19:13:39 +09:00
page feat: refactor websocket notifications and service caching 2026-03-23 19:13:39 +09:00
prisma feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
services feat: refactor websocket notifications and service caching 2026-03-23 19:13:39 +09:00
store feat: search club 2026-03-13 20:15:57 +09:00
types feat(auth): add Kaiqiu account binding and update WebSocket architecture 2026-03-18 01:18:34 +09:00
utils feat: refactor websocket notifications and service caching 2026-03-23 19:13:39 +09:00
App.tsx feat(app): split game selector and implement club detail page 2026-03-13 10:27:05 +09:00
frontend.tsx feat: configure Logto scopes and externalize appId 2026-03-16 14:30:23 +09:00
global.d.ts init 2026-01-29 22:00:49 +09:00
index.css init 2026-01-29 22:00:49 +09:00
index.html feat: add apple-touch-icon for iOS device support 2026-03-16 10:02:45 +09:00
index.tsx feat: refactor websocket notifications and service caching 2026-03-23 19:13:39 +09:00
logo.jpg init 2026-01-29 22:00:49 +09:00
logo.svg init 2026-01-29 22:00:49 +09:00
routes.tsx refactor(ws): unify WebSocket topic handling and add event subscription 2026-03-22 13:00:50 +09:00
sw.ts feat: refactor websocket notifications and service caching 2026-03-23 19:13:39 +09:00