Commit graph

4,997 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
8bca40e4af Merge remote-tracking branch 'origin/dev' into form_io 2023-07-10 23:29:41 -03:00
Rodrigo Nader
0df969ac9d Change chat disabled color 2023-07-10 22:58:27 -03:00
Cristhian Zanforlin Lousa
dccf83ff17 Merge branch 'form_io' of https://github.com/logspace-ai/langflow into form_io 2023-07-10 22:55:49 -03:00
Lucas Oliveira
49de361b21 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 22:55:54 -03:00
Cristhian Zanforlin Lousa
cf278a4c74 merge fix 2023-07-10 22:55:42 -03:00
anovazzi1
786d089eb3 Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 22:55:17 -03:00
Lucas Oliveira
9331c9b9c0 Fix copy paste on text area 2023-07-10 22:54:50 -03:00
anovazzi1
51c3bf3b8f fix dark mode for connections 2023-07-10 22:54:06 -03:00
Lucas Oliveira
d809919084 Fixed node text selecting when selecting nodes 2023-07-10 22:44:48 -03:00
Cristhian Zanforlin Lousa
d2f28dee6b 🐛 fix(parameterComponent): add refNumberComponents to keep track of the number of components
🐛 fix(parameterComponent): change text-destructive class to text-status-red for better semantics
🐛 fix(ModalField): change text-destructive class to text-status-red for better semantics
🐛 fix(codeAreaModal): change text-destructive class to text-status-red for better semantics
2023-07-10 22:43:34 -03:00
Lucas Oliveira
70ea71e40a Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 22:39:47 -03:00
Lucas Oliveira
9726b5cce5 Deleted unused code 2023-07-10 22:38:44 -03:00
anovazzi1
93ab5b115c Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 22:35:09 -03:00
anovazzi1
c0aa19c47e removed console.log 2023-07-10 22:34:10 -03:00
Lucas Oliveira
4e8ee49c96 Codacy fixes 2023-07-10 22:32:57 -03:00
anovazzi1
5d2b8425ba Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 20:45:02 -03:00
Igor Carvalho
bc26d65582 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 20:36:28 -03:00
Igor Carvalho
657c64b5b9 style(codeAreaComponent && promptAreaComponent): Change disabled inputs border and placeholder color 2023-07-10 20:35:15 -03:00
Lucas Oliveira
3285aa5cc3 Fixed scroll glitch on code block 2023-07-10 20:19:38 -03:00
Lucas Oliveira
d0be105055 Fixed code area saving when not supposed to 2023-07-10 19:48:04 -03:00
Lucas Oliveira
07e6b137c4 Fixed display prompt showing when there is no template 2023-07-10 19:45:12 -03:00
Igor Carvalho
e438f5a2a6 refactor(parameterComponent): Make modal disabled inputs look like other disabled inputs 2023-07-10 19:35:54 -03:00
anovazzi1
6b17215a7b removing edges after remove handle on prompt 2023-07-10 19:34:19 -03:00
Lucas Oliveira
46e59a31d8 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 19:26:15 -03:00
Lucas Oliveira
20644a83bc Added placeholder message when a chat key does not exist 2023-07-10 19:24:02 -03:00
anovazzi1
b6aa4d9449 Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 18:46:52 -03:00
anovazzi1
af41be13a6 update template bug 2023-07-10 18:46:22 -03:00
Igor Carvalho
9df88167c2 style(index.css): Change tailwind default colors to langflow colors and add user and bot color icons 2023-07-10 18:42:32 -03:00
anovazzi1
be62e15969 Merge branch 'form_io' of personal:logspace-ai/langflow into form_io 2023-07-10 18:10:43 -03:00
anovazzi1
86bdec36e6 new function to clean invalid edges of a flow 2023-07-10 18:10:11 -03:00
Igor Carvalho
965d6cf5bc style(index.css): Remove unnecessary dark classes 2023-07-10 17:50:17 -03:00
Lucas Oliveira
ba61b0e9e0 Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io 2023-07-10 16:44:52 -03:00
Lucas Oliveira
7bfe0c88c1 Fixed and added conditions to flows without chat 2023-07-10 16:42:41 -03:00
Cristhian Zanforlin Lousa
5d42acf28d 🐛 fix(utils.ts): add optional chaining to reactFlowInstance.getNode() to handle cases where reactFlowInstance is null or undefined 2023-07-10 16:41:23 -03:00
Lucas Oliveira
e020e23124 Fixed tooltip not being at the top of all nodes 2023-07-10 16:20:18 -03:00
Lucas Oliveira
6b3fcd5608 format 2023-07-10 16:00:12 -03:00
Lucas Oliveira
f035be88e4 Fixed bug where we cannot create new flow when we build a flow 2023-07-10 15:59:38 -03:00
Gabriel Luiz Freitas Almeida
eecefdb235 🐛 fix(formModal): handle case when chatKey is undefined to prevent error 2023-07-10 15:47:02 -03:00
Cristhian Zanforlin Lousa
43063dd00f 🎨 style(chatMessage/index.tsx): add responsive max-width to the markdown container to improve readability on smaller screens 2023-07-10 15:17:13 -03:00
Gabriel Luiz Freitas Almeida
6ff7ac08ce
🐛 fix(utils.ts): fix typo in utils.ts (#599) 2023-07-10 14:50:42 -03:00
Cristhian Zanforlin Lousa
df31285395 Merge branch 'form_io' of https://github.com/logspace-ai/langflow into form_io 2023-07-10 14:39:18 -03:00
Cristhian Zanforlin Lousa
1f2cddf1d2 🎨 style(chatInput/index.tsx): add 'bg-input' class to the chat input when lockChat is true to improve visual distinction 2023-07-10 14:39:11 -03:00
Ikko Eltociear Ashimine
7cbba9eede
fix(icons): fix typo in index.tsx
HugginFaceIcon -> HuggingFaceIcon
2023-07-11 02:34:35 +09:00
Gabriel Luiz Freitas Almeida
c9fd97f1f6 formatting 2023-07-10 13:58:48 -03:00
Cristhian Zanforlin Lousa
f751927ab1 🎨 style(dropdownComponent/index.tsx): add custom-scroll class to dropdown options to enable custom scrolling 2023-07-10 12:15:39 -03:00
Cristhian Zanforlin Lousa
efbc23d6bc 🐛 fix(codeAreaComponent): update class names to improve styling and semantics
🐛 fix(promptComponent): remove unnecessary div wrapper
🐛 fix(textAreaComponent): update class names to improve styling and semantics
2023-07-10 12:01:25 -03:00
anovazzi1
c8cdb89da1 using new examples for testing 2023-07-10 11:36:16 -03:00
Cristhian Zanforlin Lousa
ea8d6668de 🐛 fix(EditNodeModal): use the 'disabled' prop value instead of hardcoded 'false' to control the disabled state of input components 2023-07-10 10:32:19 -03:00
Cristhian Zanforlin Lousa
243b59507b 🐛 fix(parameterComponent): use strict equality operator (===) instead of loose equality operator (==) for item.type comparison to improve code quality and avoid potential bugs
🐛 fix(parameterComponent): update style prop value in ShadTooltip component to use class names 'tooltip-fixed-width' and 'custom-scroll' for consistent styling and better readability
🐛 fix(parameterComponent): update disabled prop value in TextAreaComponent to use the disabled variable passed as a prop for consistency and better code organization
🐛 fix(AccordionComponent): use strict equality operator (===) instead of loose equality operator (==) for open.length comparison to improve code quality and avoid potential bugs
🐛 fix(codeAreaComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(codeAreaComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(codeAreaComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(codeAreaComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(inputFileComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(inputFileComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(inputFileComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(inputFileComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(intComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(intComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(promptComponent): add missing dependencies to useEffect dependency array to avoid potential bugs and improve code quality
🐛 fix(promptComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(textAreaComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(textAreaComponent): remove unnecessary space in className prop value to improve code readability
🐛 fix(tabsContext): change getTweak initial state from an object to an empty array to match the expected type and avoid potential bugs
🐛 fix(ApiModal): add missing curly braces around the buildTweaks function call to ensure the correct value is pushed to the tweak.current array

🐛 fix(EditNodeModal): remove unnecessary 'save' variable from useContext destructuring
🐛 fix(chatMessage): use strict equality operator (===) instead of loose equality operator (==) for comparison
🐛 fix(chatModal): use strict equality operator (===) instead of loose equality operator (==) for comparison
🐛 fix(codeAreaModal): add 'setCloseEdit' to useContext destructuring and add 'setModalOpen' function
🐛 fix(chatInput): use strict equality operator (===) instead of loose equality operator (==) for comparison
🐛 fix(chatMessage): use strict equality operator (===) instead of loose equality operator (==) for comparison
🐛 fix(formModal): use strict equality operator (===) instead of loose equality operator (==) for comparison
🐛 fix(formModal): use strict equality operator (===) instead of loose equality operator (==) for comparison
🐛 fix(formModal): use strict equality operator (===) instead of loose equality operator (==) for comparison
🐛 fix(formModal): use strict equality operator (===) instead of loose equality operator (==) for comparison
🐛 fix(genericModal): use strict equality operator (===) instead of loose equality operator (==) for comparison
🐛 fix(flow): add missing newline at the end of the file
🐛 fix(tabs): add missing import for TweaksType from flow

🐛 fix(utils.ts): change comparison operator from '==' to '===' for better type safety and strict equality check
2023-07-10 10:29:09 -03:00
Gabriel Luiz Freitas Almeida
d0124dc4cc 🔥 refactor(chatModal/index.tsx): remove unused setNoticeData function from alertContext
🔒 chore(chatModal/index.tsx): remove unused lockChat state variable and setLockChat function
2023-07-09 11:18:21 -03:00