From b41684a6089234a393fa466804b823fe0d274815 Mon Sep 17 00:00:00 2001 From: stroblme Date: Sun, 1 Nov 2026 10:59:43 +0100 Subject: [PATCH] UI: 409 toasts read the message, chat sheet named per tab, 44px phone sidebar trigger, button grids shade as controls, unambiguous chart label key, optional settings typed and cleared to null --- frontend/src/components/Chat/ChatPanel.tsx | 2 +- .../src/components/Common/DashboardMosaic.tsx | 6 +++- frontend/src/components/Common/UplotChart.tsx | 2 +- frontend/src/components/Flow/NodePanel.tsx | 28 ++++++++++++++----- frontend/src/routes/_layout.tsx | 2 +- frontend/src/utils.ts | 6 ++-- 6 files changed, 33 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/Chat/ChatPanel.tsx b/frontend/src/components/Chat/ChatPanel.tsx index bca0609..fcfe8ed 100644 --- a/frontend/src/components/Chat/ChatPanel.tsx +++ b/frontend/src/components/Chat/ChatPanel.tsx @@ -304,7 +304,7 @@ export function ChatPanel() { return ( @@ -1326,8 +1327,13 @@ function ParamsForm({ const value = params[key] ?? property.default ?? "" const label = property.title ?? key + // An optional setting (`float | None`) has its type inside `anyOf`. + const options = property.anyOf?.map((option) => option.type) ?? [] + const kind = + property.type ?? options.find((option) => option !== "null") + const nullable = options.includes("null") - if (property.type === "boolean") { + if (kind === "boolean") { return (