mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 13:32:08 +01:00
fix: improve dark mode compatibility and chart visibility
- Fix TopQuestionsChart with proper dark mode colors using CSS variables and shadcn/ui components - Enhance ResponseTimeDistribution with thicker bars (maxBarSize: 60) - Replace GeographicMap with dark/light mode compatible CartoDB tiles - Add custom text selection background color with primary theme color - Update all loading states to use proper CSS variables instead of hardcoded colors - Fix dashboard layout background to use bg-background instead of bg-gray-100
This commit is contained in:
22
CLAUDE.md
22
CLAUDE.md
@ -29,9 +29,11 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||
|
||||
**Testing:**
|
||||
|
||||
- `pnpm test` - Run tests once
|
||||
- `pnpm test:watch` - Run tests in watch mode
|
||||
- `pnpm test:coverage` - Run tests with coverage report
|
||||
- `pnpm test` - Run both Vitest and Playwright tests concurrently
|
||||
- `pnpm test:vitest` - Run Vitest tests only
|
||||
- `pnpm test:vitest:watch` - Run Vitest in watch mode
|
||||
- `pnpm test:vitest:coverage` - Run Vitest with coverage report
|
||||
- `pnpm test:coverage` - Run all tests with coverage
|
||||
|
||||
**Markdown:**
|
||||
|
||||
@ -115,16 +117,28 @@ Environment variables are managed through `lib/env.ts` with .env.local file supp
|
||||
|
||||
- Schedulers are optional and controlled by `SCHEDULER_ENABLED` environment variable
|
||||
- Use `pnpm dev:next-only` to run without schedulers for pure frontend development
|
||||
- Three separate schedulers handle different pipeline stages
|
||||
- Three separate schedulers handle different pipeline stages:
|
||||
- CSV Import Scheduler (`lib/scheduler.ts`)
|
||||
- Import Processing Scheduler (`lib/importProcessor.ts`)
|
||||
- Session Processing Scheduler (`lib/processingScheduler.ts`)
|
||||
|
||||
**Database Migrations:**
|
||||
|
||||
- Always run `pnpm prisma:generate` after schema changes
|
||||
- Use `pnpm prisma:migrate` for production-ready migrations
|
||||
- Use `pnpm prisma:push` for development schema changes
|
||||
- Database uses PostgreSQL with Prisma's driver adapter for connection pooling
|
||||
|
||||
**AI Processing:**
|
||||
|
||||
- All AI requests are tracked for cost analysis
|
||||
- Support for multiple AI models per company
|
||||
- Time-based pricing management for accurate cost calculation
|
||||
- Processing stages can be retried on failure with retry count tracking
|
||||
|
||||
**Code Quality Standards:**
|
||||
|
||||
- Run `pnpm lint` and `pnpm format:check` before committing
|
||||
- TypeScript with ES modules (type: "module" in package.json)
|
||||
- React 19 with Next.js 15 App Router
|
||||
- TailwindCSS 4 for styling
|
||||
|
||||
Reference in New Issue
Block a user