From 471ba8647fa95abd17669174bccfb05e38f3e118 Mon Sep 17 00:00:00 2001 From: Mohab Sobhy Date: Thu, 19 Feb 2026 15:01:27 +0200 Subject: [PATCH 1/4] Add clean JupyterLite integration extension --- .../ClientApp/src/assets/jupyter/index.html | 11 ----------- .../ClientApp/src/assets/jupyter/requirements.txt | 3 +++ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/Analysim.Web/ClientApp/src/assets/jupyter/index.html b/src/Analysim.Web/ClientApp/src/assets/jupyter/index.html index 3e3cde58..e489bd54 100644 --- a/src/Analysim.Web/ClientApp/src/assets/jupyter/index.html +++ b/src/Analysim.Web/ClientApp/src/assets/jupyter/index.html @@ -30,17 +30,6 @@ await import( '../config-utils.js?_=dba8133' ); - - const originalConsoleLog = console.info; - console.log("copying files through dotnet run succeeded"); - console.info = function (...args) { - originalConsoleLog.apply(console, args); - if (args[0] && typeof args[0] === 'string' && args[0].includes('Pyodide contents will be synced with Jupyter Contents')) { - // Send a message to the parent window - console.log('Analysim: Sending jupyterlite-loaded message to window'); - window.parent.postMessage('jupyterlite-load', '*'); - } - }; }.call(this));