{{/* Editor surface — v0.25.0 rebuild. Three-pane layout: files | code-editor | Uses PaneContainer for resizable splits and tabbed right pane. Components are SERVER-RENDERED via Go template partials into hidden containers (#editorComponents). The boot script moves them into pane slots created by PaneContainer. This ensures full DOM parity with the chat surface — same buttons, same features, same behavior. */}} {{define "surface-editor"}}
{{/* ── Top Bar ─────────────────────────── */}}
Back
{{/* Workspace selector dropdown */}}
{{/* Populated by JS */}}
{{template "user-menu" dict "ID" ""}}
{{/* ── Pane Body ───────────────────────── */}}
{{/* ── Bootstrap (no workspace) ────────── */}} {{/* ── Server-Rendered Components ──────── */}} {{/* Hidden until moved into pane slots by editor-surface.js. Full DOM from Go template partials = feature parity with chat surface. */}}
{{end}} {{/* ── CSS ─────────────────────────────────── */}} {{define "css-editor"}} {{end}} {{/* ── Scripts ─────────────────────────────── */}} {{define "scripts-editor"}} {{end}}