mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-13 16:02:59 +00:00
fix: preserve raw app editor focus during ai file updates
This commit is contained in:
@@ -994,9 +994,9 @@
|
||||
files = {}
|
||||
}
|
||||
files[path] = content
|
||||
// Combined setFilesAndSelect avoids a race, so let it do the telling.
|
||||
select({ kind: 'file', path }, { notifyIframe: false })
|
||||
setFilesAndSelectInIframe(files, path)
|
||||
// AI edits must not switch away from the file the user is editing.
|
||||
ensureFileTab(path)
|
||||
setFilesInIframe(files)
|
||||
return lint()
|
||||
},
|
||||
deleteFrontendFile: (path) => {
|
||||
|
||||
Reference in New Issue
Block a user