Commit graph

4,997 commits

Author SHA1 Message Date
igorrCarvalho
94755b6781 Refactor: Change Documentation to docs on nodetoolbar 2024-02-24 18:27:07 -03:00
Lucas Oliveira
ddb0465579 Change color of chat icon 2024-02-24 22:23:54 +01:00
Lucas Oliveira
891fbc897b Changed icon 2024-02-24 22:21:23 +01:00
Lucas Oliveira
3e7c776ccf Added visual changes, as pin on toolbar and play button separate from status. 2024-02-24 22:19:52 +01:00
igorrCarvalho
ec8a801827 Refactor: delete node button 2024-02-24 18:10:17 -03:00
igorrCarvalho
8b021fa826 Fix: required icon without margin left when info icon exists 2024-02-24 17:28:05 -03:00
Lucas Oliveira
ee28d18a13 Merge remote-tracking branch 'origin/zustand/io/migration' into ioView 2024-02-24 20:01:54 +01:00
Gabriel Luiz Freitas Almeida
927b5c59d4 Add id and stream_url to ChatMessageType and ChatOutputType 2024-02-23 19:17:34 -03:00
Gabriel Luiz Freitas Almeida
6079461f34 Fix status class for built nodes 2024-02-23 19:16:56 -03:00
Gabriel Luiz Freitas Almeida
1facc44cd0 Update chat message and implement streaming functionality 2024-02-23 19:16:30 -03:00
Lucas Oliveira
903746d7de Fixed bug when opening io view modal 2024-02-23 22:09:46 +01:00
cristhianzl
1b7d80a373 🐛 fix(parameterComponent): fix key prop in map function to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in InputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in ToggleShadComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in Dropdown component to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix

🔧 chore(dropdownComponent.spec.ts): comment out unused code to improve code readability and maintainability
🔧 chore(floatComponent.spec.ts): comment out unused code to improve code readability and maintainability
🔧 chore(flowPage.spec.ts): comment out unused code to improve code readability and maintainability
🔧 chore(group.spec.ts): comment out unused code to improve code readability and maintainability

🔧 chore(tests): comment out unused code in inputComponent.spec.ts, intComponent.spec.ts, keyPairListComponent.spec.ts, nestedComponent.spec.ts, saveComponents.spec.ts, and toggleComponent.spec.ts to improve code readability and reduce noise
2024-02-23 18:05:39 -03:00
Lucas Oliveira
d192b50f76 Refactored just logic of IOView 2024-02-23 22:00:53 +01:00
cristhianzl
dde6fd6d62 Merge branch 'cz/fixTestsIo' into zustand/io/migration 2024-02-23 17:31:33 -03:00
cristhianzl
795436d1a3 🔥 refactor(genericModal/index.tsx): remove unused imports and code to improve code cleanliness and performance 2024-02-23 17:30:51 -03:00
Gabriel Luiz Freitas Almeida
7c15593d85 Refactor buildVertices function and add getInactiveVertexData function 2024-02-23 12:55:14 -03:00
Gabriel Luiz Freitas Almeida
6acace790e Add removeFromVerticesBuild and revertAllVerticesToBuild methods to FlowStoreType 2024-02-23 12:54:49 -03:00
Gabriel Luiz Freitas Almeida
53ae82f0b9 Add VertexBuildTypeAPI import and refactor handleBuildUpdate function 2024-02-23 12:54:15 -03:00
Gabriel Luiz Freitas Almeida
70bd1d0c2a Refactor getDurationString function to use undefined instead of null 2024-02-23 12:53:45 -03:00
Gabriel Luiz Freitas Almeida
1565ad95a3 Add inactive_vertices and VertexDataTypeAPI to VertexBuildTypeAPI 2024-02-23 12:53:12 -03:00
cristhianzl
fb98cc6e51 start fix tests 2024-02-23 12:30:30 -03:00
Gabriel Luiz Freitas Almeida
10fa045063 Refactor getStatusClassName function to handle different build statuses 2024-02-23 12:27:53 -03:00
Gabriel Luiz Freitas Almeida
7fed13eb5a Added gray-status and buildstatus classes 2024-02-23 12:27:17 -03:00
Gabriel Luiz Freitas Almeida
f9aa62f183 Add INACTIVE build status to GenericNode 2024-02-23 10:12:21 -03:00
Gabriel Luiz Freitas Almeida
a4c432a64b Move call to reset InactiveNodes to the end of the function 2024-02-22 23:45:55 -03:00
Gabriel Luiz Freitas Almeida
2a7a5e728a Skip building inactive nodes in buildVertices function 2024-02-22 23:40:05 -03:00
Gabriel Luiz Freitas Almeida
bd2767b1a5 Add setInactiveNodes function to FlowStore 2024-02-22 23:39:13 -03:00
Gabriel Luiz Freitas Almeida
9cfb03fbc9 Fix styleUtils import and remove unnecessary lines 2024-02-22 17:07:36 -03:00
anovazzi1
e68fdc06c4 Update nodeIconsLucide in styleUtils.ts 2024-02-22 17:03:59 -03:00
anovazzi1
701571b858 Fix build button condition and prevent sending messages during build 2024-02-22 16:43:43 -03:00
Gabriel Luiz Freitas Almeida
8f8b921ead Fix code field visibility in group node template 2024-02-22 16:27:57 -03:00
Gabriel Luiz Freitas Almeida
b1e7485ec6 Refactor parameterComponent to hide code based on name 2024-02-22 16:26:53 -03:00
anovazzi1
165491e60b refactor(GenericNode/index.tsx): import Loading component for better code organization and readability
fix(GenericNode/index.tsx): update the button onClick logic to prevent building flow when the build status is already set to 'BUILDING'
2024-02-22 15:49:24 -03:00
Cristhian Zanforlin Lousa
e2a79a57e1
Bugfix: saving all the time, scroll on chat IO / Feat: Changing building status on navigation bar (#1460)
* 🐛 fix(menuBar/index.tsx): add isBuilding state to handle display of build status
 feat(menuBar/index.tsx): add printByBuildStatus function to display appropriate build status based on isBuilding and saveLoading states
🐛 fix(api.tsx): set isBuilding state to false when encountering a 500 error response
🐛 fix(buildUtils.ts): set isBuilding state to true before building vertices and set it to false after build completion

* 🐛 fix(chatMessage): scroll to last chat message when rendering a new message to improve user experience
🔥 refactor(chatMessage): remove unused state and variables to improve code readability and maintainability
🔥 refactor(flowsManagerStore): remove redundant code and improve code readability

* Add logger and session imports, and update build_vertex function

* Fix conditional rendering bug in IOView component

* Remove unused imports from chat.py

* add last message to end

* 🔧 fix(chatMessage): add useEffect hook to scroll to last chat message after rendering
🔧 fix(chatMessage): add dependency array to useEffect hook to prevent unnecessary re-renders

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-02-22 14:44:35 -03:00
Gabriel Luiz Freitas Almeida
4d07537031 Fix conditional rendering in IOView component 2024-02-22 11:56:02 -03:00
Lucas Oliveira
463847ab6a
Improve group (#1406)
group components without edges losses
2024-02-22 13:31:20 +01:00
Lucas Oliveira
138aa1c5fe Removed prompt template from outputs 2024-02-22 13:08:52 +01:00
Lucas Oliveira
b0a2d625af Made chat button 2024-02-22 13:08:28 +01:00
Lucas Oliveira
cce060968f Fixed input and output view 2024-02-22 13:03:11 +01:00
Lucas Oliveira
a94b5b9657 Fixed chat button 2024-02-22 12:57:07 +01:00
Lucas Oliveira
1e3cdd3f32 Made categories 2024-02-22 12:53:15 +01:00
Gabriel Luiz Freitas Almeida
8c897514aa
Add docs for field update, icon, and small fixes (#1459)
* Refactor code formatting and improve error handling in utils.py

* Refactor parameterComponent to include refresh button

* Update Langflow description

* Add new_langflow_demo.gif and remove langflow-demo.gif and langflow-screen.png

* Update image source path in README.md

* Add dynamic options and default value support to CustomComponent class
2024-02-21 22:30:01 -03:00
Lucas Oliveira
0ae6596dbd Fixed bug at frontend 2024-02-21 21:50:53 +01:00
Lucas Oliveira
4feec62cb5 fixed constants made just for testing 2024-02-21 21:45:57 +01:00
Lucas Oliveira
33a82cad06 Changed open input link 2024-02-21 21:13:44 +01:00
Lucas Oliveira
f39cd72cc8 Changed icon to play 2024-02-21 21:12:28 +01:00
Lucas Oliveira
5b5813932d Removed repetition 2024-02-21 21:11:56 +01:00
Lucas Oliveira
5b000e6078 Changed view to not show chat 2024-02-21 21:10:00 +01:00
anovazzi1
c319e18e15 Refactor Page component 2024-02-21 16:57:40 -03:00
anovazzi1
9ffea8f988 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-02-21 16:55:55 -03:00