Commit graph

341 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
64767b1896 Updated next. Fixed link RSC fetch. 2025-12-03 15:11:40 -08:00
Mike Cao
41d2a24f9d Merge branch 'master' into dev
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
# Conflicts:
#	src/components/common/PageHeader.tsx
#	src/components/metrics/ActiveUsers.tsx
2025-12-03 00:17:44 -08:00
Prince EKPINSE
beb2bc0a06 feat: improve mobile navigation with clickable page elements (#3770) 2025-11-29 13:53:32 +01:00
Prince EKPINSE
776e404c6f fix: [#3778] update 'Edit' word to support translation 2025-11-29 12:40:22 +01:00
Mike Cao
fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao
d51f0641a6 Merge branch 'dev' of https://github.com/umami-software/umami into dev
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
# Conflicts:
#	prisma/schema.prisma
2025-11-22 16:40:42 -08:00
Mike Cao
b9d52af215 Updated prisma. 2025-11-21 21:35:11 -08:00
Francis Cao
ffa97d34e2 Fix Revenue country sums error
Closes #3769
2025-11-21 14:34:12 -08:00
Mike Cao
cb63e49a9b Fixed triggered event lookup. Closes #3742. 2025-11-14 15:42:23 -08:00
Francis Cao
6751bf88bb fix chart and timezone issues, pass consistent dates to DB.
Some checks failed
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
Mike Cao
8a66603d32 Responsive fixes. 2025-11-12 16:39:58 -08:00
Francis Cao
64a6379c3c fix realtime logs for mobile
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-10 01:07:11 -08:00
Francis Cao
f3e246c64b fix hasdata queries, add hasData to website events, fix sessionactivity truncation, 2025-11-09 23:58:20 -08:00
Francis Cao
a6d4519a98 set maxHeight for DialogButton. remove from individual buttons
Some checks failed
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-11-04 09:34:37 -08:00
Francis Cao
f073fb1996 Add DialogTrigger to overflow menus
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-29 12:38:52 -07:00
Francis Cao
ef55b63a3b Fix admin layout and data refresh after update/delete 2025-10-29 11:04:54 -07:00
Francis Cao
f5bf148b2b add close button on session modal
Some checks are pending
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 21:59:20 -07:00
Mike Cao
ddc7affa6a More mobile fixes.
Some checks failed
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-18 02:20:11 -07:00
Mike Cao
9a5604f236 Fixes for mobile.
Some checks are pending
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-18 01:12:45 -07:00
Mike Cao
bcafa12349 Small fixes.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-17 16:54:33 -07:00
Mike Cao
40492ec7c4 Added DialogButton to handle mobile.
Some checks are pending
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
4d2a7ea947 Responsive everything. 2025-10-16 02:42:13 -07:00
Mike Cao
10bc2895eb New mobile menu. 2025-10-14 21:57:31 -07:00
Mike Cao
d9b08d9491 Card mode for tables. 2025-10-14 13:04:14 -07:00
Mike Cao
14981717b9 Responsive updates. 2025-10-10 17:28:53 -07:00
Mike Cao
ac9edb8b5f Updated realtime page.
Some checks are pending
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-09 18:08:59 -07:00
Mike Cao
8aa4192576 Responsive updates. 2025-10-09 17:14:09 -07:00
Mike Cao
e4ce7c9071 Created ExpandedViewModal component. 2025-10-09 14:31:53 -07:00
Francis Cao
038f397503 change event labels to match other cards 2025-10-09 13:32:19 -07:00
Francis Cao
654156d239 add event header 2025-10-09 13:26:54 -07:00
Francis Cao
64b5a72963 add eventchart and metrictable to sharepage 2025-10-09 12:36:05 -07:00
Francis Cao
bac3ab2c1a add maxwidth on event/session activity
Some checks are pending
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-07 11:35:28 -07:00
Mike Cao
f733690d38 Added lookup for cloud account. Added SessionModal component. 2025-10-05 23:15:36 -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
3496952769 Fixed empty website select. Converted session profile to popover. 2025-10-05 14:11:25 -07:00
Mike Cao
03adb6b7e1 Added website check for cloud.
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Create docker images / Build, push, and deploy (push) Has been cancelled
2025-10-04 00:38:10 -07:00
Mike Cao
eabfec9075 Updated website edit. 2025-10-03 23:05:15 -07:00
Mike Cao
fdfa8b08f9 Added expanded view for pixels/links. Made filter form into a popover. 2025-10-03 20:25:06 -07:00
Mike Cao
904c313a64 Always cache prisma. Renamed WebsiteMonthSelect to MonthFilter. 2025-10-03 18:06:18 -07:00
Mike Cao
92ee44756c Refactored useDateRange to always use query string. Fixed all time filter. 2025-10-03 17:55:39 -07:00
Francis Cao
4d06b0ca5b fix compare screens
Some checks are pending
Create docker images / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-03 10:52:57 -07:00
Mike Cao
b36cd48b4a Separated query string date handling. Fixed all time date. 2025-10-03 01:19:35 -07:00
Francis Cao
89d3cd4f5a add timezone to revenue chartData. Fix min/max date for 7day value 2025-09-30 13:11:11 -07:00
Francis Cao
bf99068bd7 Remove tables result set from getRevenue. Fix min/max date for revenuechart 2025-09-30 12:03:15 -07:00
Francis Cao
81dea02379 fix transfer website dropdown and values 2025-09-30 09:38:37 -07:00
Mike Cao
1d7759408f Fixed build. 2025-09-29 15:13:01 -07:00
Mike Cao
257050f749 Updated edit forms and icons.
Some checks failed
Create docker images / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-09-26 01:46:36 -07:00
Francis Cao
5bbc1a94b3 Merge branch 'dev' of https://github.com/umami-software/umami into dev
Some checks are pending
Create docker images / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-09-25 11:31:26 -07:00
Francis Cao
c28c022366 update FilterEditForm for pixels/links, update attribution action dropdown 2025-09-25 11:31:16 -07:00