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

choo121600 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new e56da19202c Restore Monaco find widget in Dag Code view (#67391)
e56da19202c is described below

commit e56da19202c9de91da521345f0bc4ee2ca5f9e44
Author: Yeonguk Choo <[email protected]>
AuthorDate: Wed May 27 07:08:46 2026 +0900

    Restore Monaco find widget in Dag Code view (#67391)
---
 .../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