From f48dc847ff9cd6db81d6d756562621f55588cd59 Mon Sep 17 00:00:00 2001 From: dadachann <185672915+dadachann@users.noreply.github.com> Date: Mon, 3 Aug 2026 05:29:55 +0000 Subject: [PATCH] [verified] fix: harden OSS and Cloud workspace UI (#2387) Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com> --- .../home/bots/components/bot-form/BotForm.tsx | 3 +- .../components/home-sidebar/HomeSidebar.tsx | 36 ++++--- .../settings-dialog/SettingsDialog.tsx | 16 ++- web/src/app/home/plugin-pages/page.tsx | 45 +++++--- .../hooks/useAuthenticatedPluginResource.ts | 72 +++++++++---- web/tests/e2e/cloud-storage-privacy.spec.ts | 63 +++++++++++ web/tests/e2e/plugin-page-auth.spec.ts | 88 +++++++++++++++ web/tests/unit/oss-cloud-ui-privacy.test.mjs | 100 ++++++++++++++++++ .../unit/workspace-switcher-layout.test.mjs | 15 ++- 9 files changed, 378 insertions(+), 60 deletions(-) create mode 100644 web/tests/e2e/cloud-storage-privacy.spec.ts create mode 100644 web/tests/e2e/plugin-page-auth.spec.ts create mode 100644 web/tests/unit/oss-cloud-ui-privacy.test.mjs diff --git a/web/src/app/home/bots/components/bot-form/BotForm.tsx b/web/src/app/home/bots/components/bot-form/BotForm.tsx index f8db783f1..81ce4138e 100644 --- a/web/src/app/home/bots/components/bot-form/BotForm.tsx +++ b/web/src/app/home/bots/components/bot-form/BotForm.tsx @@ -396,10 +396,9 @@ export default function BotForm({