100 Commits
Author SHA1 Message Date
Mike CaoGitHubgreptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
3e0f9470f2 Apply suggestions from code review
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-10 08:31:36 -07:00
Mike Cao 5267222a67 Fix share token for public share pages 2026-02-04 17:32:42 -08:00
Mike Cao 877b453577 Moved bounce filter to filter form. 2026-02-04 09:34:32 -08:00
Mike Cao abfb78bb98 Fixed mobile menus. 2026-01-29 09:23:53 -08:00
Mike CaoandClaude Opus 4.5 9b310dacef Remove events section from share page overview
Share page overview should look the same as normal app overview

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 01:00:23 -08:00
Mike CaoandClaude Opus 4.5 489c2712d1 Make ShareNav full width on mobile
- Remove fixed width, position, and border on mobile
- Use 100% width when onItemClick is provided (mobile context)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:44:18 -08:00
Mike CaoandClaude Opus 4.5 b43e7fd3a7 Hide sidebar collapse button on mobile
onItemClick is only passed on mobile, so use it to detect mobile context

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:37:29 -08:00
Mike CaoandClaude Opus 4.5 5880eae4e4 Fix NavMenu scrolling on mobile
- Add overflowY="auto" and flexGrow to menu container
- Menu now scrolls when content exceeds viewport height

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:34:47 -08:00
Mike CaoandClaude Opus 4.5 6169a58e86 Center bottom icons when sidebar collapsed
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:13:23 -08:00
Mike CaoandClaude Opus 4.5 452a385c4e Fix ShareNav collapse button and icon layout
- Use single PanelLeft icon with muted color
- Align collapse button to right of header
- Bottom icons: horizontal (Row) when expanded, vertical (Column) when collapsed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:12:23 -08:00
Mike CaoandClaude Opus 4.5 482d6c1e47 Add collapsible ShareNav sidebar
- Add collapse/expand button in header
- When collapsed: hide menu items and logo, show only toggle button
- Stack bottom icons vertically when collapsed
- Adjust grid layout to match collapsed nav width (60px vs 240px)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:08:53 -08:00
Mike CaoandClaude Opus 4.5 4e8be724ac Handle domain name in share URL path
Skip domain-like segments (containing dots) when parsing the share path.
e.g., /share/slug/aol.com is treated as /share/slug
      /share/slug/aol.com/events is treated as /share/slug/events

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 23:38:07 -08:00
Mike CaoandClaude Opus 4.5 c9e14f3bce Restructure share routes to fix client-side navigation
- Change from [...shareId] catch-all to [slug]/[[...path]] structure
- Layout with ShareProvider now persists across sub-route navigation
- Add slug to ShareData context (separate from shareId UUID)
- Links now use slug instead of UUID for proper routing
- Remove unused ShareFooter and ShareHeader files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 23:32:51 -08:00
Mike CaoandClaude Opus 4.5 d028bfa1f5 Move share page redirect logic to ShareProvider
Centralizes the single-section redirect logic in ShareProvider instead of
SharePage, reducing useEffect complexity and preventing children from
rendering during redirect.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 23:18:05 -08:00
Mike Cao 78d467b478 Redesigned share page. 2026-01-28 23:10:42 -08:00
Mike Cao 9d3f5ad0fd Merge remote-tracking branch 'origin/dev' into dev 2026-01-28 20:14:43 -08:00
Mike Cao 018e76b067 Fixed website nav. 2026-01-28 19:24:13 -08:00
Mike Cao c3dad5b7ef Merge remote-tracking branch 'origin/dev' into dev 2026-01-27 18:51:05 -08:00
Mike Cao 9426de90f7 Fixed share path. 2026-01-27 18:50:53 -08:00
Mike Cao f7bdd5c54e Merge remote-tracking branch 'origin/dev' into dev 2026-01-27 18:05:54 -08:00
Mike Cao f32ab11785 Fixed bad reference. 2026-01-27 18:05:04 -08:00
Mike Cao 4680c89e28 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-01-26 11:18:34 -08:00
Mike CaoandClaude Opus 4.5 fdafe13c35 Block share token from all editing permissions.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 19:13:49 -08:00
Mike CaoandClaude Opus 4.5 e782c2e627 Block share token users from modifying reports via API.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 15:06:39 -08:00
Mike CaoandClaude Opus 4.5 801a3ec6bb Hide add/edit buttons on share pages.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 14:51:46 -08:00
Mike Cao 4a09f2bff6 Share page changes. 2026-01-24 02:47:09 -08:00
Mike Cao c9f6653b62 Redirect to single allowed section on share page. 2026-01-24 02:21:51 -08:00
Mike Cao fd2e2047cd Restrict x-umami-client-* headers to cloud mode only. 2026-01-23 20:52:39 -08:00
Mike Cao fbd0564133 Add x-umami-client-* headers as highest priority source for client detection. 2026-01-23 20:04:01 -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
Mike Cao 4c9b2f10da Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-01-22 19:17:22 -08:00
Mike Cao adea3e9b1c Merge branch 'analytics' into dev
# Conflicts:
#	.gitignore
#	src/app/api/share/[slug]/route.ts
#	src/app/share/[...shareId]/SharePage.tsx
2026-01-22 17:44:45 -08:00
Mike Cao 518f0b66c6 Don't render link on share page. 2026-01-22 03:02:15 -08:00
Mike Cao f84e67b0e6 White-label support. 2026-01-22 01:50:24 -08:00
Mike CaoandClaude Opus 4.5 dd8888cfcf Update share form defaults to only select overview and events
Changed default selected items for new shares from all items to only
overview and events. Also fixed checkbox text size in create form.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 00:19:08 -08:00
Mike CaoandClaude Opus 4.5 6367d94552 Add default row/column for new boards and prevent removing last column.
- New boards now start with one row containing one column
- Hide remove column button when only one column remains in a row

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 03:02:51 -08:00
Mike CaoandClaude Opus 4.5 385bdd6734 Add panel size persistence on board save.
- Add registerLayoutGetter to BoardContext for collecting sizes on save
- Use GroupImperativeHandle and groupRef prop for react-resizable-panels
- Add id props to Panels for layout mapping by panel id
- Collect row and column sizes via getLayout() only when saving
- Restore saved sizes via defaultSize prop on Panels

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 01:25:31 -08:00
Mike CaoandClaude Opus 4.5 30e48e3aaa Add panel size constraints and size properties to board types.
- Add MIN_ROW_HEIGHT, MAX_ROW_HEIGHT, MIN_COLUMN_WIDTH, BUTTON_ROW_HEIGHT constants
- Apply minSize/maxSize constraints to row and column panels
- Add size property to BoardColumn and BoardRow types for future persistence
- Add optional chaining for safer property access

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 00:28:42 -08:00
Mike CaoandClaude Opus 4.5 30c3ba77cc Add remove column button and fix container height calculation.
- Add X button in top right corner of each column to remove it
- Fix container height to use MIN_HEIGHT instead of MAX_HEIGHT per row

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 21:19:24 -08:00
Mike CaoandClaude Opus 4.5 ff6575ff54 Add move row up/down functionality to board editor.
Rows can now be reordered using up/down buttons. Buttons are disabled
at boundaries (up disabled on first row, down disabled on last row).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 20:17:21 -08:00
Mike Cao d9f698ca42 Board editing. 2026-01-18 04:20:36 -08:00
Mike CaoandClaude Opus 4.5 68c56060b3 Add board state management with updateBoard and saveBoard methods.
BoardProvider now manages local board state and exposes updateBoard for
editing and saveBoard for persisting to the database. Supports both
create and edit modes with proper redirect after creation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 21:05:43 -08:00
Mike Cao e08907d998 Board setup. 2026-01-16 19:52:16 -08:00
Mike Cao f97c840825 Merge branch 'dev' into boards 2026-01-16 16:30:31 -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
Mike Cao 0fbd8a448d Merge branch 'dev' into boards 2026-01-14 12:53:25 -08:00
Mike Cao 1e0620c544 Updated packages. 2026-01-14 12:53:13 -08:00
Mike Cao aefc36b476 Merge branch 'dev' into boards
# Conflicts:
#	pnpm-lock.yaml
2026-01-07 01:01:39 -08:00
Mike Cao 860e6390f1 Updated Docker build. 2025-12-11 20:16:56 -08:00
Mike Cao 9b0d1b092e Updated worfkflow. 2025-12-11 19:31:36 -08:00
Mike Cao 2a71cc721b Fixed CI build. 2025-12-11 18:25:23 -08:00
Mike Cao 7bea47d9e8 Bumped version v3.0.3. Updated workflow. 2025-12-11 18:04:10 -08:00
Mike Cao e9cdabab5a Upgraded react and next. 2025-12-11 17:58:20 -08:00
Mike Cao d227bc369f Progress check-in. 2025-12-05 16:49:08 -08:00
Mike Cao 5ce1b40330 Merge branch 'dev' into boards
# Conflicts:
#	pnpm-lock.yaml
2025-12-04 00:53:54 -08:00
Mike Cao 60271779de Fixed Docker build. 2025-12-03 23:53:22 -08:00
Mike Cao 33e927ed1f Bump version 3.0.2. 2025-12-03 23:01:22 -08:00
Mike Cao c427c6f547 Fixed replica logic. 2025-12-03 17:05:14 -08:00
Mike Cao 33cb195fd0 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	package.json
#	pnpm-lock.yaml
#	src/app/(main)/links/[linkId]/LinkHeader.tsx
#	src/app/(main)/pixels/[pixelId]/PixelHeader.tsx
2025-12-03 15:13:50 -08: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
# Conflicts:
#	src/components/common/PageHeader.tsx
#	src/components/metrics/ActiveUsers.tsx
2025-12-03 00:17:44 -08:00
Mike Cao 1ae13513d2 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2025-12-03 00:16:22 -08:00
Mike Cao 16cae691f6 Don't prefetch links/pixels. Closes #3814 2025-12-03 00:03:56 -08:00
Mike Cao 1390e09400 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2025-12-03 00:01:36 -08:00
Mike Cao 58acee8d25 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2025-12-02 23:32:53 -08:00
Mike Cao a0940d78a7 Updated packages. 2025-12-02 23:32:44 -08:00
Mike Cao e7cb613cec Merge remote-tracking branch 'origin/dev' into dev 2025-12-02 13:47:01 -08:00
Mike Cao 170821e2f9 Populate teams on login.
Closes #3796
2025-12-02 13:45:49 -08:00
Mike Cao f5896f071b Handle user account redirect. 2025-12-01 23:33:57 -08:00
Mike Cao 7241e5286e Merge branch 'dev' into boards 2025-12-01 10:12:35 -08:00
Mike Cao 0ddec97bf0 Merge remote-tracking branch 'origin/dev' into dev 2025-11-22 22:43:39 -08: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
# 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
Mike Cao b45971da33 Merge remote-tracking branch 'origin/dev' into dev 2025-11-20 20:56:29 -08:00
Mike Cao 15fda927ce Switched to biome. 2025-11-20 20:56:16 -08:00
Mike Cao abc1b50ad0 Reordered IP headers. 2025-11-18 10:25:08 -08:00
Mike Cao ef3f7274e3 Remember last team. 2025-11-17 19:12:25 -08:00
Mike Cao 1852acc333 Merge remote-tracking branch 'origin/dev' into dev 2025-11-14 15:46:59 -08:00
Mike Cao cb63e49a9b Fixed triggered event lookup. Closes #3742. 2025-11-14 15:42:23 -08:00
Mike Cao 5ded9abbfe Added data-fetch-credentials attribute. Closes #3644 2025-11-13 19:42:04 -08:00
Mike Cao 97ebdc1bab Merge remote-tracking branch 'origin/dev' into dev 2025-11-12 16:40:50 -08:00
Mike Cao 8a66603d32 Responsive fixes. 2025-11-12 16:39:58 -08:00
Mike Cao 3d8402d2f1 Merge branch 'master' into dev 2025-11-10 22:44:36 -08:00
Mike CaoandGitHub a6e130ab2e Fix DownloadButton to avoid duplicate downloadCsv call
Removed redundant downloadCsv call from handleClick.
2025-11-10 22:43:22 -08:00
Mike CaoGitHubgreptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
4fe4bb99b7 Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-11-10 22:42:20 -08:00
Mike Cao 592f7c0ae7 Added check for REDIS_URL. Closes #3677. 2025-11-10 21:08:55 -08:00
Mike Cao 6ba9c1c40c New docker workflow. 2025-11-07 22:41:10 -08:00
Mike Cao de6515139e Fixed Docker permissions. 2025-11-07 18:17:51 -08:00
Mike Cao e3ca002d77 Fixed tags in build. 2025-11-07 14:35:05 -08:00
Mike Cao 8119dae3c3 Updated GH workflow. 2025-11-07 13:59:50 -08:00
Mike Cao 6ee93f7ac9 Updated README and cd.yml. 2025-11-07 12:21:17 -08:00
Mike Cao 3e9ca8761e Removed workflow script. 2025-11-07 09:15:01 -08:00
Mike Cao d2f512cae7 Don't publish .sig files. 2025-11-07 09:14:19 -08:00
Mike Cao df3ca02e8b Always push latest for Docker. 2025-11-07 08:52:16 -08:00
Mike Cao a90b788138 Updated cd script. 2025-11-07 00:09:53 -08:00
Mike Cao dd6556968c Updated image tag. 2025-11-06 23:58:12 -08:00
Mike Cao 04a05bbf26 Added workflow input. 2025-11-06 23:35:14 -08:00
Mike Cao 437c9603db Fixed build. 2025-11-06 22:58:26 -08:00
Mike Cao 03ed5349f4 Merge branch 'dev' 2025-11-06 22:50:30 -08:00