Commit graph

15 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
d9b08d9491 Card mode for tables. 2025-10-14 13:04:14 -07:00
Mike Cao
ce1f6c3618 New admin section. 2025-07-08 18:40:47 -07:00
Mike Cao
cdf391d5c2 Refactor part 2: Electric Boogaloo. Standardize way of passing filter parameters. 2025-07-04 01:23:11 -07:00
Mike Cao
ee6c68d27c Refactor filter handling for queries. 2025-07-02 01:44:12 -07:00
Mike Cao
c0ccffeab4 Merge branch 'dev' into jajaja
# Conflicts:
#	pnpm-lock.yaml
#	postcss.config.js
#	src/app/(main)/websites/[websiteId]/sessions/SessionsDataTable.tsx
#	src/app/(main)/websites/[websiteId]/sessions/[sessionId]/SessionInfo.tsx
2025-05-01 03:31:51 -07:00
Francis Cao
c5efc27c07 distinct_id schema changes and search on sessions page 2025-04-29 08:57:58 -07:00
Mike Cao
7886c3f393 Renamed query hooks. Fixed conversion bugs. 2025-03-22 03:48: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
9b88611a38 Fixed search field disappearing when results are empty. Closes #2879. 2024-08-22 03:10:48 -07:00
Mike Cao
f32bf0a2e0 Session details screen. 2024-07-29 19:09:13 -07:00
Mike Cao
db36c37d32 Updated session and events queries. Added sessions page. 2024-07-08 01:45:54 -07:00