Commit Graph
6152 Commits
Author SHA1 Message Date
Francis CaoGitHubgreptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
9fafd0cfd4 Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-06-22 21:58:39 -07:00
kyzenfr4 48f73b95ac fix: wrap long distinct ids in session info 2026-06-17 16:23:31 +00:00
Mike Cao c0ea3aefbe Migrate tests to Vitest 2026-05-14 22:05:34 -07:00
Mike CaoandGitHub cbe4d79b3c Merge pull request #4260 from yancat160/fix/chart-canvas-overflow-on-resize
fix: keep charts responsive when the viewport resizes
2026-05-14 22:43:38 -04:00
Mike CaoandGitHub 5e773bd9c7 Merge pull request #4272 from umami-software/dependabot/npm_and_yarn/next-16.2.6
Bump next from 16.2.4 to 16.2.6
2026-05-14 12:54:19 -04:00
dependabot[bot]andGitHub 2eb25596fb Bump next from 16.2.4 to 16.2.6
Bumps [next](https://github.com/vercel/next.js) from 16.2.4 to 16.2.6.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v16.2.4...v16.2.6)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 16.2.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-14 16:54:00 +00:00
Mike CaoandGitHub f2b6064b52 Merge pull request #4265 from umami-software/dependabot/npm_and_yarn/fast-uri-3.1.2
Bump fast-uri from 3.1.0 to 3.1.2
2026-05-14 12:52:26 -04:00
Mike CaoandGitHub bbde258dba Merge pull request #4258 from umami-software/dependabot/npm_and_yarn/hono-4.12.18
Bump hono from 4.12.9 to 4.12.18
2026-05-14 12:52:04 -04:00
Mike CaoandGitHub c3c10f4262 Merge pull request #4253 from umami-software/dependabot/npm_and_yarn/next-intl-4.9.2
Bump next-intl from 4.8.3 to 4.9.2
2026-05-14 12:51:43 -04:00
dependabot[bot]andGitHub d7c6a760be Bump next-intl from 4.8.3 to 4.9.2
Bumps [next-intl](https://github.com/amannn/next-intl) from 4.8.3 to 4.9.2.
- [Release notes](https://github.com/amannn/next-intl/releases)
- [Changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/next-intl/compare/v4.8.3...v4.9.2)

---
updated-dependencies:
- dependency-name: next-intl
  dependency-version: 4.9.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-14 16:50:47 +00:00
Mike CaoandGitHub 995186b3c5 Merge pull request #4252 from umami-software/dependabot/npm_and_yarn/icu-minify-4.11.0
Bump icu-minify from 4.8.4 to 4.11.0
2026-05-14 12:50:20 -04:00
Mike CaoandGitHub 56e3ea6f14 Merge pull request #4238 from umami-software/dependabot/npm_and_yarn/uuid-14.0.0
Bump uuid from 13.0.0 to 14.0.0
2026-05-14 12:48:58 -04:00
Mike CaoandGitHub 55dcf45d24 Merge pull request #4206 from umami-software/dependabot/npm_and_yarn/postcss-8.5.10
Bump postcss from 8.5.8 to 8.5.10
2026-05-14 12:48:38 -04:00
Mike CaoandGitHub 9c1db27218 Merge pull request #4099 from sputnik-mac/fix/redirect-logged-in-user-from-login-4094
fix: redirect logged-in users from login page to dashboard
2026-05-14 05:55:33 -04:00
dependabot[bot]andGitHub 27f6a27b59 Bump fast-uri from 3.1.0 to 3.1.2
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.0...v3.1.2)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 23:35:33 +00:00
Yan 54e038f423 clip the canvas wrapper to suppress first-paint overflow
Address Greptile P2 review on PR #4260. Before Chart.js' first
ResizeObserver callback fires the canvas keeps its HTML5 default
size of 300x150. With position: absolute that no longer pushes any
ancestor's intrinsic size, but on a wrapper narrower than 300px the
canvas can still poke past the wrapper for one frame before Chart.js
catches up. Adding overflow: hidden to the relative wrapper clips
that transient overflow and is the pattern Chart.js' own docs
recommend for responsive charts inside flex / grid layouts. No
steady-state behaviour change because the canvas is already sized to
the wrapper once Chart.js takes over; the React tooltip lives
outside this wrapper so it remains visible.
2026-05-08 15:25:14 -04:00
Yan cdc29a812f keep charts responsive when the viewport resizes
The chart canvas in src/components/charts/Chart.tsx was rendered
directly inside the Box wrapper. Chart.js writes inline pixel sizes
onto the canvas, and while the canvas lives in the normal flow that
pixel width propagates up as min and max content through every flex
parent and into the surrounding CSS Grid track on the Tabs panel.
The track therefore stayed at whatever width the canvas had when the
page first loaded, and the chart could only grow on resize, never
shrink, until the user reloaded.

Wrap the canvas in a position-relative div and position the canvas
absolutely. Out-of-flow elements do not contribute to ancestor
intrinsic sizing, so the wrapper now takes its size purely from the
parent layout. Chart.js' ResizeObserver picks up the wrapper size and
resizes the canvas to fit, in both directions, without a reload.

Verified in playwright with resize 1280 to 800 (canvas 925 to 699)
and 800 to 1400 (canvas 699 to 1117), both without reload, and that
the click-to-toggle legend, the focusLabel hover behaviour, and the
website overview / revenue charts that share this component all
still render and update normally.
2026-05-08 10:16:58 -04:00
dependabot[bot]andGitHub aee0ec6614 Bump hono from 4.12.9 to 4.12.18
Bumps [hono](https://github.com/honojs/hono) from 4.12.9 to 4.12.18.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.9...v4.12.18)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.18
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 12:31:22 +00:00
dependabot[bot]andGitHub 767bdcc43e Bump icu-minify from 4.8.4 to 4.11.0
Bumps [icu-minify](https://github.com/amannn/next-intl) from 4.8.4 to 4.11.0.
- [Release notes](https://github.com/amannn/next-intl/releases)
- [Changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/next-intl/compare/v4.8.4...v4.11.0)

---
updated-dependencies:
- dependency-name: icu-minify
  dependency-version: 4.11.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-07 23:53:36 +00:00
dependabot[bot]andGitHub 2e9aaf3ae7 Bump uuid from 13.0.0 to 14.0.0
Bumps [uuid](https://github.com/uuidjs/uuid) from 13.0.0 to 14.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v13.0.0...v14.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 14.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-06 00:44:55 +00:00
Mike CaoandGitHub a9508e7aae Merge pull request #4200 from yhyasyrian/syrian-flag
The Syrian flag has changed
2026-05-04 19:40:36 -04:00
Mike Cao 62c214d7c5 Add CONTRIBUTING.md. 2026-05-01 15:34:07 -07:00
dependabot[bot]andGitHub da10ea17e7 Bump postcss from 8.5.8 to 8.5.10
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.8 to 8.5.10.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.8...8.5.10)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.10
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 23:33:02 +00:00
Yhya syrianandGitHub f60a9fd187 The Syrian flag has changed 2026-04-24 08:58:39 +03:00
Mike CaoandGitHub c78ff36db0 Merge pull request #4162 from umami-software/dev
v3.1.0
2026-04-16 18:57:37 -04:00
Mike CaoandGitHub f15547e92b Merge pull request #4147 from lawrence3699/fix/postgres-implicit-alias-syntax-error
fix: add explicit AS for column alias in session and event queries (Postgres syntax error)
2026-04-16 15:44:38 -04:00
Mike CaoandGitHub b16b30ca9f Merge branch 'dev' into fix/postgres-implicit-alias-syntax-error 2026-04-16 15:44:26 -04:00
Mike CaoandGitHub 6ae3ed5b19 Merge pull request #4158 from Mravuri96/patch-1
Update build-docker script to include recorder
2026-04-16 15:41:41 -04:00
Mahesh RavuriandGitHub c80f9f0aa2 Update build-docker script to include recorder 2026-04-16 06:18:32 -07:00
Mike Cao 8b04be48de Revert next config. 2026-04-15 22:02:48 -07:00
Mike Cao 5f314b9a95 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-04-15 21:04:24 -07:00
Mike Cao 002a50ce8b Changed output for Vercel. 2026-04-15 21:04:05 -07:00
Francis Cao ea8ebb1a54 update RRWebplayer config to fix seek issues and warning suppression 2026-04-15 20:17:50 -07:00
Mike Cao 80fee9f321 fix blank screen by using router.replace instead of redirect in useEffect 2026-04-15 20:04:30 -07:00
Francis Cao 66a5881fde fix sessionreplay seek issues 2026-04-15 19:56:50 -07:00
Mike Cao 7b8403c0cc Updated nextjs. Changed middleware to proxy. 2026-04-15 18:25:14 -07:00
Francis Cao 137fd6fd5c fix ambiguoius session_id errors 2026-04-15 15:12:02 -07:00
Francis Cao 9d477b25b4 Fix share page permissions 2026-04-15 14:55:28 -07:00
Mike Cao f41c0221c4 fix docker prisma migrate and remove stray query log 2026-04-15 14:22:04 -07:00
Mike Cao 1b6fc1bd51 Use local Link wrapper with cloud-mode prefetch default 2026-04-15 11:21:49 -07:00
Francis Cao 0b4d8040b7 Merge branch 'analytics' of https://github.com/umami-software/umami into dev 2026-04-15 11:03:19 -07:00
Francis Cao 28cfcd0c80 disable active link 2026-04-15 11:02:46 -07:00
Francis Cao 17a31820fa fix filters persisting across website change 2026-04-15 10:55:30 -07:00
Francis Cao 04eb4b675e 3.1 relational bug fixes 2026-04-15 10:31:21 -07:00
Francis Cao b7f51b3b01 clean-up stylelint dependencies. using biome 2026-04-14 09:42:54 -07:00
Francis Cao d116cf2b1f fix boards migration drift 2026-04-14 09:27:07 -07:00
Francis Cao a87d899e17 fix sharetoken permissions on mixed boards 2026-04-13 11:32:47 -07:00
Francis Cao 5e6f88f123 fix board share permissions 2026-04-13 11:15:28 -07:00
Francis Cao 3a31ad35b0 revert tracker double init logic 2026-04-11 10:48:22 -07:00
lawrence3699 3f44ec7b7d fix: add explicit AS keyword for PostgreSQL column alias in session and event queries
The session and event expanded metrics queries use implicit column
aliasing (`${column} name`) which causes a PostgreSQL syntax error
when the column name (like `os`) is followed by `name` without `AS`.

PostgreSQL parses `os name` ambiguously and fails with:
  syntax error at or near "name"

The sibling file getPageviewExpandedMetrics.ts already uses the correct
`${column} as name` pattern. This applies the same fix to the session
and event queries.

Fixes #3970
2026-04-10 11:46:53 +10:00