Commit graph

656 commits

Author SHA1 Message Date
conorbranagan
80987f8548
Merge upstream umami v3.0.3 into master
Sync fork with latest upstream changes from umami-software/umami.
Resolves conflicts while preserving niteshift customizations:
- Dials SDK integration for runtime design prototyping
- Typography context for website metrics
- Overview Alt page with Sparkles icon
- Login redirect to /websites
- React Query cache seeding on login
- Node.js 20 LTS recommendation in README
2025-12-19 15:30:39 -05:00
Mike Cao
7bea47d9e8 Bumped version v3.0.3. Updated workflow. 2025-12-11 18:04:10 -08:00
Mike Cao
e9cdabab5a Upgraded react and next. 2025-12-11 17:58:20 -08:00
Mike Cao
33e927ed1f Bump version 3.0.2.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-12-03 23:01:22 -08:00
Mike Cao
64767b1896 Updated next. Fixed link RSC fetch. 2025-12-03 15:11:40 -08:00
Mike Cao
16cae691f6 Don't prefetch links/pixels. Closes #3814 2025-12-03 00:03:56 -08:00
Mike Cao
58acee8d25 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2025-12-02 23:32:53 -08:00
Mike Cao
a0940d78a7 Updated packages. 2025-12-02 23:32:44 -08:00
Mike Cao
b08413ebea
Merge branch 'dev' into seed-sample-data 2025-12-02 23:30:47 -08:00
Arthur Sepiol
b7807ed466 feat(dev): add sample data generator script
Adds a CLI tool to generate realistic analytics data for local development and testing.
Creates two demo websites with varying traffic patterns and realistic user behavior distributions.
2025-12-02 13:43:59 +03:00
conorbranagan
34373f6aae
Update test data generator for Hulu demo
- Change organization from Niteshift to Hulu (hulu.com domain)
- Update pages to streaming service structure (browse, watch, plans, etc.)
- Add realistic Hulu shows: The Bear, Shogun, Abbott Elementary, etc.
- Update custom events for streaming: play_video, complete_episode, etc.
- Add realistic referrers: review sites, entertainment news, deal sites
- Update revenue tiers to Hulu subscription plans ($7.99-$76.99)
- Convert script to TypeScript and use tsx for execution
- Update funnels, segments, and cohorts for streaming analytics
2025-11-27 23:03:38 -05:00
Francis Cao
3cc2c5b7a8 downgrade prisma until 3.1 release
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-11-26 11:09:21 -08:00
Sajid Mehmood
2727fd6dff Add Niteshift Dials SDK for runtime design prototyping
Introduces a complete design dials system that allows designers and PMs
to adjust UI parameters at runtime without code changes.

**Dials SDK (`packages/dials/`):**
- useDynamicColor: Color values with design system integration
- useDynamicSpacing: Spacing/padding/margin controls
- useDynamicVariant: Discrete choice selections
- useDynamicBoolean: Toggle/feature flag controls
- useDynamicNumber: Numeric values with min/max/step
- DialsOverlay: Compact Leva-inspired UI (Ctrl+D to toggle)
- DialsProvider: React context for dial state management
- Design manifest integration for design system tokens

**App Integration:**
- Added DialsProvider to app Providers
- Example dials on WebsitePage (metrics bar, panels, navigation)
- MetricCard component with adjustable typography dials
- TypeScript manifest at src/config/niteshift-manifest.ts

**Documentation:**
- Comprehensive CLAUDE.md section on dials usage
- Best practices for preserving original appearance
- Examples for all dial types

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 11:46:02 -05:00
Mike Cao
fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao
b9d52af215 Updated prisma. 2025-11-21 21:35:11 -08:00
Mike Cao
15fda927ce Switched to biome. 2025-11-20 20:56:16 -08:00
Mike Cao
5ded9abbfe Added data-fetch-credentials attribute. Closes #3644
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-13 19:42:04 -08:00
Yann
4d55d9eedb feat: specify pnpm package manager version 2025-11-13 22:49:20 +00:00
Mike Cao
8a66603d32 Responsive fixes. 2025-11-12 16:39:58 -08:00
Sajid Mehmood
dc8db69a6f Add test data generation script for Umami analytics
- Create generate-test-data.js script for generating realistic demo data
- Support for small (3 days), medium (14 days), and full (30 days) scales
- Generates realistic user sessions, pageviews, custom events, and revenue
- Includes geographic diversity, device variety, and traffic source distributions
- Implements proper UTM campaign tracking and conversion funnels
- Uses direct Prisma writes for performance (~10k sessions in 5 minutes)
- Add npm script: 'generate-test-data' for easy execution

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 14:51:50 -05:00
Mike Cao
067567cbf6 Force geo build with BUILD_GEO env var.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-31 00:13:02 -07:00
Mike Cao
d8fdba77db Updated packages. 2025-10-21 13:39:43 -07:00
Mike Cao
9a5604f236 Fixes for mobile.
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-18 01:12:45 -07:00
Mike Cao
40492ec7c4 Added DialogButton to handle mobile.
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-16 23:59:18 -07:00
Mike Cao
4d2a7ea947 Responsive everything. 2025-10-16 02:42:13 -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
8aa4192576 Responsive updates. 2025-10-09 17:14:09 -07:00
Mike Cao
767b373484 Fixed issue with read replica initialization.
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-06 14:49:36 -07:00
Mike Cao
dbc9525c9c Fixed docker build.
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-06 02:12:57 -07:00
Mike Cao
904c313a64 Always cache prisma. Renamed WebsiteMonthSelect to MonthFilter. 2025-10-03 18:06:18 -07:00
Mike Cao
25e8e18b73 Fix Avatar for Vercel. 2025-10-01 00:00:40 -07:00
Mike Cao
8a977b0164 Updated pixel/link endpoints. Added name to rawQuery. 2025-09-30 16:11:21 -07:00
Mike Cao
805b3ec853 WIP: Nav merge 2025-09-25 15:58:25 -07:00
Mike Cao
1b400da7b2 Fixed share page. Updated device detect. Updated teams fetch. 2025-09-25 11:21:44 -07:00
Mike Cao
980e4e6b41 Fixed funnel report saving invalid data.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-22 22:03:26 -07:00
Mike Cao
bf16ade184 Updated icons. 2025-09-22 20:11:31 -07:00
Mike Cao
e610de383a Fix for schema selection in pg adapter.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-11 12:37:24 -07:00
Mike Cao
67105f2cff Updated packages. 2025-09-10 17:16:04 -07:00
Mike Cao
aa7d3cd1aa New components build.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-08 22:52:43 -07:00
Mike Cao
303947fe9b Fixed uuid references in schemas.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-08 15:28:01 -07:00
Mike Cao
f40e1b44f3 Updates for cloud mode.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-04 20:27:42 -07:00
Mike Cao
dc1736458b Export metrics components.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-03 17:16:03 -07:00
Mike Cao
c4114f4349 Fixed build.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-02 09:27:37 -07:00
Mike Cao
c916e4ff9c Fixed components build. Renamed validations to permissions. 2025-09-02 09:23:35 -07:00
Mike Cao
f0ec24e8f5 Updated funnel edit form.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-01 20:18:38 -07:00
Mike Cao
56af91950a Updated components build. 2025-09-01 15:59:06 -07:00
Mike Cao
bab4f8ebcc Cohort selection. 2025-08-28 23:29:42 -07:00
Mike Cao
dfaebcd1b7 Updated Next, Prisma, react-zen. 2025-08-27 17:23:58 -07:00
Mike Cao
8c8e36c63b Cohorts editing. 2025-08-26 23:55:57 -07:00