Arthur Sepiol
5874cf80f5
Add authentication, Redis pub/sub, and error handling to SSE
...
Improvements:
- Add Redis pub/sub support for multi-server deployments
- Add authentication check to SSE stream endpoint
- Add 30s heartbeat keepalive for long-lived connections
- Implement exponential backoff reconnection logic in client
- Fix TypeScript types (websiteId optional, timer types)
- Use specific query key invalidation instead of broad match
- Fix undefined access in session-events listener map
2025-12-10 16:06:18 +03:00
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
d7fd22645c
Fixed nav menus.
2025-11-28 00:33:53 -08:00
Mike Cao
fa8d8055df
Reformatted files with biome.
2025-11-22 22:42:42 -08:00
Francis Cao
6751bf88bb
fix chart and timezone issues, pass consistent dates to DB.
...
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
Closes #3700
2025-11-13 15:52:24 -08:00
Francis Cao
bf498d9239
add RealtimeData to types
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-11-11 13:45:41 -08:00
Francis Cao
30781430c5
remove timezone from realtime. Closes #3700
2025-11-11 13:13:25 -08:00
Francis Cao
839bf3898f
add canonicalizeTimezone conversions
...
Co-authored-by: Om Mishra <contact@om-mishra.com>
2025-11-10 17:27:45 -08:00
Francis Cao
6eefb4173c
add improved truncation between tablets and phones
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-27 13:54:15 -07:00
Francis Cao
1d3e980eed
revert saveLocale change
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-22 16:40:14 -07:00
Francis Cao
d87ae84a29
fix reports permissions, long team overflow, language settings
2025-10-22 16:09:31 -07:00
Francis Cao
533a42eb2e
clean-up session api endpoints and queries
2025-10-21 19:54:50 -07:00
Francis Cao
b7747b33e4
clean-up hooks for passing uneccessary date params
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-21 16:52:04 -07:00
Mike Cao
40492ec7c4
Added DialogButton to handle mobile.
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-16 23:59:18 -07:00
Mike Cao
036748cdeb
Merge remote-tracking branch 'origin/dev' into dev
...
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
# Conflicts:
# src/app/(main)/websites/[websiteId]/ExpandedViewModal.tsx
# src/app/(main)/websites/[websiteId]/WebsiteExpandedView.tsx
2025-10-16 02:43:43 -07:00
Mike Cao
4d2a7ea947
Responsive everything.
2025-10-16 02:42:13 -07:00
Francis Cao
f23d5694ec
clean up events/event-data endpoints
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-15 16:44:14 -07:00
Francis Cao
a2b1089e62
clean-up event/event-data endpoints. fix for expanded view for mobile
2025-10-15 11:32:19 -07:00
Francis Cao
ba45972bd3
fix filter passthrough into event-data endpoints
2025-10-14 11:22:21 -07:00
Francis Cao
d440a44d96
clean-up useWebsite query params
2025-10-07 09:07:34 -07:00
Mike Cao
caf04015bb
Fixed default date range handling. Added header to share page.
2025-10-05 16:02:23 -07:00
Mike Cao
c5994e5eb6
Save name after website select. Fixed types.
2025-10-05 15:34:37 -07:00
Mike Cao
3496952769
Fixed empty website select. Converted session profile to popover.
2025-10-05 14:11:25 -07:00
Mike Cao
92ee44756c
Refactored useDateRange to always use query string. Fixed all time filter.
2025-10-03 17:55:39 -07:00
Mike Cao
b36cd48b4a
Separated query string date handling. Fixed all time date.
2025-10-03 01:19:35 -07:00
Mike Cao
83a014e884
Use FormattedMessage. Updated icons. Fixed bugs.
2025-09-23 23:08:40 -07:00
Mike Cao
9897c725de
Updated cloud mode checks.
2025-09-22 13:09:07 -07:00
Mike Cao
ffc8f6faae
Fixed config fetch.
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-18 15:38:55 -07:00
Mike Cao
2a559aa661
Replaced server action with api route.
2025-09-18 11:32:21 -07:00
Mike Cao
0ae5c28da7
Export preference components. Updates for cloud.
2025-09-17 22:03:58 -07:00
Mike Cao
460200dfef
useApi should return an actual Error.
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-14 23:57:15 -07:00
Mike Cao
fc01ee9f56
Get localized error messages.
2025-09-14 23:43:22 -07:00
Mike Cao
c916e4ff9c
Fixed components build. Renamed validations to permissions.
2025-09-02 09:23:35 -07:00
Mike Cao
56af91950a
Updated components build.
2025-09-01 15:59:06 -07:00
Mike Cao
8d5e8b072d
Updated WebsiteSelect behavior. Fixed date select.
2025-08-27 16:59:44 -07:00
Mike Cao
8c8e36c63b
Cohorts editing.
2025-08-26 23:55:57 -07:00
Mike Cao
0f9669f886
Converted mutation queries.
2025-08-24 15:20:19 -07:00
Mike Cao
3f167e05ba
New compare page.
2025-08-23 22:21:25 -07:00
Mike Cao
c8fe93dd9d
Refactored tables.
2025-08-23 01:12:37 -07:00
Mike Cao
600a3d28c3
Use context hooks.
2025-08-21 03:15:47 -07:00
Mike Cao
3a332b5947
Merge remote-tracking branch 'origin/dev' into dev
2025-08-21 01:33:43 -07:00
Mike Cao
8e766e2db7
Pixel/link metrics pages.
2025-08-21 01:33:20 -07:00
Francis Cao
65024d4bf7
fix search for segments, fix hooks endpoint for cohorts
2025-08-19 16:20:21 -07:00
Mike Cao
d130242a0a
Pixel editing.
2025-08-15 13:04:13 -07:00
Mike Cao
7838204186
Fixed imports.
2025-08-15 11:31:53 -07:00
Mike Cao
5f4b83b09c
Link editing.
2025-08-15 11:11:24 -07:00
Mike Cao
247e14646b
Pixel/links development. New validations folder. More refactoring.
2025-08-14 23:48:11 -07:00
Mike Cao
88639dfe83
New schema for pixels and links.
2025-08-13 20:27:54 -07:00
Mike Cao
4e25c07160
Implemented expanded view in dialog.
2025-08-07 22:10:02 -07:00
Mike Cao
2e67e27b2f
Merge remote-tracking branch 'origin/dev' into dev
...
# Conflicts:
# src/app/(main)/App.tsx
2025-08-07 05:16:07 -07:00