Commit Graph
233 Commits
Author SHA1 Message Date
Francis Cao 5ccfb6d0a5 implement datatable sorting on non-analytics tables. (website/board/link/pixel/team/admin) 2026-05-07 10:46:03 -07:00
Francis Cao fbac7518fc Add MAX_PAGING_RESULTS on hooks for performance improvements. 2026-05-04 15:43:05 -07:00
Mike Cao cc829c8f6f Replace react-spring with motion, fix breaking changes in react-window/date-fns-tz/pure-rand. 2026-04-18 15:41:25 -07:00
Mike Cao 1b6fc1bd51 Use local Link wrapper with cloud-mode prefetch default 2026-04-15 11:21:49 -07:00
Mike Cao e0009cb414 Added download to breakdown report. 2026-03-22 09:54:41 -07:00
Mike Cao 31f322630d Add Badge component and use it for performance page ratings 2026-03-15 20:44:25 -07:00
Mike Cao c4226bc63d Add board share management UI 2026-03-08 22:24:24 -07:00
Mike Cao c921231bb9 Make websiteId optional in filter controls to enable dashboard filtering
Allows BoardControls to render filter bar and date picker without
requiring a websiteId. Website-specific features (segments, cohorts,
filter value autocomplete, save segment) are gracefully hidden when
no websiteId is available.
2026-03-04 21:30:05 -08:00
Francis Cao 682995524e Merge branch 'dev' into fix/pagination 2026-02-21 14:32:06 -08:00
Francis Cao 67626652f9 fix mobile view for admin screens and nav. update equals and not equals filter to be multiselect. 2026-02-20 12:32:02 -08:00
Yash 0505ef1378 feat: introduce WebsiteDateFilter for date range selection and DataGrid for paginated data display. 2026-02-19 23:44:24 +05:30
Mike CaoandClaude Opus 4.6 365895c389 Fix build type errors in LinkButton and useMessages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 16:35:57 -08:00
Mike Cao db637864f6 Move board component metadata editing into modal 2026-02-13 00:18:51 -08:00
Mike CaoandClaude Opus 4.6 50edb71687 Simplify i18n: remove old react-intl artifacts, rename formatMessage to t, replace FormattedMessage with t.rich().
- Rewrite messages.ts to plain string key maps (remove MessageDescriptor)
- Rewrite useMessages hook to expose t from useTranslations() directly
- Rename formatMessage → t across 193 consumer files
- Replace custom FormattedMessage component with next-intl t.rich()
- Update 52 language files to use rich text tags (<b>, <a>)
- Remove all direct imports from @/components/messages in favor of useMessages()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 11:19:04 -08:00
Mike Cao fed8d4c71a Fixed maximize button on Panel. 2026-02-07 00:16:15 -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 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 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
Mike Cao 78d467b478 Redesigned share page. 2026-01-28 23:10:42 -08:00
Mike Cao 4a09f2bff6 Share page changes. 2026-01-24 02:47:09 -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 Cao 5ce1b40330 Merge branch 'dev' into boards
# Conflicts:
#	pnpm-lock.yaml
2025-12-04 00:53:54 -08:00
Mike Cao 1483241494 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2025-12-03 18:39:45 -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 16cae691f6 Don't prefetch links/pixels. Closes #3814 2025-12-03 00:03:56 -08:00
Mike Cao a39ebffd8b Boards components. 2025-11-29 15:59:01 -08:00
Prince EKPINSE beb2bc0a06 feat: improve mobile navigation with clickable page elements (#3770) 2025-11-29 13:53:32 +01:00
Mike Cao d7fd22645c Fixed nav menus. 2025-11-28 00:33:53 -08:00
Mike Cao fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Francis Cao af958b6462 fix DateDistance null logic 2025-11-20 11:24:59 -08:00
Mike Cao cb63e49a9b Fixed triggered event lookup. Closes #3742. 2025-11-14 15:42:23 -08:00
Mike Cao 8a66603d32 Responsive fixes. 2025-11-12 16:39:58 -08:00
Mike Cao b08a6e1113 Don't prefetch pixel links. 2025-10-30 17:05:11 -07:00
Mike Cao 9a5604f236 Fixes for mobile. 2025-10-18 01:12:45 -07:00
Mike Cao bcafa12349 Small fixes. 2025-10-17 16:54:33 -07:00
Mike Cao 40492ec7c4 Added DialogButton to handle mobile. 2025-10-16 23:59:18 -07:00
Mike Cao 4d2a7ea947 Responsive everything. 2025-10-16 02:42:13 -07:00
Mike Cao 10bc2895eb New mobile menu. 2025-10-14 21:57:31 -07:00
Mike Cao be5f0494cc Added MobileMenuButton component. 2025-10-14 15:43:57 -07:00
Mike Cao d9b08d9491 Card mode for tables. 2025-10-14 13:04:14 -07:00
Mike Cao 14981717b9 Responsive updates. 2025-10-10 17:28:53 -07:00
Mike Cao ac9edb8b5f Updated realtime page. 2025-10-09 18:08:59 -07:00