From a6f96e52094427203410a1a4f32f73fd500d4e0a Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Fri, 27 Mar 2026 19:02:24 +0800 Subject: [PATCH] fix(web): improve mobile responsiveness for marketplace, plugin detail, session monitor, and pipeline form --- .../bot-session/BotSessionMonitor.tsx | 4 +- .../pipeline-form/PipelineFormComponent.tsx | 8 +- .../app/home/plugins/PluginDetailContent.tsx | 4 +- .../plugin-market/PluginMarketComponent.tsx | 118 +++++++++--------- 4 files changed, 68 insertions(+), 66 deletions(-) diff --git a/web/src/app/home/bots/components/bot-session/BotSessionMonitor.tsx b/web/src/app/home/bots/components/bot-session/BotSessionMonitor.tsx index c35787b4..23ff23a1 100644 --- a/web/src/app/home/bots/components/bot-session/BotSessionMonitor.tsx +++ b/web/src/app/home/bots/components/bot-session/BotSessionMonitor.tsx @@ -335,9 +335,9 @@ const BotSessionMonitor = forwardRef< ); return ( -
+
{/* Left Panel: Session List */} -
+
{/* Session List */} {loadingSessions && sessions.length === 0 ? ( diff --git a/web/src/app/home/pipelines/components/pipeline-form/PipelineFormComponent.tsx b/web/src/app/home/pipelines/components/pipeline-form/PipelineFormComponent.tsx index 35775a58..a516a09d 100644 --- a/web/src/app/home/pipelines/components/pipeline-form/PipelineFormComponent.tsx +++ b/web/src/app/home/pipelines/components/pipeline-form/PipelineFormComponent.tsx @@ -475,11 +475,11 @@ export default function PipelineFormComponent({ onSubmit={form.handleSubmit(handleFormSubmit)} className="h-full flex flex-col flex-1 min-h-0 mb-2" > -
+
{/* Vertical section navigation (only show when multiple sections) */} {formLabelList.length > 1 && ( -
-
+
{/* Left side - Config */} -
+
{/* Component filter */} -
+
{t('market.filterByComponent')}: - { - if (value) handleComponentFilterChange(value); - }} - className="justify-start" - > - + { + if (value) handleComponentFilterChange(value); + }} + className="justify-start flex-nowrap" > - {t('market.allComponents')} - - - - {t('plugins.componentName.Tool')} - - - - {t('plugins.componentName.Command')} - - - - {t('plugins.componentName.EventListener')} - - - - {t('plugins.componentName.KnowledgeEngine')} - - - - {t('plugins.componentName.Parser')} - - + + {t('market.allComponents')} + + + + {t('plugins.componentName.Tool')} + + + + {t('plugins.componentName.Command')} + + + + {t('plugins.componentName.EventListener')} + + + + {t('plugins.componentName.KnowledgeEngine')} + + + + {t('plugins.componentName.Parser')} + + +
{/* Sort dropdown */}