Commit graph

2,835 commits

Author SHA1 Message Date
Lucas Oliveira
20f0e758a4 Fixed Flow Settings Modal not updating when re-entering 2023-12-31 12:36:27 -03:00
Lucas Oliveira
faa9de996f made flowSaving silent 2023-12-31 12:25:46 -03:00
Lucas Oliveira
e6e5a3cac5 Fixed copy paste only copying one node 2023-12-31 12:19:05 -03:00
Lucas Oliveira
c28817ed3b Fixed multiple set pending on move making it lag 2023-12-31 12:11:43 -03:00
Lucas Oliveira
081b6a63be Fixed initial onChange on all components 2023-12-31 12:10:24 -03:00
Lucas Oliveira
1ec50a2f27 Fixed infinite saving when input was connected 2023-12-31 12:07:07 -03:00
Lucas Oliveira
13e3d6fc19 removed unused updateNodeInternals 2023-12-31 11:59:51 -03:00
Lucas Oliveira
85979b8d37 Fixed name, description and showNode to use the interceptor function 2023-12-31 11:53:12 -03:00
Lucas Oliveira
8728e4a0ea removed dataRef 2023-12-30 21:10:05 -03:00
Lucas Oliveira
3241c795ad Fixed types of tabsState 2023-12-30 21:02:13 -03:00
Lucas Oliveira
f6bd5a4e4a Removed all reactFlowInstance nodes and edges settings. Centralized flow saving. 2023-12-30 20:50:51 -03:00
Lucas Oliveira
6e2673e1d5 Fix handleNodeClass and handleOnNewValue to use interceptor saving, added cleanEdges on interceptor 2023-12-30 19:31:13 -03:00
Lucas Oliveira
319e70863a Fixed isValidConnection 2023-12-30 17:54:31 -03:00
Lucas Oliveira
5c1c613c76 Removed reactFlowInstance and changed to the interceptor function, validate connection not working 2023-12-29 23:21:53 -03:00
cristhianzl
58eebab84b fix(dropdownComponent): add condition to check if options object is empty before rendering dropdown component
fix(chatInput): add condition to check if chatValue is an empty object before displaying message
fix(chatMessage): remove useMemo hook and fix condition to check if chat message is empty before displaying message
fix(formModal): add conditions to check if thought and files exist before updating chat object
fix(genericModal): add condition to check if inputVariables exist before displaying notice or success message
2023-12-28 10:57:02 -03:00
Gabriel Luiz Freitas Almeida
266bc0d7f8 Format imports 2023-12-22 10:40:58 -03:00
Gabriel Luiz Freitas Almeida
13783c1c60 Format json file 2023-12-22 10:39:43 -03:00
Gabriel Luiz Freitas Almeida
7d40090364
BUGFIX: Issue GITHUB #1227 (#1237)
fix(extraSidebarComponent): update condition to show ExportMemo buttun
based on hasApiKey and validApiKey variables

Github Issue: https://github.com/logspace-ai/langflow/issues/1227
2023-12-21 16:04:36 -03:00
cristhianzl
34474166b8 fix(extraSidebarComponent): update condition to show ExportMemo button based on hasApiKey and validApiKey variables 2023-12-21 15:06:41 -03:00
Yassine Selmi
abd9c67d3c Fixed wrong style attribute 2023-12-20 20:01:30 +00:00
Yassine Selmi
b288ae3df3 Added Azure OpenAI 2023-12-20 17:55:47 +00:00
Gabriel Luiz Freitas Almeida
df443d7986 Add pretty-quick package for code formatting 2023-12-20 08:17:46 -03:00
Yassine Selmi
3a5320a098 Migrated Weaviate to custom component 2023-12-19 18:36:29 +00:00
cristhianzl
45479222d7 fix(frontend): fix save component test by removing unnecessary steps and fixing selectors
feat(frontend): add test for saving components and verifying their presence in the flow
feat(frontend): add test for grouping nodes and verifying the presence of the group node
feat(frontend): add test for saving default component with custom values and verifying the saved component
feat(frontend): add test for saving the same component multiple times and verifying their presence
feat(frontend): add test for saving default component and deleting it from the saved components list
2023-12-14 13:00:48 -03:00
Cristhian Zanforlin Lousa
1a4e4f502a
refactor(GenericNode): simplify conditional class assignment for the … (#1206)
…div element in the GenericNode component
2023-12-13 20:31:19 -03:00
cristhianzl
60fc7c630e refactor(GenericNode): simplify conditional class assignment for the div element in the GenericNode component 2023-12-13 20:27:07 -03:00
Cristhian Zanforlin Lousa
8343ecab5f
feat(pageLayout): add support for displaying a beta icon in the page … (#1205)
…title

feat(StorePage): enable beta icon in the PageLayout component
style(applies.css): adjust styles for the beta icon in the page title
2023-12-13 20:17:22 -03:00
cristhianzl
03be55a1ba feat(pageLayout): add support for displaying a beta icon in the page title
feat(StorePage): enable beta icon in the PageLayout component
style(applies.css): adjust styles for the beta icon in the page title
2023-12-13 20:14:34 -03:00
Gabriel Luiz Freitas Almeida
ca576c1bd9
Add AWS CDK deployment scripts by @kazuki306 (#1193) 2023-12-13 19:15:43 -03:00
Gabriel Luiz Freitas Almeida
9770f67227 🐛 fix(types/components/index.ts): add duration field to validationStatusType to match the changes in chat.py
🐛 fix(chat.py): fix typo in variable name, change time_elapded to time_elapsed for consistency and readability
🐛 fix(chat.py): remove redundant duration information from params field in response object
 feat(chat.py): add duration field to response object to provide information about the time taken for the build process
🐛 fix(GenericNode/index.tsx): fix formatting issue in displaying duration and params in GenericNode component
🐛 fix(GenericNode/index.tsx): fix type annotation for line variable in map function
2023-12-12 13:28:49 -03:00
cristhianzl
cb39d77667 fix(EditFlowSettingsComponent): add handleFocus function to fix double-click text selection issue in input fields 2023-12-11 21:32:09 -03:00
Lucas Oliveira
c5eb7d9e62 Changed icon 2023-12-11 19:50:37 -03:00
Lucas Oliveira
e8dca57e60 Fixed alert naming when sharing 2023-12-11 18:49:07 -03:00
Lucas Oliveira
6ca00b35d1 Fixed Share icon and disposition 2023-12-11 18:45:48 -03:00
anovazzi1
6b2f432327 fix(flowsContext.tsx): add a setTimeout to prevent updating state with wrong data
The setTimeout function is added to delay the execution of the addFlowToLocalState function by 200 milliseconds. This is done to prevent updating the state with incorrect data.
2023-12-11 17:57:49 -03:00
Gabriel Luiz Freitas Almeida
8432d15482
Remove console.log statements, fix embedding parameter order, and improve formatting (#1199) 2023-12-11 17:06:50 -03:00
cristhianzl
e7530a4ca5 Merge branch 'dev' of github.com:logspace-ai/langflow into dev 2023-12-11 16:54:02 -03:00
cristhianzl
e7affbd34e fixing tests 2023-12-11 16:53:52 -03:00
Gabriel Luiz Freitas Almeida
a8a5cb35e3 Remove console.log statements from FloatComponent 2023-12-11 16:49:19 -03:00
anovazzi1
002b8667a8 fix(PageComponent): add flow and flow.data as dependencies to useEffect to ensure proper cleanup and prevent memory leaks 2023-12-11 16:48:14 -03:00
Gabriel Luiz Freitas Almeida
a0cf3c3a02
Update frontend dependencies (#1198) 2023-12-11 15:10:34 -03:00
Gabriel Luiz Freitas Almeida
c59f87c420 🔒 chore(frontend): update @adobe/css-tools to version 4.3.2 for security and bug fixes
🔒 chore(frontend): update @babel/code-frame to version 7.23.5 for bug fixes
🔒 chore(frontend): update @babel/generator to version 7.23.6 for bug fixes
🔒 chore(frontend): update @babel/helper-string-parser to version 7.23.4 for bug fixes
🔒 chore(frontend): update @babel/highlight to version 7.23.4 for bug fixes
🔒 chore(frontend): update @babel/parser to version 7.23.6 for bug fixes
🔒 chore(frontend): update @babel/traverse to version 7.23.6 for bug fixes
🔒 chore(frontend): update @babel/types to version 7.23.6 for bug fixes
🔒 chore(frontend): update vite to version 4.5.1 for bug fixes

⬆️ chore(frontend): update dependencies

- Update `@babel/code-frame` from version 7.22.13 to 7.23.5
- Update `@babel/generator` from version 7.23.3 to 7.23.6
- Update `@babel/helper-string-parser` from version 7.22.5 to 7.23.4
- Update `@babel/highlight` from version 7.22.20 to 7.23.4
- Update `@babel/parser` from version 7.23.3 to 7.23.6
- Update `@babel/traverse` from version 7.23.3 to 7.23.6
- Update `@babel/types` from version 7.23.3 to 7.23.6
- Update `vite` from version 4.5.0 to 4.5.1

These updates include bug fixes, performance improvements, and new features.
2023-12-11 15:09:07 -03:00
Gabriel Luiz Freitas Almeida
6011cd5693
chore(deps-dev): bump vite from 4.5.0 to 4.5.1 in /src/frontend (#1181) 2023-12-11 15:04:09 -03:00
Lucas Oliveira
3169e2ecf5 Refactor unnecessary code at API 2023-12-11 10:03:46 -03:00
Gabriel Luiz Freitas Almeida
6a23dd1b8f Remove unnecessary code in postValidatePrompt
function
2023-12-11 08:25:41 -03:00
Lucas Oliveira
89e7469032 Fixed Share button position and icon 2023-12-11 00:18:14 -03:00
Lucas Oliveira
501bcaeb65 Changed warning text on Share Modal 2023-12-10 23:50:44 -03:00
Lucas Oliveira
a464c3d1d4 Removed ability to share with API keys 2023-12-10 23:43:02 -03:00
Lucas Oliveira
68a777b230 Put component and flow export into share modal 2023-12-10 23:26:07 -03:00
Lucas Oliveira
2fe6ea23db Temporary Fix - Validate Prompt coming with aditional object 2023-12-10 22:58:38 -03:00