60 Commits

Author SHA1 Message Date
Francis Cao 5bd92ce950 implement sepearte replay/heatmap enabled routes and collection 2026-05-19 15:46:01 -07:00
Francis Cao 6de5adaefc POC for playwright based screenshots for heatmaps 2026-05-19 11:32:15 -07:00
Francis Cao 1f3f805a30 WIP heatmap full-page coordinate and replay rendering work 2026-05-19 09:05:11 -07:00
Francis Cao cd20b3aafd Heatmaps bug fixes, update schema to match overlay, use react-zen component to match ui/ux, polish 2026-05-14 14:23:41 -07:00
Francis Cao 67f7ecf2a6 combine heatmap prisma migration 2026-05-07 15:47:42 -07:00
Mike Cao 1b69ce6e90 Add scroll heatmaps. 2026-05-05 10:43:39 -07:00
Mike Cao a6b13b71db Add click heatmaps report
Extracts click events from rrweb session-replay buffers at write time
into a new heatmap_event table (Prisma + ClickHouse). New /heatmaps
report shows a page picker plus an overlay of click density on the
dominant viewport, with an optional iframe of the live page behind.
2026-04-27 22:20:38 -07:00
Francis Cao d116cf2b1f fix boards migration drift 2026-04-14 09:27:07 -07:00
Francis Cao 534af98809 remove slug from board schema 2026-03-12 10:27:58 -07:00
Francis Cao 1bffb3cbf3 saved session replay implementation checkpoint 2026-03-09 13:51:08 -07:00
Francis Cao 2524a95d2f fix migrations 2026-03-04 15:42:33 -08:00
Mike Cao b389c417de Merge branch 'dev' of https://github.com/umami-software/umami into dev
# Conflicts:
#	src/app/(main)/websites/[websiteId]/replays/ReplayModal.tsx
#	src/app/(main)/websites/[websiteId]/replays/ReplaysTable.tsx
#	src/app/(main)/websites/[websiteId]/replays/[sessionId]/ReplayPlayback.tsx
#	src/queries/sql/replays/saveReplayChunk.ts
#	src/recorder/index.js
2026-03-04 12:36:23 -08:00
Mike Cao 8c1ee0b3ce Progress check-in. Updated tracker and recorder scripts. 2026-03-04 12:21:36 -08:00
Francis Cao 0e1d6cef6b refactor session replays to be per visit. sessions persist too long resulting in low-quality recordings 2026-03-03 22:59:25 -08:00
Francis Cao 5fbecfa5a6 fix migration numbering. udpate CH schema file 2026-02-26 10:26:58 -08:00
Mike Cao e73d827d21 Merge branch 'session-recording' into dev 2026-02-25 02:32:07 -08:00
Mike Cao d349c3aea9 Merge branch 'dev' into session-recording 2026-02-16 09:20:39 -08:00
Mike Cao ce9e2416fb Add Web Vitals performance tracking (LCP, INP, CLS, FCP, TTFB)
End-to-end performance metrics tracking: dedicated database table with
percentile aggregation, tracker collection behind data-perf attribute,
/api/send handling, report API endpoints, and Performance dashboard page
with threshold-based metric cards, time-series chart, and per-page breakdown.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 19:25:20 -08:00
Mike Cao 0a3cf7a9ff Rename session recording to session replay across the codebase.
Renames all files, components, database schema, API routes, hooks,
messages, and build config from "recording" to "replay" terminology.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 00:38:47 -08:00
Mike Cao 72b5c658e2 Add rrweb-based session recording feature.
Implements full session recording with rrweb for DOM capture and rrweb-player
for playback. Includes: Prisma schema for SessionRecording model, chunked
gzip-compressed storage, recorder script built via Rollup, collection API
endpoint, recordings list/playback UI pages, website recording settings,
and cascade delete support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 15:49:59 -08:00
Francis Cao 9b814aa1ca revert prisma schema to latest, add global css for scroll-bar, fix css 2026-02-06 15:06:10 -08:00
Mike Cao c3e0290e65 Merge branch 'dev' into boards
# Conflicts:
#	.gitignore
#	package.json
#	pnpm-lock.yaml
#	prisma/migrations/16_boards/migration.sql
#	prisma/schema.prisma
#	src/app/(main)/MobileNav.tsx
#	src/app/(main)/websites/[websiteId]/WebsiteHeader.tsx
#	src/app/(main)/websites/[websiteId]/settings/WebsiteShareForm.tsx
#	src/components/common/SideMenu.tsx
#	src/lib/types.ts
2026-02-05 20:05:25 -08:00
Francis Cao d70152be38 fix share data migration to '{"overview":true}' 2026-01-22 19:52:55 -08:00
Francis Cao 63d2bfe118 add name column to share table 2026-01-22 10:41:55 -08:00
Francis Cao e5f794c329 add boards + duplicate key migration 2026-01-21 09:42:24 -08:00
Mike Cao e08907d998 Board setup. 2026-01-16 19:52:16 -08:00
Mike Cao e3e2ed0435 Merge branch 'dev' into boards
# Conflicts:
#	prisma/schema.prisma
#	src/permissions/index.ts
2026-01-16 16:25:21 -08:00
Francis Cao 29f2c7b7d4 share api, queries, permissions, migration, entity lib 2026-01-15 16:25:56 -08:00
Francis Cao 889a404650 share table schema + migration 2026-01-14 15:33:06 -08:00
Mike Cao d227bc369f Progress check-in. 2025-12-05 16:49:08 -08:00
Mike Cao 7edddf15a7 Boards schema. 2025-11-28 00:37:51 -08:00
Francis Cao 3cc2c5b7a8 downgrade prisma until 3.1 release 2025-11-26 11:09:21 -08:00
Francis Cao 099c8bf1b4 Revert "remove relationMode from schema file"
This reverts commit bc737268b6.
2025-11-22 22:24:52 -08:00
Mike Cao d51f0641a6 Merge branch 'dev' of https://github.com/umami-software/umami into dev
# 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 bc737268b6 remove relationMode from schema file 2025-11-21 13:43:54 -08:00
Mike Cao 366c52d703 Merge remote-tracking branch 'origin/dev' into dev 2025-09-10 17:16:15 -07:00
Mike Cao 67105f2cff Updated packages. 2025-09-10 17:16:04 -07:00
Francis Cao f3125c2add clean up funnel migration and report errors 2025-09-10 16:38:51 -07:00
Francis Cao 1825524e95 convert report type before data migratino 2025-09-10 09:29:49 -07:00
Francis Cao 964651bad3 add data migration to convert funnel and goals reports to new structure 2025-09-10 09:21:27 -07:00
Francis Cao 32febf0fbb add unique index to slug columns 2025-08-18 09:58:26 -07:00
Mike Cao 3c5c1e48e9 Refactored settings. Updated sidebar. 2025-08-15 22:16:28 -07:00
Mike Cao eabdd18604 Updated Prisma build. 2025-08-15 12:29:33 -07:00
Mike Cao 88639dfe83 New schema for pixels and links. 2025-08-13 20:27:54 -07:00
Mike Cao 3122bab419 Refactor migrations. 2022-06-19 00:07:01 -07:00
Anbraten 9ea175eb3f Run migrations on start 2022-06-12 08:38:58 +02:00
Mike Cao afe68f6e21 Update prisma seed files. 2022-03-31 19:25:04 -07:00
Mike Cao b2d04c00ac Change to synchronous password hashing. 2021-05-23 17:29:27 -07:00
Beorn Facchini 3925258bc7 Prisma Migrate with database seeding fixes #559 2021-03-20 23:01:10 +11:00