{{/* Editor surface — matches switchboard-prototype-editor.jsx. IDE-like layout: topbar + file tree + tabs + code + chat pane. editor-mode.js builds CodeMirror, file tree, etc. */}} {{define "surface-editor"}}
{{/* Top Bar */}}
Back
{{if .Data}}{{.Data.WorkspaceName}}{{else}}Editor{{end}}
main
{{/* Body: tree + editor + chat */}}
{{/* File Tree */}}
Files
{{/* Populated by editor-mode.js */}}
{{/* Main Editor Area */}}
{{/* Tabs */}}
{{/* Populated by editor-mode.js */}}
{{/* Code Content */}}

Open a file to start editing

Select from the file tree or Ctrl+P

{{/* Status Bar */}}
Ready
{{/* Chat Pane (resizable) */}}
{{end}} {{/* CSS: loaded via base.html (variables, layout, primitives, modals, chat, panels, surfaces, splash) */}} {{define "css-editor"}} {{end}} {{/* Scripts */}} {{define "scripts-editor"}} {{end}}