From 5e9e6dc54d7900594258c8c96a2f4f4c13a335cb Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Sat, 30 Mar 2024 22:53:19 +0200 Subject: [PATCH 1/5] Filled chat message button --- src/frontend/src/style/applies.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/style/applies.css b/src/frontend/src/style/applies.css index 5104301e3..2cf6754b3 100644 --- a/src/frontend/src/style/applies.css +++ b/src/frontend/src/style/applies.css @@ -917,7 +917,7 @@ @apply mr-2 h-5 w-5 rotate-[44deg]; } .form-modal-play-icon { - @apply mx-1 h-5 w-5; + @apply mx-1 h-5 w-5 fill-inherit; } .form-modal-chat-position { @apply flex-max-width px-2 py-6 pl-4 pr-9; From 08252710c41a0ce85efd1252894fdecd1d9a70c8 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Sat, 30 Mar 2024 22:57:22 +0200 Subject: [PATCH 2/5] Made icon be the same to inputs and outputs --- src/frontend/src/modals/IOModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/modals/IOModal/index.tsx b/src/frontend/src/modals/IOModal/index.tsx index 707d039c1..b337b7a7e 100644 --- a/src/frontend/src/modals/IOModal/index.tsx +++ b/src/frontend/src/modals/IOModal/index.tsx @@ -232,7 +232,7 @@ export default function IOModal({ className="api-modal-tabs-content mt-4" >
- + {OUTPUTS_MODAL_TITLE}
{nodes From f9cb449c4f5459fac3aab31f54e0bd3f6669464b Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sat, 30 Mar 2024 17:58:01 -0300 Subject: [PATCH 3/5] Set onBuildComplete to run after all layers --- src/frontend/src/utils/buildUtils.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/frontend/src/utils/buildUtils.ts b/src/frontend/src/utils/buildUtils.ts index 46b81ba9d..bc2cc62e7 100644 --- a/src/frontend/src/utils/buildUtils.ts +++ b/src/frontend/src/utils/buildUtils.ts @@ -204,12 +204,11 @@ export async function buildVertices({ if (stop) { break; } - - if (onBuildComplete) { - const allNodesValid = buildResults.every((result) => result); - onBuildComplete(allNodesValid); - useFlowStore.getState().setIsBuilding(false); - } + } + if (onBuildComplete) { + const allNodesValid = buildResults.every((result) => result); + onBuildComplete(allNodesValid); + useFlowStore.getState().setIsBuilding(false); } } async function buildVertex({ From 1510f55efee62d20999c66797650f23f7589d107 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sat, 30 Mar 2024 17:58:11 -0300 Subject: [PATCH 4/5] Refactor ExtraSidebar component --- .../extraSidebarComponent/index.tsx | 67 +++++++++---------- 1 file changed, 32 insertions(+), 35 deletions(-) diff --git a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx index 9b057fde7..6711396a8 100644 --- a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx +++ b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx @@ -276,21 +276,18 @@ export default function ExtraSidebar(): JSX.Element { >