Commit graph

21 commits

Author SHA1 Message Date
Arthur Sepiol
ef9a382cdd Add real-time session updates via Server-Sent Events
Implements push-based real-time updates for the Sessions page. New sessions now appear instantly without manual reload or polling.

Changes:
- Add SSE event emitter for session creation notifications
- Create SSE stream endpoint at /api/websites/[id]/sessions/stream
- Emit session events in tracking endpoint when sessions are created
- Add useSessionStream hook to connect to SSE and invalidate queries
- Fix LoadingPanel to prevent flicker during background refetches
2025-12-10 16:02:44 +03:00
Mike Cao
fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao
4d2a7ea947 Responsive everything. 2025-10-16 02:42:13 -07:00
Mike Cao
3496952769 Fixed empty website select. Converted session profile to popover. 2025-10-05 14:11:25 -07:00
Mike Cao
fc01ee9f56 Get localized error messages. 2025-09-14 23:43:22 -07:00
Mike Cao
f40e1b44f3 Updates for cloud mode.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-04 20:27:42 -07:00
Mike Cao
5f27ba149b New overview layout.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-08-29 00:17:59 -07:00
Mike Cao
c8fe93dd9d Refactored tables. 2025-08-23 01:12:37 -07:00
Mike Cao
3c5c1e48e9 Refactored settings. Updated sidebar. 2025-08-15 22:16:28 -07:00
Mike Cao
a97445fb82 Fixed sidenav rendering. 2025-08-09 02:06:54 -07:00
Mike Cao
8897c2508d Fixed scrolling on expanded view. 2025-08-08 17:39:17 -07:00
Mike Cao
da8c7e99c5 Unified loading states. 2025-06-13 21:13:11 -07:00
Mike Cao
01bd21c5b4 Updated reports. 2025-06-08 22:21:28 -07:00
Mike Cao
49bcbfd7f9 New goals page. Upgraded prisma. 2025-05-31 02:11:18 -07:00
Mike Cao
b5c6194f36 Converted user and website settings. 2025-02-21 16:55:05 -08:00
Mike Cao
f83a12d6cd Refactor: removed default exports. 2025-02-13 22:53:25 -08:00
Mike Cao
8525188e42 Changed import path. 2025-02-05 15:59:59 -08:00
Mike Cao
53d8548909 Weekly session data. 2024-08-16 23:42:26 -07:00
Mike Cao
4c0d7d960d Fixed empty logic. 2024-08-09 15:02:48 -07:00
Mike Cao
c7d39a3e94 Fixed session properties. 2024-08-09 14:13:34 -07:00
Mike Cao
8ee37d1246 New event data screen. 2024-08-09 01:09:54 -07:00