From 37781a4791460087b7695def67b74eabf5d8b3a3 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Sat, 14 Mar 2026 13:28:56 -0400 Subject: [PATCH] fix: replace popup Monaco editor with fullscreen overlay MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Monaco can't mount in a popup window — it references document.activeElement from the main window context, causing cross-window DOM errors. Replaced with a fullscreen overlay teleported to : - Same dark theme toolbar with save/close/dirty indicator - Ctrl+S to save, Esc to close - Status bar shows language and keyboard shortcuts - File tree stays visible underneath (overlay dismisses to it) Co-Authored-By: Claude Opus 4.6 --- frontend/components/sftp/SftpSidebar.vue | 230 ++++++++++------------- 1 file changed, 103 insertions(+), 127 deletions(-) diff --git a/frontend/components/sftp/SftpSidebar.vue b/frontend/components/sftp/SftpSidebar.vue index 88a3daa..6445012 100644 --- a/frontend/components/sftp/SftpSidebar.vue +++ b/frontend/components/sftp/SftpSidebar.vue @@ -1,5 +1,5 @@