Commit Graph
9 Commits
Author SHA1 Message Date
kjanat 0dc999c971 chore: increase dependabot PR limit to 2 2026-01-24 08:11:54 +01:00
kjanat 123c225766 refactor: migrate middleware.ts to proxy.ts (Next.js 16) 2026-01-24 08:11:02 +01:00
kjanat 10b78e46cd fix: add ESLint flat config, upgrade to v9, remove stale tests 2026-01-24 08:09:12 +01:00
kjanat cd05fc8648 fix: resolve Prettier markdown code block parsing errors
- Fix syntax errors in skills markdown files (.github/skills, .opencode/skills)
- Change typescript to tsx for code blocks with JSX
- Replace ellipsis (...) in array examples with valid syntax
- Separate CSS from TypeScript into distinct code blocks
- Convert JavaScript object examples to valid JSON in docs
- Fix enum definitions with proper comma separation
2026-01-20 21:09:29 +01:00
kjanat 7932fe7386 fix: lazy-load Prisma client to fix build-time URL parsing
- Make Prisma client initialization lazy via Proxy
- Defer database-pool import until runtime
- Add guard for empty DATABASE_URL
- Build now succeeds with Next.js 16.1.4
2026-01-20 07:34:30 +01:00
kjanat 5bfd762e55 fix: comprehensive TypeScript/build fixes and modernization
- Update tsconfig to ES2024 target and bundler moduleResolution
- Add dynamic imports for chart.js and recharts (bundle optimization)
- Consolidate 17 useState into useReducer in sessions page
- Fix 18 .js extension imports across lib files
- Add type declarations for @rapideditor/country-coder
- Fix platform user types (PlatformUserRole enum)
- Fix Calendar component prop types
- Centralize next-auth type augmentation
- Add force-dynamic to all API routes (prevent build-time prerender)
- Fix Prisma JSON null handling with Prisma.DbNull
- Fix various type mismatches (SessionMessage, ImportRecord, etc.)
- Export ButtonProps from button component
- Update next-themes import path
- Replace JSX.Element with React.ReactElement
- Remove obsolete debug scripts and pnpm lockfile
- Downgrade eslint to v8 for next compatibility
2026-01-20 07:28:10 +01:00
kjanat 8b3846539f refactor: apply React best practices and migrate to ESLint CLI
- Dynamic import for WordCloud component (code splitting)
- Fix waterfall in handleRefresh with Promise.all
- Memoize data prep functions in overview page (7 useMemo hooks)
- Replace useState+useEffect with useMemo in CountryDisplay/LanguageDisplay
- Memoize navigationCards and class getters in dashboard page
- Extract inline handlers with useCallback
- Fix missing index parameter in TopQuestionsChart map
- Migrate from next lint to ESLint CLI (Next.js 16 deprecation)
2026-01-20 07:05:27 +01:00
kjanat a265f3236c Update README.md
Typo
2025-05-23 00:10:45 +02:00
kjanat be63dba540 Update playwright.yml
renamed step
2025-05-23 00:09:00 +02:00