Commit graph

4,439 commits

Author SHA1 Message Date
Cristhian Zanforlin Lousa
fadd28802d 🐛 fix(parameterComponent): fix type error in useState declaration for dictArr variable
🐛 fix(parameterComponent): fix logic error in onChange handler to update dictArr state when there are duplicate keys in the array
 feat(parameterComponent): add type annotation to onChange handler parameter to improve code clarity
2023-08-31 10:36:49 -03:00
Cristhian Zanforlin Lousa
2b2c677f7c 🐛 fix(parameterComponent): import missing utility functions from reactflowUtils to fix error
 feat(parameterComponent): add error handling for duplicate keys in dictionary input field to prevent saving invalid data
🐛 fix(keypairListComponent): fix logic for handling duplicate keys in key-value pairs to prevent saving invalid data
🚚 chore(types): add optional duplicateKey property to KeyPairListComponent type
 feat(reactflowUtils): add utility functions to convert object to array and array to object, and check for duplicate keys in an array of objects
2023-08-31 10:27:04 -03:00
Cristhian Zanforlin Lousa
646fd7f1e5 🐛 fix(keypairListComponent): fix bug where changing key in input field would overwrite existing keys
 feat(keypairListComponent): add logic to append a counter to new key if it already exists in the list to ensure uniqueness
2023-08-30 22:10:50 -03:00
Cristhian Zanforlin Lousa
66a9056b92 Merge branch 'feat-dict' of https://github.com/logspace-ai/langflow into feat-dict 2023-08-30 16:38:08 -03:00
Cristhian Zanforlin Lousa
35322e7d55 🐛 fix(parameterComponent): import KeypairListComponent from correct path to fix compilation error
 feat(parameterComponent): add support for editing key-value pairs in the parameter component
🐛 fix(genericIconComponent): fix stroke width prop name to strokeWidth to fix SVG rendering issue
🐛 fix(keypairListComponent): import GenericModal from correct path to fix compilation error
 feat(keypairListComponent): add support for editing key-value pairs in the keypair list component
🐛 fix(editNodeModal): import KeypairListComponent from correct path to fix compilation error
 feat(editNodeModal): add support for editing key-value pairs in the edit node modal
🐛 fix(types): change value type in KeyPairListComponent to any to allow for any key-value pair
2023-08-30 16:37:53 -03:00
Gabriel Luiz Freitas Almeida
2deebad950 📦 chore(pyproject.toml): add markupsafe dependency to improve compatibility and security
🔒 chore(pyproject.toml): update black dependency to version 23.1.0 for development purposes
2023-08-30 11:57:19 -03:00
Cristhian Zanforlin Lousa
4c228303c9 🐛 fix(EditNodeModal): add condition to check if nodeLength is greater than arrayOfObjects.length to handle overflow scrolling correctly 2023-08-30 11:50:47 -03:00
Cristhian Zanforlin Lousa
9424d5738a 🐛 fix(parameterComponent): add missing prop 'editNode' to KeypairListComponent to fix component rendering issue
🐛 fix(EditNodeModal): import KeypairListComponent to fix missing import error
 feat(EditNodeModal): add support for editing keypair type template parameters by adding KeypairListComponent and handling new values
2023-08-28 17:12:28 -03:00
Cristhian Zanforlin Lousa
151d01f506 🔧 chore(Makefile): remove unnecessary semicolons in Makefile commands
🔧 chore(Makefile): remove unnecessary package-lock.json deletion in install_frontendc command
 feat(ParameterComponent): add KeypairListComponent to handle key-value pairs
🔧 chore(KeypairListComponent): create KeypairListComponent to handle key-value pairs
🔧 chore(KeypairListComponent): add handleChangeKey and handleChangeValue functions to handle changes in key-value pairs
🔧 chore(KeypairListComponent): add button to add new key-value pair and remove existing key-value pair
🔧 chore(KeypairListComponent): add disabled prop to disable editing of key-value pairs
🔧 chore(KeypairListComponent): add editNode prop to style input fields in edit mode
🔧 chore(types): add KeyPairListComponent type definition
2023-08-24 21:00:38 -03:00
anovazzi1
704fc6a244
fix: tweaks page (#807)
This pull request addresses multiple bugs and issues that have been
identified on the tweaks page of our application. The changes
implemented here aim to enhance the overall user experience and improve
the stability of the page. Below is an overview of the resolved issues:
2023-08-24 17:40:36 -03:00
anovazzi1
668387dde8 Merge branch 'dev' into bugfix-tweakPage 2023-08-24 17:18:40 -03:00
anovazzi1
e863f79782 update git attributes 2023-08-24 17:15:42 -03:00
anovazzi1
c49ee222be update git attributes 2023-08-24 17:15:42 -03:00
anovazzi1
4fab63e5de code format 2023-08-24 17:10:02 -03:00
anovazzi1
c1c5b2242f fix(buildTrigger/index.tsx): change the success message title from "Code is ready to run" to "Flow is ready to run" for better clarity and accuracy 2023-08-24 17:08:24 -03:00
Gabriel Luiz Freitas Almeida
aa47af7a3b
Fix orjson_dumps import (#814) 2023-08-24 15:07:59 +00:00
DiogenesBR
fe3a9c61df fix the imports of orjson_dumps 2023-08-24 14:57:18 +00:00
DiogenesBR
cdd25dbeb2 add some new types to the .gitattributes 2023-08-24 14:56:09 +00:00
Gabriel Luiz Freitas Almeida
061a9c09ba Merge remote-tracking branch 'origin/main' into dev 2023-08-23 21:42:34 -03:00
Gabriel Luiz Freitas Almeida
60b9f01cc6
Release 0.4.14 (#810) 2023-08-24 00:31:47 +00:00
Gabriel Luiz Freitas Almeida
5fd3394386
Merge branch 'main' into release 2023-08-24 00:31:40 +00:00
Gabriel Luiz Freitas Almeida
eca7a56f76 🔖 chore(pyproject.toml): bump version from 0.4.13 to 0.4.14 for langflow package 2023-08-23 21:30:43 -03:00
Gabriel Luiz Freitas Almeida
3d860ce4a1
Fixes Retry logic in /all endpoint (#809) 2023-08-24 00:20:59 +00:00
anovazzi1
cb5114b9b7
Bugfix - Retry Mechanism for Failed Requests in Loop (#808)
This pull request addresses an issue with the retry mechanism for failed
requests within a loop. The current implementation lacks proper handling
of failed requests, leading to potential data loss and inconsistent
behavior. This bugfix aims to improve the retry logic and ensure that
requests are appropriately retried when they fail within a loop.
2023-08-23 21:20:18 -03:00
anovazzi1
cd6985591f fix(App.tsx): replace hardcoded error message with FetchErrorComponent to improve error handling and display
feat(App.tsx): add support for displaying fetch error message and description in FetchErrorComponent
feat(fetchErrorComponent): create FetchErrorComponent to display fetch error message and description
fix(genericIconComponent): add stroke-width property to ensure consistent icon stroke width
feat(loadingComponent): import LoadingComponentProps from types/components to improve type safety
feat(constants): add FETCH_ERROR_MESSAGE and FETCH_ERROR_DESCRIPTION constants for fetch error handling
fix(typesContext): remove console.log statement and set fetchError to true when an error occurs during fetching types
feat(typesContext): add error handling for fetching types and set fetchError to true when an error occurs
feat(typesContext): import fetchErrorComponentType from types/components to improve type safety
feat(types/components): create fetchErrorComponentType and LoadingComponentProps interfaces for type safety
fix(styleUtils): import Unplug icon from lucide-react to fix missing icon issue
2023-08-23 21:09:53 -03:00
igorrCarvalho
9686542f0a Fix: code is ready to run does not appear after build 2023-08-23 20:38:40 -03:00
igorrCarvalho
8fb73e689a Fix: Code is ready to run success alert showing up in tweaks page 2023-08-23 20:23:18 -03:00
Gabriel Luiz Freitas Almeida
e642154621
Merge branch 'main' into release 2023-08-23 23:15:02 +00:00
Gabriel Luiz Freitas Almeida
1d166b6e6b poetry lock 2023-08-23 20:10:54 -03:00
igorrCarvalho
13a60c872f Fix: Node deleted when press backspace on tweaks page 2023-08-23 19:26:25 -03:00
Gabriel Luiz Freitas Almeida
1e968083be
Adds GET, POST and JSON Document utility components (#806) 2023-08-23 21:03:11 +00:00
igorrCarvalho
56a75af6da Remove console.log 2023-08-23 18:02:50 -03:00
igorrCarvalho
9029beec64 Fix: git bug 2023-08-23 17:52:32 -03:00
igorrCarvalho
0ffdaa00a5 Fix: Backspace doesnt work on tweak page 2023-08-23 17:39:34 -03:00
Gabriel Luiz Freitas Almeida
f555c60abc
Merge branch 'main' into release 2023-08-23 19:51:53 +00:00
anovazzi1
d9b03980f7 fix(typesContext.tsx): remove unnecessary code that checks result status and fetches health on error
fix(typesContext.tsx): handle error when fetching types and set fetchError state to true
2023-08-23 14:59:20 -03:00
anovazzi1
ea105ee7af refactor(typesContext.tsx): remove unnecessary retry logic and interval for fetching types
fix(typesContext.tsx): fix issue where component was not unmounting properly and causing memory leaks
2023-08-23 14:44:45 -03:00
anovazzi1
f22768c2bc fix(App.tsx): remove extra comma in the useContext hook
feat(App.tsx): add support for displaying fetch error message when there is an error in the backend API call
fix(typesContext.tsx): add error handling for API call and set fetchError state accordingly
feat(typesContext.tsx): add fetchError state and setFetchError function to the typesContext
2023-08-23 12:52:49 -03:00
Diógenes Betat Roos
0168b5a626
Migrate Chroma to CustomComponent (#784)
Migrating Chroma to CustomComponent
2023-08-22 19:31:23 -03:00
DiogenesBR
78c58c1f7e Merge dev with custom_component_chroma 2023-08-22 19:21:52 -03:00
Gabriel Luiz Freitas Almeida
f0d0909764 🔖 chore(pyproject.toml): bump version from 0.4.12 to 0.4.13 for langflow package 2023-08-22 18:23:15 -03:00
Gabriel Luiz Freitas Almeida
513bfc1930
Adds GET and POST utility components (#799) 2023-08-22 21:15:12 +00:00
Gabriel Luiz Freitas Almeida
cea4063637 🐛 fix(GetRequest.py): convert timeout to integer to avoid potential type errors
 feat(PostRequest.py): update display name to "POST Request" for better clarity and consistency
2023-08-22 17:53:55 -03:00
Gabriel Luiz Freitas Almeida
c6fc60d4b2 🔧 chore(GetRequest.py): add timeout parameter to the GetRequest component for configurable request timeout
📝 docs(GetRequest.py): update component documentation to include information about the new timeout parameter
2023-08-22 17:52:17 -03:00
Gabriel Luiz Freitas Almeida
4f2a14bed5 📝 docs(utilities.mdx): add horizontal rule to improve readability and separation of content
📝 docs(utilities.mdx): add description for JSON Document Builder to provide clarity on its purpose
2023-08-22 17:46:07 -03:00
Gabriel Luiz Freitas Almeida
c22a792a7f 📚 docs(GetRequest.py): add documentation link for the GET Request component
📚 docs(JSONDocumentBuilder.py): add documentation link for the JSON Document Builder component
📚 docs(PostRequest.py): add documentation link for the POST Request component
📚 docs(UpdateRequest.py): add documentation link for the Update Request component
2023-08-22 17:45:45 -03:00
Gabriel Luiz Freitas Almeida
7dc258d580 📝 docs(utilities.mdx): update Utilities section in the sidebar to include the new "Utilities" page
📝 docs(sidebars.js): add "components/utilities" to the Components section in the sidebar
2023-08-22 17:43:15 -03:00
Gabriel Luiz Freitas Almeida
42a268a678 📝 docs(components/utilities.mdx): add documentation for Update Request feature
🚀 feat(UpdateRequest.py): add UpdateRequest component to make PATCH or PUT requests to a given URL
2023-08-22 17:35:20 -03:00
Gabriel Luiz Freitas Almeida
b1779e849d 🔥 refactor(base.py): remove unused imports and code in base.py
🔥 refactor(base.py): remove unused variables and functions in base.py
2023-08-22 16:46:57 -03:00
Gabriel Luiz Freitas Almeida
f69fddb1a0 🔧 chore(settings.py): add missing import statement for json module
🔧 chore(settings.py): remove unused import statement for contextlib module

🔧 chore(settings.py): remove unused import statement for orjson module

🔧 chore(settings.py): remove unused import statement for os module

🔧 chore(settings.py): remove unused import statement for typing module
2023-08-22 16:42:09 -03:00