Commit Graph
100 Commits
Author SHA1 Message Date
Mike Cao 2514330758 Remove husky and lint-staged 2026-03-10 23:16:58 -07:00
Mike Cao d9766e3952 Polish board and dashboard design actions 2026-03-10 16:52:03 -07:00
Mike Cao ad7b64653f Simplify board component picker 2026-03-10 16:52:02 -07:00
Mike Cao 508ddbabea Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-03-10 08:32:09 -07:00
Mike Cao 746f7e8779 Merge pull request #3997 from BrentRobert/patch-1
Update robots.txt fixes #3996
2026-03-10 08:32:01 -07:00
Mike Cao c9888a96c1 Fix link and pixel edit page widths 2026-03-10 08:30:57 -07:00
Mike Cao a9680320ef Polish board editor layout and compatibility 2026-03-10 08:29:43 -07:00
Mike Cao 6b8159e535 Refine edit layouts and share states 2026-03-10 02:52:13 -07:00
Mike Cao cdcb1f379b Split board details and design flows 2026-03-10 02:08:24 -07:00
Mike Cao 54023e3796 Prevent events chart on pixel and link boards 2026-03-10 00:23:19 -07:00
Mike Cao 6629ab598b Fix app metadata headers import 2026-03-09 23:34:23 -07:00
Mike Cao d03e6095b6 Merge pull request #4078 from cryst-hq/codex/fix-umami-4062
Fix metadata base URL generation
2026-03-09 23:32:11 -07:00
Mike Cao 8d2b9f8e49 Merge branch 'dev' into codex/fix-umami-4062 2026-03-09 23:31:52 -07:00
Mike Cao 143e22000f Merge pull request #4079 from cryst-hq/codex/fix-umami-4044
Fix tracker script name route matching
2026-03-09 23:28:40 -07:00
Mike Cao a1e7a8332a Merge branch 'dev' into codex/fix-umami-4044 2026-03-09 23:28:33 -07:00
Mike Cao 7b84eb22f8 Refine link and pixel edit controls 2026-03-09 23:26:00 -07:00
Mike Cao 9941181697 Move pixel and link editing to dedicated pages 2026-03-09 22:09:54 -07:00
Mike Cao 64bf4c378c Add sharing to pixel and link detail pages 2026-03-09 01:26:02 -07:00
Mike Cao c4226bc63d Add board share management UI 2026-03-08 22:24:24 -07:00
Mike Cao b429e7b24d Extract reusable board entity badge 2026-03-06 23:54:48 -08:00
Mike Cao 25e60758b5 Exclude dashboards from boards list 2026-03-06 23:54:47 -08:00
Mike Cao f76b22b303 Add board type binding support 2026-03-06 23:54:46 -08:00
Mike Cao 07ff25bf7e Make board edit fields use a form layout 2026-03-06 23:54:44 -08:00
Mike Cao 8563fe1d30 Add TextBlock board component for free-form text content
New component that doesn't require a website, with textarea config
field. Added requiresWebsite flag to ComponentDefinition so board
components can opt out of the websiteId requirement.
2026-03-04 21:56:17 -08: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
Mike Cao 66d57f9fa3 Add board table edit and delete actions 2026-03-04 15:09:53 -08:00
Mike Cao b389c417de Merge branch 'dev' of https://github.com/umami-software/umami into dev
# Conflicts:
#	src/app/(main)/websites/[websiteId]/replays/ReplayModal.tsx
#	src/app/(main)/websites/[websiteId]/replays/ReplaysTable.tsx
#	src/app/(main)/websites/[websiteId]/replays/[sessionId]/ReplayPlayback.tsx
#	src/queries/sql/replays/saveReplayChunk.ts
#	src/recorder/index.js
2026-03-04 12:36:23 -08:00
Mike Cao 8c1ee0b3ce Progress check-in. Updated tracker and recorder scripts. 2026-03-04 12:21:36 -08:00
Mike Cao 3c0601f090 Fixed lockfile. 2026-02-26 10:33:27 -08:00
Mike Cao 0196b0d95d Fix issues. 2026-02-26 10:29:24 -08:00
Mike Cao 7d2dbda5d1 Complete merge. 2026-02-25 02:32:25 -08:00
Mike Cao e73d827d21 Merge branch 'session-recording' into dev 2026-02-25 02:32:07 -08:00
Mike Cao e2ab4af493 Merge branch 'performance' into dev 2026-02-25 02:27:46 -08:00
Mike Cao 580008cd09 Merge branch 'dev' of https://github.com/umami-software/umami into dev
# Conflicts:
#	src/lib/redis.ts
2026-02-22 23:28:12 -08:00
Mike Cao 6a2692b521 Add dashboard filter controls and improve Redis reconnect handling 2026-02-20 23:47:10 -08:00
Mike Cao 3d2f7f5a4b Require website selection before adding board component 2026-02-19 02:50:15 -08:00
Mike Cao 09bc2ee5c8 chore: bump package dependencies 2026-02-16 18:34:50 -08:00
Mike Cao d349c3aea9 Merge branch 'dev' into session-recording 2026-02-16 09:20:39 -08:00
Mike CaoandClaude Opus 4.6 2c7ab2b734 Use i18n for board component strings, show controls in edit mode, require website before editing
- Replace raw strings with useMessages hook in BoardColumn and BoardComponentSelect
- Show WebsiteControls on edit screen so users can test filters
- Disable board body editing until a website is selected
- Scope website select to team websites when editing a team board

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 02:46:30 -08:00
Mike CaoandClaude Opus 4.6 87bde9da1f Add board component selector with live preview
Allows users to select and inject analytics components into board cells.
Includes component registry, renderer, selector modal with category
menu, config fields for MetricsTable, and live preview. Also scopes
website select to team websites when editing a team board.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 00:52:46 -08:00
Mike CaoandClaude Opus 4.6 28246b8c52 Fix team boards not appearing after creation
Board creation from team context was not passing teamId to the API,
causing boards to be saved as personal boards instead of team boards.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 13:58:46 -08:00
Mike Cao 8cd3c03702 Added opacity to tooltips. 2026-02-08 00:04:13 -08:00
Mike Cao d26ed3b949 Fixed collapse state of website select. 2026-02-07 23:56:06 -08:00
Mike Cao f1b314e90b Added dotenv-cli. 2026-02-07 19:42:19 -08:00
Mike Cao 80cad6ea65 Merge remote-tracking branch 'origin/dev' into dev 2026-02-07 03:40:11 -08:00
Mike Cao af2c823c1b Fixed tooltip text sizes. 2026-02-07 03:39:56 -08:00
Mike CaoandClaude Opus 4.6 f595da612c Fix website reports route type error and pass teamId to board WebsiteSelect.
Remove invalid 3rd parameter from GET handler and parse report type from
query params instead. Pass teamId to WebsiteSelect in BoardEditHeader so
it shows team websites in team context.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 03:25:24 -08:00
Mike CaoandClaude Opus 4.6 0a3cf7a9ff Rename session recording to session replay across the codebase.
Renames all files, components, database schema, API routes, hooks,
messages, and build config from "recording" to "replay" terminology.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 00:38:47 -08:00
Mike Cao fed8d4c71a Fixed maximize button on Panel. 2026-02-07 00:16:15 -08:00
Mike CaoandClaude Opus 4.6 72b5c658e2 Add rrweb-based session recording feature.
Implements full session recording with rrweb for DOM capture and rrweb-player
for playback. Includes: Prisma schema for SessionRecording model, chunked
gzip-compressed storage, recorder script built via Rollup, collection API
endpoint, recordings list/playback UI pages, website recording settings,
and cascade delete support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 15:49:59 -08:00
Mike CaoandClaude Opus 4.6 b9eb5f9800 Fix missing back button in WebsiteNav by defaulting sidenav-collapsed state to false.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 05:01:11 -08:00
Mike CaoandClaude Opus 4.6 ce8c108fac Fix team boards endpoint calling getTeamPixels instead of getTeamBoards.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:56:42 -08:00
Mike CaoandClaude Opus 4.6 18702e130e Decompose BoardPage into individual components and remove debug logging.
Extract BoardRow, BoardColumn, BoardViewHeader, BoardEditHeader, and
boardConstants into separate files. Remove 9 console.log statements
from BoardBody and BoardProvider.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:47:23 -08:00
Mike CaoandClaude Opus 4.6 5f404f62d8 Bold text for selected items in SideNav and WebsiteNav.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:43:21 -08:00
Mike CaoandClaude Opus 4.6 3467184b8f Consolidate WebsiteNavSection into WebsiteNav and fix scrollbar flash.
Move sidebar rendering logic into WebsiteNav with isCollapsed prop so
SideNav uses WebsiteNav directly instead of duplicating code. Add
overflow hidden to prevent horizontal scrollbar during expand transition.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:27:37 -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 CaoandClaude Opus 4.6 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. 2026-02-05 20:29:40 -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 5f316a79e5 Merge pull request #3972 from IndraGunawan/fix-inconsistent-date-format
fix inconsistent date format
2026-01-26 11:15:20 -08:00
Mike Cao 63c9cf2e30 Merge pull request #3954 from maennenajere/dev
Update fi-FI.json
2026-01-16 22:15:10 -08:00
Mike Cao a270b0afea Merge pull request #3956 from Nayrode/master
Fix autofill styling inconsistency in dark theme
2026-01-14 21:34:52 -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
Mike Cao 5213e04f44 Merge pull request #3866 from RaenonX/master
Added custom slug for links
2026-01-06 18:23:28 -08:00
Mike Cao 17d24bf8e2 Merge pull request #3872 from GochoMugo/fix/denied-storage-access
fix: handle denied storage access
2026-01-06 18:03:16 -08:00
Mike Cao 767fda21cd Merge pull request #3874 from maphubs/fix-session-error
fix prisma session race condition error
2026-01-06 18:01:09 -08:00
Mike Cao c122fb718b Merge pull request #3875 from FEgor04/master
fix(events): use correct key for event values
2026-01-06 17:50:24 -08:00
Mike Cao f105a52fc2 Merge pull request #3884 from XahidEx/patch-2
Correct UAE emirate names in iso-3166-2.json
2026-01-06 17:48:29 -08:00
Mike Cao 5506314e54 Merge pull request #3891 from journry789/master
This resolves the issue of being unable to obtain the client's IP add…
2026-01-06 17:46:04 -08:00
Mike Cao e90b2201ca Merge pull request #3917 from Mintimate/master
feat: add EdgeOne CDN geolocation headers support
2026-01-06 17:32:48 -08:00
Mike Cao d8dcf05a20 Merge pull request #3920 from PaiJi/chore/update-zh-CN-translation
chore(i18n): update zh-CN translation
2026-01-06 17:29:43 -08:00
Mike Cao 2e62a06aa4 Merge pull request #3926 from Yashh56/feat/default-currency
feat: Add default currency support and update currency handling in Revenue component
2026-01-06 17:27:47 -08:00
Mike Cao 75ae7528fb Merge pull request #3929 from dyanakiev/master
chore(i18n): update bg-BG translation
2026-01-06 17:25:35 -08:00
Mike Cao 58880b6a5f Merge pull request #3939 from AymanAlSuleihi/master
Fix double scrollbar in dropdown
2026-01-06 17:24:38 -08:00
Mike Cao 42d0594118 Merge pull request #3936 from sbozh/fix/compatible-event-name
Fixed PostgreSQL 12/13 syntax error in Journeys feature
2026-01-02 13:03:34 -08:00
Mike Cao 34c31ca63c Merge pull request #3937 from AymanAlSuleihi/master
Add country flag image for Tor traffic (T1)
2026-01-02 13:02:35 -08:00
Mike Cao 4c0c9e6aa0 Merge pull request #3910 from kkhys/fix/ja-jp-breakdown
Fix Japanese translation for label 'breakdown'
2025-12-20 21:39:29 -08:00
Mike Cao 7c804b10ea Merge pull request #3834 from umami-software/dependabot/npm_and_yarn/jws-3.2.3
Bump jws from 3.2.2 to 3.2.3
2025-12-04 17:50:55 -08:00
Mike Cao 81e27fc18c Fix formatting for Docker compose instructions 2025-12-04 00:37:13 -08:00
Mike Cao 2b771ff2b4 Merge pull request #3832 from umami-software/dev
v3.0.2
2025-12-03 23:54:31 -08:00
Mike Cao 7e42b5b35e Merge pull request #3827 from umami-software/dependabot/npm_and_yarn/next-15.5.7
Bump next from 15.5.3 to 15.5.7
2025-12-03 21:27:43 -08:00
Mike Cao 9a269ab811 Merge pull request #3805 from prince0xdev/feat/mobile-navigation-improvement
Improve mobile navigation: clickable “online” badge & page title
2025-12-03 00:16:16 -08:00
Mike Cao 32aee652a5 Merge pull request #3824 from IndraGunawan/disable-prefetch-view-link
fix: disable prefetch for Links view button
2025-12-03 00:14:11 -08:00
Mike Cao 23ff20a10b Merge pull request #3809 from RaenonX/master
Allow `browser` / `os` / `device` override in `payload` & return `cache` from `/api/batch`
2025-12-03 00:01:30 -08:00
Mike Cao 7b3be59c8d Merge pull request #3819 from Lokimorty/seed-sample-data
feat(dev): add sample data generator script
2025-12-02 23:30:55 -08:00
Mike Cao b08413ebea Merge branch 'dev' into seed-sample-data 2025-12-02 23:30:47 -08:00
Mike Cao 06251e1317 Merge pull request #3803 from imsyedabdullah/3802-team-to-user-switch
Issue#3802 - Team to user switch fixed
2025-12-01 23:15:00 -08:00
Mike Cao 9a2827b50d Merge pull request #3811 from IndraGunawan/support-uuidv7
add support for UUID v7
2025-12-01 23:11:23 -08:00