Files
supervisor-ui/next.config.ts
Sebastian Krüger 5bda617339
Some checks failed
Build and Push Docker Image to Gitea / build-and-push (push) Failing after 53s
feat: add log viewer components and fix build issues
- Add LogViewer component with syntax highlighting and auto-scroll
- Add LogControls for play/pause, auto-scroll, refresh, download, clear
- Add LogSearch component with search highlighting
- Add Input UI component
- Fix TypeScript type issues in ProcessCard and types.ts
- Fix XML-RPC client type issues
- Add force-dynamic to layout to prevent SSR issues with client components
- Add mounted state to Navbar for theme toggle hydration
- Add custom 404 page

Components added:
- components/logs/LogViewer.tsx - Main log viewer with real-time display
- components/logs/LogControls.tsx - Control panel for log viewing
- components/logs/LogSearch.tsx - Search input for filtering logs
- components/ui/input.tsx - Reusable input component

Fixes:
- ProcessStateCode type casting in ProcessCard
- XML-RPC client options type (use any to avoid library type issues)
- canStartProcess/canStopProcess type assertions
- Dynamic rendering to prevent SSR hydration issues

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 18:43:55 +01:00

10 lines
284 B
TypeScript

import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
reactStrictMode: true,
// Note: Using default mode (not standalone) to avoid SSR issues with client components
// For Docker, we'll use regular server mode which works fine
};
export default nextConfig;