Commit graph

5672 commits

Author SHA1 Message Date
Mike Cao
170821e2f9 Populate teams on login.
Closes #3796
2025-12-02 13:45:49 -08:00
Francis Cao
935517ce3a add cascading deletes to revenue/segment table
Closes #3798
2025-12-02 09:41:46 -08:00
Arthur Sepiol
c481bc5dcc chore: exclude seed scripts from Docker builds 2025-12-02 20:25:25 +03: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
Mike Cao
f5896f071b Handle user account redirect.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-12-01 23:33:57 -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
Mike Cao
b0c1f9041d
Merge pull request #3760 from umami-software/dependabot/npm_and_yarn/js-yaml-3.14.2
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Bump js-yaml from 3.14.1 to 3.14.2
2025-12-01 15:25:48 -08:00
Francis Cao
cb034a1371 prisma schema boards + varchar length increase
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-12-01 11:34:43 -08:00
Mike Cao
4b954fbc7c
Merge pull request #3806 from prince0xdev/feat/thumbnail-team-memory
Add favicon icons and auto-redirect to last selected team
2025-12-01 10:43:58 -08:00
Mike Cao
f5d6d0ebaf
Merge branch 'dev' into feat/thumbnail-team-memory 2025-12-01 10:43:48 -08:00
Mike Cao
3071ee8b88
Merge branch 'dev' into 3802-team-to-user-switch 2025-12-01 10:12:19 -08:00
Indra Gunawan
b16b98ffe8
Merge branch 'dev' into support-uuidv7 2025-12-01 17:02:26 +08:00
Indra Gunawan
4d70c3baf1 add support for UUID v7 2025-12-01 16:48:58 +08:00
RaenonX
c86ea1a74f
Updated /api/batch to return cache 2025-12-01 04:06:17 +08:00
RaenonX
805bc57bbb
Added browser / os / device override in payload 2025-12-01 04:06:17 +08:00
RaenonX
92a7355ce3
Fixed /api/batch request recreation failure 2025-12-01 04:06:10 +08:00
Mike Cao
875c03bca1
Merge pull request #3801 from Lokimorty/skip-realtime-anim
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
fix: skip realtime chart animation when data unchanged
2025-11-29 23:31:36 -08:00
Prince EKPINSE
e5a5aeecb5 feat(#3748): redirect user to last selected team on login 2025-11-29 16:54:45 +01:00
Prince EKPINSE
046cb6ef62 feat(#3748): restore favicon icons in websites list 2025-11-29 16:43:21 +01:00
Prince EKPINSE
beb2bc0a06 feat: improve mobile navigation with clickable page elements (#3770) 2025-11-29 13:53:32 +01:00
Prince EKPINSE
776e404c6f fix: [#3778] update 'Edit' word to support translation 2025-11-29 12:40:22 +01:00
conorbranagan
d7642aec11
Extend test data to 60 days for realistic comparisons
When viewing "Last 30 days", the previous 30 days now also has data,
resulting in realistic percentage changes instead of 174233%.
2025-11-28 23:12:16 -05:00
Mike Cao
3379cc6e89 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	pnpm-lock.yaml
2025-11-28 00:34:12 -08:00
Mike Cao
d7fd22645c Fixed nav menus. 2025-11-28 00:33:53 -08:00
Syed Abdullah
50bfee3328 Moved the redirect to else statement 2025-11-28 06:30:22 +00:00
Syed Abdullah
a645dc7ba5 Issue#3802 - Team to user switch fixed 2025-11-28 06:10:19 +00: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
Arthur Sepiol
f5b5f159ec fix: skip realtime chart animation when data unchanged 2025-11-28 02:17:16 +03: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
Francis Cao
5c9403f748 Merge branch 'analytics' of https://github.com/umami-software/umami into dev 2025-11-26 11:03:50 -08:00
Francis Cao
ac6ed9d762 add case-insensitivity to currency comparison
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-11-26 11:01:58 -08:00
Sajid Mehmood
23a3c6cf6b Fix dials HMR by using window-based singleton
The static class property singleton pattern doesn't survive HMR
when module boundaries get crossed. New dials would register with
a fresh registry instance while DialsOverlay stayed subscribed to
the old one.

Fix: Store the singleton on `window.__NITESHIFT_DIALS_REGISTRY__`
so it persists across module re-evaluations during hot reload.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 11:46:02 -05: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
5ea2a8659c
Merge pull request #3755 from Maxime-J/docker-prisma-engine
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Permit Docker use in read-only mode and/or offline env.
2025-11-25 21:33:37 -08:00
Mike Cao
a19b92a5cb
Merge pull request #3756 from Abrar74774/master
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
docs: remove underlines between badges in README.md
2025-11-25 21:31:35 -08:00
KC Beard
f4d0a65b16
Merge pull request #102 from niteshiftdev/kc/umami
fix login
2025-11-26 00:18:32 -05:00
Mike Cao
dcc1ae1864
Merge pull request #3787 from RaenonX/master
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Fixed `/api/batch` request recreation failure
2025-11-25 16:08:02 -08:00
Mike Cao
5a44e6deb2
Merge pull request #3791 from travzhang/master
fix: fix SQL syntax error in getPageviewExpandedMetrics query
2025-11-25 16:05:58 -08:00
KC Beard
cf530ba100 fix login 2025-11-25 15:54:38 -05:00
Sajid Mehmood
596784d6a0 Change default date range from 24 hours to 30 days
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 13:56:18 -05:00
Travis Zhang
67e1af7e55
fix: fix SQL syntax error in getPageviewExpandedMetrics query 2025-11-25 21:13:35 +08:00
Yann
a78994c351
Merge pull request #83 from niteshiftdev/yann/ns-107/skip-prebake-sync-on-resume
Skip prebake sync on resume
2025-11-24 16:14:40 -05:00
Yann MAHE
2a1997ad36 Add prebake sync sentinel for resume fast path 2025-11-24 15:39:37 -05:00
Yann
67d90e2ee5
Merge pull request #81 from niteshiftdev/yann/ns-107/remove-dev-server-wait
Remove dev server readiness check from setup script
2025-11-24 13:23:57 -05:00
Yann MAHE
e72f6ef268 Remove dev server readiness check from setup script
The 60-second polling loop that waits for the dev server to respond
adds unnecessary setup time. The warmup step that follows already has
a timeout, so we can proceed directly to it.
2025-11-24 13:13:19 -05:00
RaenonX
2b34cbeb37
Fixed /api/batch request recreation failure 2025-11-24 08:07:31 +08:00
Yann
fa0a665ab7
Merge pull request #76 from niteshiftdev/yann/ns-107/prebaked-db-sentinel
Run DB setup once in prebaked flow
2025-11-23 11:05:36 -05:00
Yann MAHE
85c99ce135 Run prebaked DB setup once per sandbox 2025-11-23 10:58:31 -05:00
Yann
cd5091e50c
Merge pull request #75 from niteshiftdev/yann/ns-107/skip-prebaked-install-on-resume
Skip pnpm install on prebaked resume
2025-11-23 10:04:55 -05:00