Commit graph

232 commits

Author SHA1 Message Date
Francis Cao
d4ff7c8e3f tighten zod validation for segment parameters
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-22 12:53:44 -08:00
Francis Cao
8f55ed9da9 security advisory fixes opened by kolega-ai-dev 2026-01-22 09:24:08 -08:00
Mike Cao
f2c49845d0 Add filtered navigation to share pages
- Update share API to return websiteId and parameters
- Create ShareNav component that filters nav items based on parameters
- Update SharePage to include navigation sidebar and route to correct page
- Support all website pages: overview, events, sessions, realtime, compare,
  breakdown, goals, funnels, journeys, retention, utm, revenue, attribution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 18:12:33 -08:00
Mike Cao
0eb598c817 implement website share functionality using share table
- Add support for multiple share URLs per website with server-generated slugs
- Create shares API endpoint for listing and creating website shares
- Add SharesTable, ShareEditButton, ShareDeleteButton components
- Move share management to website settings, remove header share button
- Remove shareId from website update API (now uses separate share table)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 17:23:14 -08:00
Francis Cao
520c91c621 fix share api routes
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-16 16:29:08 -08:00
Francis Cao
29f2c7b7d4 share api, queries, permissions, migration, entity lib
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-15 16:25:56 -08:00
Francis Cao
b6013c3ee8 Revert "refactor 6 month retention. use auth instead of cache:website". Fix share page retention bug.
This reverts commit 741c6039e6.
2026-01-14 10:28:48 -08:00
Mike Cao
6d480d9c36
Merge pull request #3950 from AymanAlSuleihi/fix/compare-metrics
Some checks failed
Node.js CI / build (push) Has been cancelled
Fix metrics bar not updating on compare mode switch
2026-01-10 18:56:54 -08:00
AymanAlSuleihi
a049fbb5b0 Update compare parameter to use enum for valid values 2026-01-09 23:41:16 +00:00
AymanAlSuleihi
6420f2c813 Remove redundant compare param definition 2026-01-09 22:54:50 +00:00
AymanAlSuleihi
fbf03d6563 Fix metrics bar not updating on compare mode switch 2026-01-09 19:35:48 +00:00
Francis Cao
34677bca8f
Merge pull request #3925 from Yashh56/feat/version
Some checks failed
Node.js CI / build (push) Has been cancelled
feat : Add version settings to display application version
2025-12-30 13:51:09 -08:00
Yash
b0aa6fd6ef feat: Add current version to API response 2025-12-26 22:13:23 +05:30
Yash
5e3e6b3edd refactor: Simplify version display by removing API endpoint and using constant 2025-12-25 09:48:09 +05:30
Yash
612b00179b feat : Add version settings and API endpoint to display application version 2025-12-25 00:21:10 +05:30
Francis Cao
86d2672c47 fix shareId error
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-12-18 11:33:29 -08:00
Francis Cao
741c6039e6 refactor 6 month retention. use auth instead of cache:website 2025-12-18 10:35:52 -08:00
Mike Cao
23ff20a10b
Merge pull request #3809 from RaenonX/master
Allow `browser` / `os` / `device` override in `payload` & return `cache` from `/api/batch`
2025-12-03 00:01:30 -08:00
Mike Cao
170821e2f9 Populate teams on login.
Closes #3796
2025-12-02 13:45:49 -08:00
RaenonX
c86ea1a74f
Updated /api/batch to return cache 2025-12-01 04:06:17 +08:00
RaenonX
805bc57bbb
Added browser / os / device override in payload 2025-12-01 04:06:17 +08:00
RaenonX
92a7355ce3
Fixed /api/batch request recreation failure 2025-12-01 04:06:10 +08:00
Mike Cao
dcc1ae1864
Merge pull request #3787 from RaenonX/master
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Fixed `/api/batch` request recreation failure
2025-11-25 16:08:02 -08:00
RaenonX
2b34cbeb37
Fixed /api/batch request recreation failure 2025-11-24 08:07:31 +08:00
Mike Cao
fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Francis Cao
30781430c5 remove timezone from realtime. Closes #3700 2025-11-11 13:13:25 -08:00
Maxime-J
14f3db550b Use raw query with on conflict in createSession 2025-11-11 10:32:31 +01:00
Francis Cao
504c459090 update schema validation for link/pixel updates
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-30 16:13:36 -07:00
Mike Cao
dfe969cabe Fixed pixels/links collect.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-30 12:53:12 -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
f98e683979 add zod schema to realtime endpoint
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-21 17:20:35 -07:00
Francis Cao
b7747b33e4 clean-up hooks for passing uneccessary date params
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 16:52:04 -07:00
Francis Cao
06230ad2e9 clean up teams api messaging and permissions 2025-10-21 15:35:17 -07:00
Francis Cao
f23d5694ec clean up events/event-data endpoints
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-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
9fb38f6970 fix zod validations and prisma query for admin teams 2025-10-14 09:41:02 -07:00
Mike Cao
8a13e2c70a Fixed reports fetch. 2025-10-08 15:56:38 -07:00
Mike Cao
d0aa266dce Fixed resetAt lookup. Added teams GET. 2025-10-07 01:55:19 -07:00
Mike Cao
767b373484 Fixed issue with read replica initialization.
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-06 14:49:36 -07:00
Mike Cao
f733690d38 Added lookup for cloud account. Added SessionModal component. 2025-10-05 23:15:36 -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
Francis Cao
1809959b99 fix event type queries for pixels/links. remove hardcoded event types 2025-10-01 12:29:31 -07:00
Mike Cao
8a977b0164 Updated pixel/link endpoints. Added name to rawQuery. 2025-09-30 16:11:21 -07:00
Mike Cao
b9fbbc6453 Split queries into prisma and sql.
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-29 16:55:07 -07:00
Mike Cao
1d7759408f Fixed build. 2025-09-29 15:13:01 -07:00
Mike Cao
dfc6161a53 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	src/app/share/[...shareId]/Header.tsx
2025-09-25 11:23:36 -07:00
Mike Cao
1b400da7b2 Fixed share page. Updated device detect. Updated teams fetch. 2025-09-25 11:21:44 -07:00
Francis Cao
9d49eaebac fix cohort query for retention report, add filters to weekly traffic route 2025-09-24 10:06:34 -07:00