Commit graph

1994 commits

Author SHA1 Message Date
Mike Cao
4e8be724ac Handle domain name in share URL path
Skip domain-like segments (containing dots) when parsing the share path.
e.g., /share/slug/aol.com is treated as /share/slug
      /share/slug/aol.com/events is treated as /share/slug/events

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 23:38:07 -08:00
Mike Cao
c9e14f3bce Restructure share routes to fix client-side navigation
- Change from [...shareId] catch-all to [slug]/[[...path]] structure
- Layout with ShareProvider now persists across sub-route navigation
- Add slug to ShareData context (separate from shareId UUID)
- Links now use slug instead of UUID for proper routing
- Remove unused ShareFooter and ShareHeader files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 23:32:51 -08:00
Mike Cao
d028bfa1f5 Move share page redirect logic to ShareProvider
Centralizes the single-section redirect logic in ShareProvider instead of
SharePage, reducing useEffect complexity and preventing children from
rendering during redirect.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 23:18:05 -08:00
Mike Cao
78d467b478 Redesigned share page. 2026-01-28 23:10:42 -08:00
Mike Cao
9d3f5ad0fd Merge remote-tracking branch 'origin/dev' into dev 2026-01-28 20:14:43 -08:00
Mike Cao
018e76b067 Fixed website nav. 2026-01-28 19:24:13 -08:00
Francis Cao
2df24a78ca bug fix. remove All time filter for websites with no data. 2026-01-28 18:05:34 -08:00
Francis Cao
9339383497 remove www. prefix from hostname during comparison. Closes #3256 2026-01-28 17:18:03 -08:00
Francis Cao
b84942b6da make SharesTable mobile friendly
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-28 10:48:13 -08:00
Francis Cao
558cb3b041 fix detest test failure 2026-01-28 09:26:07 -08:00
Francis Cao
c5aa8be15c remove missing imports
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-28 00:06:47 -08:00
Francis Cao
daccd22ab2 remove duplicate logos and names on sharepage 2026-01-27 23:58:31 -08:00
Francis Cao
b958403224 add mobile navbar to share page 2026-01-27 23:54:43 -08:00
Francis Cao
752f395d83 revert websitelayout changes 2026-01-27 22:47:29 -08:00
Francis Cao
c7a0d65590 add websiteheader to share page. Fix overview WebsiteNav Bug 2026-01-27 22:17:49 -08:00
Mike Cao
c3dad5b7ef Merge remote-tracking branch 'origin/dev' into dev 2026-01-27 18:51:05 -08:00
Mike Cao
9426de90f7 Fixed share path. 2026-01-27 18:50:53 -08:00
Francis Cao
c527819fd4 fix minute label formatting. Closes #3088 2026-01-27 18:22:39 -08:00
Mike Cao
f7bdd5c54e Merge remote-tracking branch 'origin/dev' into dev 2026-01-27 18:05:54 -08:00
Mike Cao
f32ab11785 Fixed bad reference. 2026-01-27 18:05:04 -08:00
Francis Cao
dde1c3a57a Increase website select pageSize to 20. Closes #3913 2026-01-27 17:07:14 -08:00
Francis Cao
67cdfdfb7e remove console.log from pixelstable
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-27 10:51:49 -08:00
Francis Cao
a0886c0594 Correctly pass in timezone into relational query. Closes #3975 2026-01-27 10:03:44 -08:00
Francis Cao
a37de757a0 fix EventsPage import errors
Some checks failed
Node.js CI / build (push) Has been cancelled
2026-01-26 23:37:13 -08:00
Francis Cao
f9f9125532 Fix user save bug with password field not clearing 2026-01-26 23:35:19 -08:00
Francis Cao
2f998ff9d8 implement showActions to pixels/links for viewonly users. 2026-01-26 23:26:40 -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
Francis Cao
1498da2d02 fix FilterButton import error
Some checks failed
Node.js CI / build (push) Has been cancelled
2026-01-26 15:26:02 -08:00
Francis Cao
4867492ca3 Fix breakdown alias column not found bug 2026-01-26 13:52:46 -08:00
Francis Cao
29a373467a Revert "Merge pull request #3972 from IndraGunawan/fix-inconsistent-date-format"
This reverts commit 5f316a79e5, reversing
changes made to 7bb30443a8.
2026-01-26 11:42:09 -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
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
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
fdafe13c35 Block share token from all editing permissions.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 19:13:49 -08:00
Mike Cao
e782c2e627 Block share token users from modifying reports via API.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 15:06:39 -08:00
Mike Cao
801a3ec6bb Hide add/edit buttons on share pages.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 14:51:46 -08:00
Francis Cao
128217c0f4 add event type filter button and implementation to journeys Close #2803
Some checks failed
Node.js CI / build (push) Has been cancelled
2026-01-24 10:09:10 -08:00
Mike Cao
4a09f2bff6 Share page changes. 2026-01-24 02:47:09 -08:00
Mike Cao
c9f6653b62 Redirect to single allowed section on share page. 2026-01-24 02:21:51 -08:00
Francis Cao
355fa1e9a9 increase minimum unit for day. Last 6 months includes current month
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-23 11:42:12 -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
3f173889ea Fix "name" alias for relational query to be compatible with Postgres 12. Closes #3970
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-22 22:04:11 -08:00
Mike Cao
af7f7adf5b Add name field to share feature and require at least one item selection.
- Add name field to ShareCreateForm and ShareEditForm
- Add name column to SharesTable
- Update API routes to handle name field
- Require at least one item to be selected before saving
- Display parameters in responsive 3-column grid in edit form

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 20:17:45 -08:00
Francis Cao
7a89bbf19f render links in event, session activity, realtime activity using hostname instead of domain.
Closes #2861
2026-01-22 19:29:25 -08:00
Mike Cao
4c9b2f10da Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-01-22 19:17:22 -08:00
Mike Cao
adea3e9b1c Merge branch 'analytics' into dev
# Conflicts:
#	.gitignore
#	src/app/api/share/[slug]/route.ts
#	src/app/share/[...shareId]/SharePage.tsx
2026-01-22 17:44:45 -08:00
Francis Cao
3fc41bdd08 clean-up canViewWebsite, use getEntity 2026-01-22 16:37:53 -08:00