From ad82222ecce4fb5f55729f172a14674a513e179a Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Wed, 7 May 2025 20:20:50 -0300 Subject: [PATCH] fix: update hide outputs behavior to show current state, update disabled button UI (#7917) * Fixed hidden to be output.hidden * Fixed disabled Hide button to look disabled * Fixed lastInput being true to all fields * Changed text * fixed multiple renders * fixed show hidden --- .../components/NodeOutputfield/index.tsx | 13 +++++---- .../RenderInputParameters/index.tsx | 28 +++++++++++-------- .../src/CustomNodes/GenericNode/index.tsx | 8 +++++- 3 files changed, 32 insertions(+), 17 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx index c5cf40050..6a8a8e662 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeOutputfield/index.tsx @@ -73,10 +73,15 @@ const HideShowButton = memo( unstyled onClick={onClick} data-testid={`input-inspection-${title.toLowerCase()}`} - className="cursor-pointer" >