Commit Graph
2673 Commits
Author SHA1 Message Date
Mike Cao b5e9f7d968 Make mobile menu sheet height responsive and support controlled state 2026-08-03 13:11:57 -07:00
Mike Cao fbc4e86bb9 Add reusable website value combobox to attribution and journey filters 2026-08-03 13:03:58 -07:00
Mike Cao 928c0c7ea1 Use full-height modals for session profiles 2026-08-03 11:45:19 -07:00
Mike Cao 35c3560143 Constrain DataGrid search input width 2026-08-03 11:29:41 -07:00
Mike Cao 2de1c9bcc0 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-08-02 19:43:08 -07:00
Mike Cao 5d8cf10bf1 Replace Focusable navigation wrappers with tabIndex-based focus handling 2026-08-02 19:42:53 -07:00
Francis Cao 7b22872b53 resolve UserButton bugs 2026-08-02 15:26:04 -07:00
Francis Cao 329506cca7 fix attribution parameters bug and add tests 2026-08-02 13:45:24 -07:00
Mike Cao d336eba27d Fix sidebar user menu accessibility and full-width behavior 2026-08-02 12:43:07 -07:00
Mike Cao fab78f1610 Remove unused allowEdit/allowView props from WebsitesTable and its callers 2026-08-02 11:40:26 -07:00
Mike Cao be1531edf7 Optimize bounce detection and enforce unique session data entries 2026-08-01 23:14:43 -07:00
Mike Cao df302595c0 Upgrade react-zen and migrate attribution and menu controls to updated components 2026-07-31 22:14:31 -07:00
Mike Cao cfe8020831 Fix multi-select menus and selected label rendering 2026-07-30 23:47:34 -07:00
Mike Cao 0941ea06f9 Wrap dialogs with ControlledDialog for consistent modal state management 2026-07-30 22:57:49 -07:00
Mike Cao 6ac2b9377c Upgrade react-zen and migrate UI components to its updated APIs 2026-07-30 22:35:20 -07:00
Francis Cao 7c030e4c5d fix unique constraint on relational session data. Closes #4183 2026-07-30 10:39:38 -07:00
Francis Cao b3aec54bb3 Fix excludeBounce query, simplify bounce definition for SPA websites, query routing for performance, add tests 2026-07-30 09:34:35 -07:00
Mike Cao 7f66f31f3f Update expanded metrics bounce assertions for custom events 2026-07-29 20:21:24 -07:00
Mike Cao 25d6c14f5a Enable Next.js TypeScript CLI and prune unused dependencies 2026-07-28 21:56:58 -07:00
Mike Cao f84635b7a5 Merge pull request #4408 from maxiride/feature/bounce-calculation-v3
Feat: Improve bounce calculations with configurable threshold v3
2026-07-28 20:55:12 -07:00
Mike Cao b5d27620e7 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-07-28 14:07:19 -07:00
Mike Cao adba113b04 Load subscription data from API before rendering replay and heatmap views 2026-07-28 14:07:09 -07:00
Mike Cao 00faf04d5c Merge pull request #4356 from Niki2k1/runtime-allowed-frame-urls
Resolve ALLOWED_FRAME_URLS from the runtime environment in Docker
2026-07-27 21:05:12 -07:00
Mike Cao 385088d53a Tighten navigation section header spacing 2026-07-27 16:02:27 -07:00
Francis Cao 3136e3590a Revert "Move timezone selection to query parameters"
This reverts commit 4d7930060c.
2026-07-27 10:32:28 -07:00
Mike Cao 4d7930060c Move timezone selection to query parameters 2026-07-27 02:24:59 -07:00
Federico D'Eredità 92e9b276d2 fix(queries): count custom events correctly on the hourly rollup, trying to address greptile findings
`website_event_stats_hourly` sets `views` to
`sumIf(1, event_type NOT IN (2, 5))`, so `views` is 0 on custom event
rows and the `events_count` join was summing zeroes. Switched it to
`sum(length(event_name))`, which is how `getWebsiteSessionStats`
already counts custom events on that table.

Also dropped the `getEventExpandedMetrics` change from the previous
commit. That report is filtered to custom events, so every visit it
lists has already fired at least one, and its `bounces` column counts
visits where the event fired exactly once rather than visits with a
single pageview. The threshold rule does not apply there, so the query
is left untouched.
2026-07-26 18:49:59 +02:00
Federico D'Eredità 82a5a12208 refactor(constants): simplify BOUNCE_THRESHOLD parsing
`parseInt(undefined, 10)` returns NaN and the `|| 1` fallback already
covers it, so the `|| '1'` default was redundant.
2026-07-26 18:49:59 +02:00
Federico D'Eredità cb035fdc1a feat(queries): add BOUNCE_THRESHOLD and enhance bounce calculation logic
Updated bounce calculations to account for visits with custom events
(`EVENT_TYPE.customEvent`). A visit counts as a bounce only when its
custom event count is below `BOUNCE_THRESHOLD`, so engaged single
pageview visits are no longer misreported.

Since #3614 was opened v3 moved `getInsights` into `getBreakdown` and
copied the old formula into the channel, pageview and session
breakdowns, so those are updated too.
2026-07-26 18:49:59 +02:00
Federico D'Eredità 19fcde2c9c refactor(queries): replace hardcoded event types with constants
Replaced hardcoded `event_type` values with named constants from
`EVENT_TYPE`, as in #3614. Added the `BOUNCE_THRESHOLD` constant and
documented it in `docker-compose.yml`.
2026-07-26 18:49:58 +02:00
Mike Cao fb56a8f922 Merge branch 'dev' into fix/improve-ir-fa-support 2026-07-25 10:42:33 -07:00
Mike Cao 7bbf3f8ff6 Merge pull request #4302 from m0sth8/manifest-crossorigin-use-credentials
Send credentials when fetching the web app manifest (crossorigin="use-credentials")
2026-07-24 21:27:12 -07:00
Mike Cao 0714ebdbe3 Merge pull request #4397 from Sagittarius/codex/clickhouse-22-date-format
fix: support ClickHouse 22 date formats
2026-07-24 21:26:39 -07:00
Mike Cao 08030db836 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-07-24 18:49:23 -07:00
Mike Cao dab6180056 Escape channel metrics literals and bypass website transfer lookup for admins 2026-07-24 18:49:02 -07:00
Francis Cao 44eb78f553 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-07-24 15:47:05 -07:00
Francis Cao f9850f02b3 add session delete feature to relational only. add test, share conditions, and permissions. Closes #2940 2026-07-24 15:47:01 -07:00
Mike Cao 8148d775b0 Add coverage for send route and core permission and query logic 2026-07-24 15:27:17 -07:00
Mike Cao 0b31d3a274 Mark Hebrew locale as RTL 2026-07-24 14:36:54 -07:00
Mike Cao 65e810ec79 Add coverage for core utility behavior 2026-07-24 13:52:37 -07:00
Francis Cao 3b4d5b9575 2FA reset feature 2026-07-24 10:46:19 -07:00
Francis Cao 896d63df94 add new test files and fix migration 2026-07-24 08:45:17 -07:00
Mike Cao b70eda56e6 Merge pull request #4394 from luca-seemann/fix/client-ip-header-xff-chain
Fix client IP resolution when CLIENT_IP_HEADER is set to x-forwarded-for
2026-07-23 15:27:51 -07:00
Mike Cao c573a2bdb3 Merge pull request #4374 from brantsrasmus/fix/session-modal-dismiss-outside-click
fix: dismiss session modals when clicking the side margins
2026-07-23 14:59:38 -07:00
Mike Cao 33ac648d1f Merge pull request #4402 from sarmah-rup/fix/format-long-number-billions
fix: formatLongNumber shows billions ~1000x too large on metric tiles
2026-07-23 14:21:08 -07:00
Francis Cao 32170eed00 2FA migration and schema clean-up 2026-07-23 12:46:55 -07:00
Francis Cao 13d18c0880 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-07-23 11:50:39 -07:00
Francis Cao d05d9c4f34 Session and event property filtering. Closes #2945. Closes #4008. 2026-07-23 11:50:35 -07:00
Mike Cao 36bd9d33b8 Merge pull request #4205 from boutterudy/feat-2FA
feat(login): add 2FA
2026-07-23 11:45:20 -07:00
Mike Cao aafe068bc1 Merge branch 'dev' into feat-2FA 2026-07-23 11:14:59 -07:00