From aaeb9ad1786050b00584f2ce1ce1f5dc70c0526a Mon Sep 17 00:00:00 2001 From: RockChinQ Date: Wed, 26 Aug 2026 00:08:09 +0800 Subject: [PATCH] fix(bots): restore event route drag sorting --- .../bot-form/EventBindingsEditor.tsx | 38 ++++++++++-- web/src/i18n/locales/en-US.ts | 1 + web/src/i18n/locales/ja-JP.ts | 1 + web/src/i18n/locales/zh-Hans.ts | 1 + web/tests/e2e/crud-smoke.spec.ts | 60 +++++++++++++++++++ 5 files changed, 96 insertions(+), 5 deletions(-) diff --git a/web/src/app/home/bots/components/bot-form/EventBindingsEditor.tsx b/web/src/app/home/bots/components/bot-form/EventBindingsEditor.tsx index f3f2a6dea..1e850adde 100644 --- a/web/src/app/home/bots/components/bot-form/EventBindingsEditor.tsx +++ b/web/src/app/home/bots/components/bot-form/EventBindingsEditor.tsx @@ -1264,6 +1264,7 @@ function BindingCardContent({ onUpdate, onRemove, dragHandleProps, + isOverlay = false, }: BindingCardProps) { const { t } = useTranslation(); const isEnabled = binding.enabled ?? true; @@ -1275,13 +1276,21 @@ function BindingCardContent({ const statusDetail = routeStatusDetail(routeStatus, t); return ( -
+
{/* main row */}
{isEnabled && (