This is an automated email from the ASF dual-hosted git repository.

pierrejeambrun pushed a commit to branch v3-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-2-test by this push:
     new 86d3f5416b6 [v3-2-test] Restore Monaco find widget in Dag Code view 
(#67391) (#67579)
86d3f5416b6 is described below

commit 86d3f5416b6913633ed8bdfb213a32db7e3c5bdf
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed May 27 10:42:17 2026 +0200

    [v3-2-test] Restore Monaco find widget in Dag Code view (#67391) (#67579)
    
    (cherry picked from commit e56da19202c9de91da521345f0bc4ee2ca5f9e44)
    
    Co-authored-by: Yeonguk Choo <[email protected]>
---
 .../src/airflow/ui/src/components/MonacoEditor/configureMonaco.ts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/airflow-core/src/airflow/ui/src/components/MonacoEditor/configureMonaco.ts 
b/airflow-core/src/airflow/ui/src/components/MonacoEditor/configureMonaco.ts
index 911cc489df1..66af2adee05 100644
--- a/airflow-core/src/airflow/ui/src/components/MonacoEditor/configureMonaco.ts
+++ b/airflow-core/src/airflow/ui/src/components/MonacoEditor/configureMonaco.ts
@@ -25,13 +25,13 @@ type MonacoEnvironment = {
 let configurationPromise: Promise<void> | undefined;
 
 const loadMonacoModules = async () => {
-  // `editor.api` is API-only — also load the folding contribution so 
`editor.foldAll` /
-  // `editor.unfoldAll` actions and the fold-gutter UI are actually 
registered, and the
-  // codicon styles so the gutter glyph (the `>` arrow) renders instead of an 
empty box.
-  // The CDN bundle used to pull these in transitively; the local ESM 
`editor.api` does not.
+  // `editor.api` is API-only — the contribs/styles below must be side-effect 
imported
+  // to register their actions and render their glyphs. The CDN bundle pulled 
these in
+  // transitively; the local ESM build does not.
   const monacoApi = Promise.all([
     import("monaco-editor/esm/vs/editor/editor.api"),
     import("monaco-editor/esm/vs/editor/contrib/folding/browser/folding"),
+    import("monaco-editor/esm/vs/editor/contrib/find/browser/findController"),
     import("monaco-editor/esm/vs/base/browser/ui/codicons/codiconStyles"),
   ]).then(([api]) => api);
 

Reply via email to