From 4f9e2705d8c846af414a5af8f5f64050d97f744a Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Thu, 22 May 2025 15:32:16 -0300 Subject: [PATCH] feat: updated components header styling (#8085) * Removed unused styles * Updated node icon to follow design * Updated node name to follow design and include Beta * Removed Beta from node status * Removed unused classes and parameters from GenericNode * Changed node description padding on input * Changed paddings and gaps * removed unused classes * Added accent purple foreground color to Experimental * Fixed classes and gaps in generic node * Fixed node name gaps * Fixed node status classes and styling * Removed unused classes and changed run-bg size * Changed test to use new test id * Changed Node Name to have beta tooltip * Changed Build Failed icon to be a circle alert * Changed Node Status gap and conditions to show spacings correctly * Changed padding to not change height of other components * Changed nodeStatus to show validation on small node * Changed classes to show correct spacing and overflow * Changed description size * Fixed description text size * Fixed input margin * Fixed description editing not appearing when no description is available * Fixed status not breaking words * Updated colors * Updated node output color * [autofix.ci] apply automated fixes * Changed duration style in chat * Re-added output color * Updated timeout on mcp server tab test * Added more timeout to mcp server tab test * fixed loop component test --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- .../components/NodeDescription/index.tsx | 8 +- .../GenericNode/components/NodeName/index.tsx | 38 ++--- .../components/NodeOutputfield/index.tsx | 2 +- .../components/build-status-display.tsx | 6 +- .../components/NodeStatus/index.tsx | 144 ++++++++---------- .../GenericNode/components/nodeIcon/index.tsx | 38 +---- .../src/CustomNodes/GenericNode/index.tsx | 35 ++--- .../CustomNodes/hooks/use-icons-status.tsx | 16 +- .../chatComponents/ContentBlockDisplay.tsx | 2 +- .../core/chatComponents/DurationDisplay.tsx | 14 +- src/frontend/src/style/applies.css | 30 +--- src/frontend/src/style/index.css | 6 +- src/frontend/tailwind.config.mjs | 1 + .../extended/features/loop-component.spec.ts | 10 +- .../extended/features/mcp-server-tab.spec.ts | 13 +- .../general-bugs-minimize-state-error.spec.ts | 6 +- 16 files changed, 148 insertions(+), 221 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeDescription/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeDescription/index.tsx index 26aa75f61..2c1a75a3b 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeDescription/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeDescription/index.tsx @@ -78,7 +78,8 @@ export default function NodeDescription({ @@ -153,7 +154,8 @@ export default function NodeDescription({