Commit graph

5824 commits

Author SHA1 Message Date
Mike Cao
d9f8a0418c Fix WebsiteDateFilter width and date popup minimum width.
Remove unnecessary wrapper Row around DateFilter and set min-width
on the date picker popover to 200px.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 03:22:16 -08:00
Mike Cao
18c3ffc2d8 Fix NavButton text not showing and remove unused Sidebar.
Show NavButton text whenever sidebar is not collapsed, not only on
pages without sub-navigation. Also remove unused Sidebar component.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 03:12:47 -08:00
Mike Cao
28c9c7d3ec Fix Select component usage by removing items prop and render functions.
Replace render function children with mapped ListItem elements and remove
the unsupported items prop across all Select instances.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 02:46:38 -08:00
Mike Cao
1b347531dc Add hover background to MetricsTable rows.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 02:24:41 -08:00
Mike Cao
c6dd3fb6ff Rename SideMenu to NavMenu, fix tooltips, and update react-zen.
- Rename SideMenu to NavMenu with visible group title labels and selected item highlighting
- Update react-zen to 0.242.0 and fix responsive breakpoints (xs -> base)
- Style floating tooltips with inverted background across WorldMap, charts, and WeeklyTraffic
- Add CSS variables for primary color and use IconLabel consistently
- Remove stray console.log from LoadingPanel

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 01:58:55 -08:00
Mike Cao
7cafc3e61d Replace numeric prop values with named react-zen values.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 23:41:10 -08:00
Mike Cao
f66a508892 Add website binding to boards with filter and date controls.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 22:04:59 -08:00
Mike Cao
d3d86f43fa Updated packages.
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-02-05 20:29:40 -08:00
Mike Cao
c3e0290e65 Merge branch 'dev' into boards
Some checks failed
Node.js CI / build (push) Has been cancelled
# 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
Mike Cao
8484fd26e1 Code cleanup. 2026-02-05 19:46:16 -08:00
Mike Cao
a8534a9d4d Add board view/edit mode separation with cancel button.
/boards/[id] is now view mode (read-only) with an edit button.
/boards/[id]/edit is edit mode with save and cancel buttons.
Save navigates back to view, cancel discards changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 19:42:50 -08:00
Francis Cao
49adaa32d0 implement UTM filters and fields 2026-02-05 16:30:46 -08:00
Francis Cao
7514af4236 fix getURL for share
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-02-05 10:51:51 -08:00
Brian Cao
397796cfff Fix share url. 2026-02-05 09:35:29 -08:00
Francis Cao
9d6bb64c3d use website_event_stats_hourly view for excludeBounceQuery 2026-02-05 09:13:18 -08:00
Francis Cao
e21c1c83bb configure salt rotation period using env vars. Closed #3427 2026-02-05 08:56:12 -08:00
Mike Cao
5267222a67 Fix share token for public share pages
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (push) Waiting to run
2026-02-04 17:32:42 -08:00
Francis Cao
6c7b6bab07 fix pixel/link canViewWebsite 2026-02-04 14:47:07 -08:00
Francis Cao
fa97c986c0 fix bad import 2026-02-04 12:13:40 -08:00
Francis Cao
8f15741b68 fix bounce checkbox for share page 2026-02-04 11:58:21 -08:00
Francis Cao
f84b9f041d only show bounce filter on overview
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (push) Has been cancelled
2026-02-04 10:21:44 -08:00
Francis Cao
f232ce2643 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-02-04 09:36:38 -08:00
Francis Cao
5ea58e2b30 fix total visitors query to exclude event_type 2026-02-04 09:35:50 -08:00
Mike Cao
877b453577 Moved bounce filter to filter form. 2026-02-04 09:34:32 -08:00
Francis Cao
2489601ae6 website API shareId compatibility updates
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-02-03 22:28:25 -08:00
Francis Cao
fdb99607bc fix excludeBounce bug when selecting page filter. Use more performant sumIF
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-02-03 13:10:54 -08:00
Francis Cao
0cd63049ed fix password default values
Some checks failed
Node.js CI / build (push) Has been cancelled
2026-02-02 10:35:51 -08:00
Francis Cao
ee698b636a implement exclude bounces feature
Some checks failed
Node.js CI / build (push) Has been cancelled
2026-01-30 00:12:13 -08:00
Francis Cao
4a3190b2da add name to createShare 2026-01-29 22:27:37 -08:00
Francis Cao
1174ce89bc remove shareId from website POST 2026-01-29 21:36:38 -08:00
Francis Cao
1229663814 Merge branch 'analytics' of https://github.com/umami-software/umami into dev
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (push) Has been cancelled
2026-01-29 10:24:15 -08:00
Francis Cao
e57239de1e Fix share parameter logic 2026-01-29 10:13:08 -08:00
Mike Cao
abfb78bb98 Fixed mobile menus.
Some checks failed
Node.js CI / build (push) Has been cancelled
2026-01-29 09:23:53 -08:00
Mike Cao
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 Cao
489c2712d1 Make ShareNav full width on mobile
Some checks are pending
Node.js CI / build (push) Waiting to run
- 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 Cao
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 Cao
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 Cao
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 Cao
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 Cao
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 Cao
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 Cao
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 Cao
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
Francis Cao
2df24a78ca bug fix. remove All time filter for websites with no data. 2026-01-28 18:05:34 -08:00
Francis Cao
9339383497 remove www. prefix from hostname during comparison. Closes #3256 2026-01-28 17:18:03 -08:00
Francis Cao
b84942b6da make SharesTable mobile friendly
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-28 10:48:13 -08:00
Francis Cao
3d75246802 dependabot - bump tar t. 7.5.7 2026-01-28 09:49:30 -08:00