From 3bf8f19874edc4d765b2f659aa3b1d419746e8fa Mon Sep 17 00:00:00 2001 From: twwu Date: Fri, 16 Jan 2026 17:12:58 +0800 Subject: [PATCH] fix: reduce BUTTON_TEXT_MAX_LENGTH to 20 in user action component for consistency --- .../workflow/nodes/human-input/components/user-action.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/nodes/human-input/components/user-action.tsx b/web/app/components/workflow/nodes/human-input/components/user-action.tsx index 9868ea4393..ba15f8fef0 100644 --- a/web/app/components/workflow/nodes/human-input/components/user-action.tsx +++ b/web/app/components/workflow/nodes/human-input/components/user-action.tsx @@ -12,7 +12,7 @@ import ButtonStyleDropdown from './button-style-dropdown' const i18nPrefix = 'nodes.humanInput' const ACTION_ID_MAX_LENGTH = 20 -const BUTTON_TEXT_MAX_LENGTH = 40 +const BUTTON_TEXT_MAX_LENGTH = 20 type UserActionItemProps = { data: UserAction