From b2fb8d7ab3ced6363adf6e815fa84b3655ce7aa5 Mon Sep 17 00:00:00 2001 From: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Date: Mon, 1 Jun 2026 20:01:56 +0800 Subject: [PATCH] fix(showcase): use supported ai:input block + bump objectui console pin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - examples/app-showcase: the component-gallery page referenced `ai:chat_window`, which the Console intentionally does not register as an inline page component (the floating chatbot overlay is the canonical entry point), so it surfaced a loud "Unknown component type". Switch to the supported `ai:input` inline AI block. - Bump .objectui-sha to pick up objectstack-ai/objectui#1431, which fills the Console field-widget and dashboard chart-type renderer registry gaps (toggle/multiselect/radio/checkboxes/tags/color/slider/rating/code/… fields and column/spline/pyramid/radar/kpi/bullet/… charts). Co-Authored-By: Claude Opus 4.8 --- .objectui-sha | 2 +- examples/app-showcase/src/pages/index.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.objectui-sha b/.objectui-sha index ea81f2c3d..8210bf303 100644 --- a/.objectui-sha +++ b/.objectui-sha @@ -1 +1 @@ -97468a164ab4efd64558e40ac0268fbe5a49e2bb +0af951fc15e335fc9ccf840cd8dd6587b0d0aded diff --git a/examples/app-showcase/src/pages/index.ts b/examples/app-showcase/src/pages/index.ts index ea74ea36e..089f6432b 100644 --- a/examples/app-showcase/src/pages/index.ts +++ b/examples/app-showcase/src/pages/index.ts @@ -45,7 +45,11 @@ export const ComponentGalleryPage: Page = { name: 'sidebar', width: 'small', components: [ - { type: 'ai:chat_window', properties: { agentName: 'showcase_assistant' } }, + // NOTE: `ai:chat_window` is intentionally NOT a supported inline page + // component — the canonical chat entry point is the floating chatbot + // overlay (plugin-chatbot), so referencing it here surfaces a loud + // "Unknown component type". Use a supported inline AI block instead. + { type: 'ai:input', properties: { agentName: 'showcase_assistant', placeholder: 'Ask the showcase assistant…' } }, ], }, ],