From c814d5988b1a61e1d93593f5473d656af941ebcf Mon Sep 17 00:00:00 2001 From: stevejpurves Date: Tue, 21 Nov 2023 14:28:12 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=95changeset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/purple-lobsters-vanish.md | 6 ++++++ .changeset/tiny-trees-cheer.md | 5 +++++ apps/demo-react/public/widget-test.ipynb | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .changeset/purple-lobsters-vanish.md create mode 100644 .changeset/tiny-trees-cheer.md diff --git a/.changeset/purple-lobsters-vanish.md b/.changeset/purple-lobsters-vanish.md new file mode 100644 index 00000000..eadf3f02 --- /dev/null +++ b/.changeset/purple-lobsters-vanish.md @@ -0,0 +1,6 @@ +--- +'thebe-react': minor +'thebe-core': minor +--- + +Improved handling of connection errors for local server and binder during the connection attempt and if the kernel or server connection fails. Also simplified the binder connection functionality. diff --git a/.changeset/tiny-trees-cheer.md b/.changeset/tiny-trees-cheer.md new file mode 100644 index 00000000..d3285025 --- /dev/null +++ b/.changeset/tiny-trees-cheer.md @@ -0,0 +1,5 @@ +--- +'demo-react': patch +--- + +Updated the demo to add examples of curfacing the different status and error feeds available; connection (server, session, kernel) vs execution (notebook, cell) diff --git a/apps/demo-react/public/widget-test.ipynb b/apps/demo-react/public/widget-test.ipynb index 461ab904..8f6055b1 100644 --- a/apps/demo-react/public/widget-test.ipynb +++ b/apps/demo-react/public/widget-test.ipynb @@ -93,7 +93,7 @@ "# borrowed from https://jupyterlite.readthedocs.io/en/latest/_static/lab/index.html\n", "\n", "slider = IntSlider()\n", - "\n", + "ERROR\n", "@interact(cookies=slider)\n", "def cookies(cookies=slider.value, calories=(0, 150)):\n", " total_calories = calories * cookies\n",