Commit Graph
726 Commits
Author SHA1 Message Date
Mike Cao fed8d4c71a Fixed maximize button on Panel. 2026-02-07 00:16:15 -08:00
Francis Cao 795a1caadf fix panel and metrics card css 2026-02-06 17:24:11 -08:00
Francis Cao 895abdbbaf Clean up colors and Selects 2026-02-06 16:48:45 -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 CaoandClaude Opus 4.6 dea3c41ecc Fix WebsiteSelect showing empty value on initial load.
Fall back to queried website name when local state hasn't been set yet,
since useState only captures the initial value which is undefined before
the query resolves.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:04:53 -08:00
Mike CaoandClaude Opus 4.6 b3a77d7c04 Fix CompareTables select width, WebsiteSelect min height, and MetricCard gap.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:00:42 -08:00
Mike CaoandClaude Opus 4.6 635317ecfb Combine WebsiteNav into SideNav when viewing a website.
Replace the separate 240px WebsiteNav sidebar with website navigation
integrated into the main SideNav. When a websiteId is active, SideNav
shows a back arrow, WebsiteSelect dropdown, and grouped nav items
instead of the main links. Extract shared useWebsiteNavItems hook used
by both SideNav and WebsiteNav (still used by MobileNav).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 03:57:28 -08:00
Mike CaoandClaude Opus 4.6 84522b2475 Fix ChangeLabel colors to use react-zen theme variables.
Replace old CSS variables with new theme tokens for success, error,
and neutral states.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 03:31:20 -08:00
Mike Cao 403bdfd6e2 Fixed previous select width. 2026-02-06 03:24:29 -08:00
Mike CaoandClaude Opus 4.6 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 CaoandClaude Opus 4.6 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 CaoandClaude Opus 4.6 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 CaoandClaude Opus 4.6 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 CaoandClaude Opus 4.6 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 CaoandClaude Opus 4.6 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 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
Mike Cao 8484fd26e1 Code cleanup. 2026-02-05 19:46:16 -08:00
Mike CaoandClaude Opus 4.6 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
Mike Cao 5267222a67 Fix share token for public share pages 2026-02-04 17:32:42 -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 2026-02-04 10:21:44 -08:00
Mike Cao 877b453577 Moved bounce filter to filter form. 2026-02-04 09:34:32 -08:00
Francis Cao ee698b636a implement exclude bounces feature 2026-01-30 00:12:13 -08:00
Mike Cao abfb78bb98 Fixed mobile menus. 2026-01-29 09:23:53 -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 Cao 78d467b478 Redesigned share page. 2026-01-28 23:10:42 -08:00
Francis Cao 2df24a78ca bug fix. remove All time filter for websites with no data. 2026-01-28 18:05:34 -08:00
Mike Cao f7bdd5c54e Merge remote-tracking branch 'origin/dev' into dev 2026-01-27 18:05:54 -08:00
Francis Cao dde1c3a57a Increase website select pageSize to 20. Closes #3913 2026-01-27 17:07:14 -08:00
Francis Cao 57eef5866b remove event filter for non-event pages 2026-01-26 22:43:35 -08:00
Francis Cao a1a092dc19 Add MetricsBar to Events page. Closes #3830 2026-01-26 17:08:34 -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
Francis Cao 7bb30443a8 Add distinct ID to filters/expanded metrics. Closes #3861 2026-01-26 11:05:20 -08:00
Francis Cao 7f43a0d41a Improve team admin screen workflow for team/members. Closes  #2767 2026-01-26 10:00:31 -08:00
Mike Cao 4a09f2bff6 Share page changes. 2026-01-24 02:47:09 -08:00
Francis Cao a2f0066c42 clear unit param on nav, fix more import, fix NaN animation error 2026-01-23 11:19:19 -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
Francis Cao d47ee6e8e8 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-01-20 19:10:14 -08:00
Francis Cao 52f812d9e5 pass unit into revenue report 2026-01-20 19:09:23 -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
Mike Cao 3b4776b0e0 Initial react-zen migration. 2026-01-19 21:09:22 -08:00
Mike CaoandClaude Opus 4.5 30c45f888f Replace fontsource with next/font/google and update react-zen.
- Switch from @fontsource/inter to next/font/google for font loading
- Update @umami/react-zen to v0.229.0
- Add type augmentation for react-zen missing children props
- Move global.css to app directory

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 13:02:47 -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 f97c840825 Merge branch 'dev' into boards 2026-01-16 16:30:31 -08:00
Francis Cao 520c91c621 fix share api routes 2026-01-16 16:29:08 -08:00
Mike Cao 0fbd8a448d Merge branch 'dev' into boards 2026-01-14 12:53:25 -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 fbf03d6563 Fix metrics bar not updating on compare mode switch 2026-01-09 19:35:48 +00:00
Mike Cao aefc36b476 Merge branch 'dev' into boards
# Conflicts:
#	pnpm-lock.yaml
2026-01-07 01:01:39 -08:00