Ops-dashboard/app/caddy/_components
Scrum4Me Agent 8b72a00127 feat(caddy): replace textarea with CodeMirror 6 editor in caddy-editor
Replaces the plain textarea on /caddy/edit with a CodeMirror 6 component
that provides live Caddyfile syntax highlighting (keywords, named matchers,
comments). The editor is dynamically imported (ssr: false) to prevent
hydration errors. The write/validate/save/reload state machine and content
flow remain unchanged.

Bundle impact: ~300 kB additional for the /caddy/edit route (CodeMirror 6
core + @uiw/react-codemirror).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 23:39:29 +02:00
..
caddy-codemirror.tsx feat(caddy): replace textarea with CodeMirror 6 editor in caddy-editor 2026-05-13 23:39:29 +02:00
caddy-editor.tsx feat(caddy): replace textarea with CodeMirror 6 editor in caddy-editor 2026-05-13 23:39:29 +02:00
caddy-view.tsx feat(security): rate-limit /api/flows/start, CSRF double-submit cookie, CSP headers 2026-05-13 20:01:43 +02:00