Commit graph

11,619 commits

Author SHA1 Message Date
Cristhian Zanforlin Lousa
14d80b8f13 Merge branch 'modalRefactor' of https://github.com/logspace-ai/langflow into modalRefactor 2023-07-14 09:49:03 -03:00
Cristhian Zanforlin Lousa
8668e82fff 🔧 chore(EditNodeModal): refactor handleOnNewValue function to improve code readability and maintainability 2023-07-14 09:48:56 -03:00
Gabriel Luiz Freitas Almeida
88511f1016 🔧 fix(chatMessage): adjust className to fix layout issue in ChatMessage component
🔧 fix(genericModal): reformat import statements and fix indentation in GenericModal component
🔧 fix(genericModal): adjust className to fix layout issue in GenericModal component
🔧 fix(genericModal): fix indentation and add missing closing tag in GenericModal component
2023-07-14 09:17:09 -03:00
Gabriel Luiz Freitas Almeida
3effba2dbd 🐛 fix(API/index.ts): update examples API URL to use the 'main' branch instead of 'fix_examples' branch 2023-07-14 09:16:15 -03:00
Lucas Oliveira
4e3d67ac41 Fixed bug on EditNodeModal 2023-07-14 08:51:18 -03:00
Cristhian Zanforlin Lousa
d008e53bef 🐛 fix(nodeToolbarComponent): change div element to button element for edit node button to improve accessibility and prevent default action when nodeLength is 0 2023-07-14 08:23:01 -03:00
Cristhian Zanforlin Lousa
21f058d46d 🐛 fix(EditNodeModal): remove unnecessary code that closes the modal when nodeLength is 0 2023-07-14 08:17:30 -03:00
gustavoschaedler
e90fd26984 🔥 remove(component.py): unnecessary blank line at the start of the file for cleaner code structure 2023-07-14 05:12:05 +01:00
gustavoschaedler
75452fb758 🔧 refactor(custom_component.py): make 'code' attribute optional in CustomComponent class to allow instances without explicit code value 2023-07-14 05:08:12 +01:00
gustavoschaedler
b523533d98 Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component 2023-07-14 04:51:11 +01:00
gustavoschaedler
79d2d551ff 🔀 refactor(langflow): rename custom.py to custom_component.py for clarity
🔥 remove(langflow): delete custom.py as it's replaced by custom_component.py
📦 feat(langflow): add code_parser.py to parse Python source code
🐛 fix(langflow): update import paths due to file renaming
🎨 style(langflow): improve code formatting for readability
🐛 fix(langflow): correct handling of function arguments and return types in custom components
🔧 chore(langflow): update function calls due to changes in custom components
2023-07-14 04:49:42 +01:00
Igor Carvalho
c6e7e9cad4 feat[genericIconComponent]: Add a lucide method to the icon component 2023-07-13 19:58:55 -03:00
anovazzi1
c3bdc2c0a4 moved utils file to utils folder 2023-07-13 19:48:41 -03:00
anovazzi1
62dde544c1 moved some constants to constant file 2023-07-13 19:45:04 -03:00
anovazzi1
33cfb8600a validateNodes migration done 2023-07-13 19:34:32 -03:00
anovazzi1
28c0b35fd7 buildTweaks migration done 2023-07-13 19:31:00 -03:00
anovazzi1
ffda93ee34 updateIds migration done 2023-07-13 19:22:18 -03:00
anovazzi1
cd1d3c226a moved programmingLanguages to constant file 2023-07-13 19:11:34 -03:00
Lucas Oliveira
85f0c3cda6 Removed closePopup from all of the components that used it 2023-07-13 19:05:59 -03:00
Lucas Oliveira
54b897ff13 Fixed forwardRef on EditNodeModal 2023-07-13 18:56:31 -03:00
anovazzi1
75c14c67a5 remove dead code 2023-07-13 18:56:16 -03:00
Lucas Oliveira
ea94c3f9e8 Bug fixes of DOM nesting 2023-07-13 18:49:40 -03:00
Igor Carvalho
e72010ca40 Remove unnecessary imports 2023-07-13 18:49:18 -03:00
Gabriel Luiz Freitas Almeida
23a7478b5a Merge branch 'dev' into python_custom_node_component 2023-07-13 18:45:58 -03:00
anovazzi1
9a41ca9ce2 updateTemplate migration done 2023-07-13 18:43:57 -03:00
anovazzi1
db8f5a74d3 updateTemplate migration done 2023-07-13 18:40:38 -03:00
Gabriel Luiz Freitas Almeida
0ec0be6770
Release 0.3.0 (#644) 2023-07-13 21:39:30 +00:00
Cristhian Zanforlin Lousa
f40c4a88a2 Merge branch 'modalRefactor' of https://github.com/logspace-ai/langflow into modalRefactor 2023-07-13 18:39:03 -03:00
Cristhian Zanforlin Lousa
7672bc3c3e 🔧 fix(exportModal/index.tsx): change function component to forwardRef component to support ref forwarding
🔧 fix(exportModal/index.tsx): update usage of children prop to use props.children for better readability
2023-07-13 18:38:57 -03:00
Lucas Oliveira
2ea282eda9 Fixed bug on opening new flow 2023-07-13 18:37:27 -03:00
Rodrigo Nader
5d3a7f06a8 Docs - Grammar improvements 2023-07-13 18:35:16 -03:00
anovazzi1
4c9dc55205 removeApiKeys migration done 2023-07-13 18:32:47 -03:00
Igor Carvalho
aa86b623ef
Add a SVG method to the icon component (#645) 2023-07-13 18:30:48 -03:00
Igor Carvalho
d9af07b81b
Merge branch 'generic_icon_component' into icon_conflits 2023-07-13 18:30:28 -03:00
Lucas Oliveira
303f8c38ee Removed unused openPopups 2023-07-13 18:28:50 -03:00
Igor Carvalho
6c9220ec1e feat[genericIconComponent]: Add a SVG method to the icon component 2023-07-13 18:28:10 -03:00
anovazzi1
81f25662f1 is validConnection migration done 2023-07-13 18:25:37 -03:00
anovazzi1
3cb2548614 refactor 2023-07-13 18:19:26 -03:00
anovazzi1
3dc89726a3 icons in styleUtils 2023-07-13 18:17:27 -03:00
Cristhian Zanforlin Lousa
7dcc6f2b8c formatting code 2023-07-13 18:08:36 -03:00
Cristhian Zanforlin Lousa
2f469ca964 🔧 fix(promptComponent): remove unused import of TypeModal from utils
🔧 fix(textAreaComponent): remove unused import of TypeModal from utils
🔧 fix(genericModal): remove unused import of TypeModal from utils
🔧 fix(utils.ts): remove unused enum TypeModal
2023-07-13 18:07:32 -03:00
Cristhian Zanforlin Lousa
76fb935e63 🐛 fix(EditNodeModal/index.tsx): change variable name from 'open' to 'modalOpen' for better clarity
 feat(EditNodeModal/index.tsx): add 'open' and 'setOpen' props to BaseModal component to control modal visibility
🐛 fix(EditNodeModal/index.tsx): change variable name from 'open' to 'modalOpen' in onClick event handler for better consistency
2023-07-13 18:05:16 -03:00
anovazzi1
6cde1f5f37 remove dead code 2023-07-13 18:00:49 -03:00
Cristhian Zanforlin Lousa
08083ddc10 Merge branch 'modalRefactor' of https://github.com/logspace-ai/langflow into modalRefactor 2023-07-13 17:59:52 -03:00
Cristhian Zanforlin Lousa
607e57d4d9 🔧 fix(ApiModal): import ReactNode from react to fix missing type error
 feat(ApiModal): add BaseModal component as a wrapper for the modal to improve code organization and reusability
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop name from children to flow in ApiModal component for better clarity
🔧 fix(ApiModal): change prop

🐛 fix(extraSidebarComponent): remove unnecessary onClick event handlers for Export and Code buttons
 feat(extraSidebarComponent): wrap Export and Code buttons with ExportModal and ApiModal components respectively to handle click events and display modals
🐛 fix(nodeToolbarComponent): remove unnecessary onClick event handler for Edit button
 feat(nodeToolbarComponent): wrap Edit button with EditNodeModal component to handle click events and display modal
2023-07-13 17:59:46 -03:00
anovazzi1
2aabf54b9d remove some constants from utils to constants 2023-07-13 17:55:21 -03:00
Lucas Oliveira
8f006fc9c5 Changed trigger to be optional 2023-07-13 17:50:03 -03:00
Lucas Oliveira
3a9a89840d Changed flowSettings to new type of popup 2023-07-13 17:44:21 -03:00
anovazzi1
1c769e54f9 update node names 2023-07-13 17:36:46 -03:00
anovazzi1
d88be5dd99 remove dead code 2023-07-13 17:31:28 -03:00