# 2026-05-19-file-editor dir: 2026-05-19-file-editor index: 2026-05-19-file-editor/.pi-map.index.md ## role Design and planning documentation for a next-generation file editor component with view/edit modes, syntax highlighting, and git integration ## files - .openspec.yaml | Defines an OpenSpec configuration file with schema type and creation date metadata - design.md | Design specification for a file editor component that replaces FileViewer with view/edit modes, syntax highlighting, and git commit integration | dep: react-simple-code-editor, prismjs, existing API endpoints (GET/POST /projects/{id}/repositories/{id}/files/content) - proposal.md | Design proposal for adding syntax highlighting and in-browser editing capabilities to a repository file viewer with Git commit integration | dep: react-simple-code-editor, Prism.js, existing PUT /files/content API endpoint - tasks.md | Project task list tracking implementation phases for a file editor component with syntax highlighting, editing, and commit capabilities | dep: react-simple-code-editor, prismjs, @types/prismjs, TypeScript, ESLint, ruff, mypy ## arch Specification-driven development using OpenSpec schema definitions, phased milestone tracking, and iterative design documentation (design doc → proposal → task breakdown) ## tags editor, design, syntax, highlighting, commit, react, simple, code ## symbols - ## workflows - ## dirty -