feat(ui): add Docker Compose file editor autocomplete

- Implement Docker Compose file autocompletion in CodeMirror
- Add comprehensive suggestions for top-level and service-level keys
- Include a JSON schema for Docker Compose file validation
- Enhance code editor with intelligent YAML editing support
This commit is contained in:
Mauricio Siu
2025-03-09 13:00:22 -06:00
parent 6287f3be4a
commit 64643c11aa
5 changed files with 1244 additions and 35 deletions
@@ -97,6 +97,7 @@ export const ComposeFileEditor = ({ composeId }: Props) => {
<div className="flex flex-col gap-4 w-full outline-none focus:outline-none overflow-auto">
<CodeEditor
// disabled
language="yaml"
value={field.value}
className="font-mono"
wrapperClassName="compose-file-editor"