Set ZenProvider to use theme="light" to ensure consistent light mode
across all contexts regardless of system preferences or iframe embedding.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Configure ZenProvider to use colorScheme="system" to consistently respect
OS/browser dark mode preference across all contexts including iframes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This file provides guidance to Claude Code when working in the repository.
Key sections include:
- Niteshift sandbox configuration status
- Rapid UI prototyping guide with component library usage
- Data fetching patterns with React Query
- State management with Zustand
- Common UI patterns and code examples
- Project architecture overview
Optimized for Niteshift sandbox environment where dev server and
database are pre-configured and running.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- 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>
Move navigation logic from render to useEffect to prevent React warning
about state updates during render. Use ref to track redirect state and
handle both cloud mode (window.location.assign) and standard mode
(router.replace) navigation.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: add niteshift setup script for umami application
* refactor: switch dev setup to use dev server with hot reload instead of production build
* feat: add unified logging to development server output
Allow dev server logs to be written to both /tmp/umami-server.log and NITESHIFT_LOG_FILE when configured, enabling centralized log aggregation.
* refactor: simplify dev server logging to use single log file
Consolidate dual logging logic into single append to LOG_FILE,
simplify error reporting to reference the configured log file,
and remove unnecessary /tmp/umami-server.log references.