Commit Graph
94 Commits
Author SHA1 Message Date
Mike Cao 4680c89e28 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-01-26 11:18:34 -08:00
Francis Cao e73432dd26 Add unit select and backend implementation. Fix compare for websitestats. Remove unused params from stats, metrics, weekly 2026-01-23 10:08:47 -08:00
Mike CaoandClaude Opus 4.5 af7f7adf5b Add name field to share feature and require at least one item selection.
- Add name field to ShareCreateForm and ShareEditForm
- Add name column to SharesTable
- Update API routes to handle name field
- Require at least one item to be selected before saving
- Display parameters in responsive 3-column grid in edit form

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 20:17:45 -08:00
Francis Cao f4eaa9fd0d update segmentParamSchema, add typing to getEntity 2026-01-22 16:32:06 -08:00
Francis Cao d4ff7c8e3f tighten zod validation for segment parameters 2026-01-22 12:53:44 -08:00
Mike CaoandClaude Opus 4.5 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 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
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 86d2672c47 fix shareId error 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 fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08: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 2025-10-21 16:52:04 -07:00
Francis Cao f23d5694ec clean up events/event-data endpoints 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
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. 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. 2025-09-29 16:55:07 -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
Mike Cao 980e4e6b41 Fixed funnel report saving invalid data. 2025-09-22 22:03:26 -07:00
Mike Cao 8150b86a9c Fixed websites lookup. 2025-09-17 08:37:41 -07:00
Francis Cao 8083482ba8 fix response error return type 2025-09-15 10:18:28 -07:00
Mike Cao 433ce98719 Allow getting team websites. 2025-09-12 08:21:29 -07:00
Mike Cao e610de383a Fix for schema selection in pg adapter. 2025-09-11 12:37:24 -07:00
Mike Cao 303947fe9b Fixed uuid references in schemas. 2025-09-08 15:28:01 -07:00
Mike Cao c916e4ff9c Fixed components build. Renamed validations to permissions. 2025-09-02 09:23:35 -07:00
Mike Cao f9442001e4 Updated cohort processing. 2025-08-27 14:05:46 -07:00
Mike Cao 8c8e36c63b Cohorts editing. 2025-08-26 23:55:57 -07:00
Mike Cao c8fe93dd9d Refactored tables. 2025-08-23 01:12:37 -07:00
Francis Cao 65024d4bf7 fix search for segments, fix hooks endpoint for cohorts 2025-08-19 16:20:21 -07:00
Mike Cao 0ac8bd41b6 Pixel route. 2025-08-18 15:49:10 -07:00
Mike Cao 5f4b83b09c Link editing. 2025-08-15 11:11:24 -07:00
Mike Cao 0558563d35 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2025-08-15 10:08:41 -07:00
Mike Cao 247e14646b Pixel/links development. New validations folder. More refactoring. 2025-08-14 23:48:11 -07:00
Francis Cao 69aa4ca035 cleanup cohort/filtering for some queries 2025-08-12 16:13:44 -07:00
Mike Cao 274d654833 Merge branch 'dev' of https://github.com/umami-software/umami into dev
# Conflicts:
#	src/components/metrics/ReferrersTable.tsx
2025-08-07 10:08:14 -07:00
Francis Cao 38f251ead5 finish expanded queries and ui. 2025-08-07 09:47:18 -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
Francis Cao 0a0c1f27c6 implement pageviews, events, and channels queries 2025-08-05 00:37:44 -07:00
Francis Cao c1cad16cb9 implement sessions metric expanded queries 2025-08-04 18:27:31 -07:00
Mike Cao 2dbcf63eeb Segment editing. 2025-07-31 21:32:22 -07:00
Mike Cao 554c627a58 Merge branch 'dev' into jajaja
# Conflicts:
#	src/app/api/websites/[websiteId]/metrics/route.ts
#	src/queries/sql/getChannelMetrics.ts
2025-07-29 19:15:55 -07:00
Francis Cao 86e0fc2262 convert clickhouse getChannels to SQL query 2025-07-28 17:13:13 -07:00
Mike Cao 45c9ea9c22 Merge branch 'dev' into jajaja
# Conflicts:
#	db/mysql/schema.prisma
#	package.json
#	pnpm-lock.yaml
#	src/app/(main)/reports/[reportId]/ReportBody.tsx
#	src/app/(main)/reports/[reportId]/ReportPage.tsx
#	src/app/(main)/reports/utm/UTMView.tsx
#	src/app/(main)/websites/[websiteId]/WebsiteMetricsBar.tsx
#	src/app/(main)/websites/[websiteId]/WebsiteTableView.tsx
#	src/app/(main)/websites/[websiteId]/events/EventsPage.tsx
#	src/app/api/reports/[reportId]/route.ts
#	src/app/api/websites/[websiteId]/metrics/route.ts
#	src/components/hooks/queries/useReport.ts
#	src/components/icons.ts
#	src/components/messages.ts
#	src/components/metrics/MetricsTable.module.css
#	src/components/metrics/MetricsTable.tsx
#	src/queries/sql/events/getEventMetrics.ts
#	src/queries/sql/reports/getUTM.ts
2025-07-23 23:39:28 -07:00