Gabriel Luiz Freitas Almeida
fbedf7f734
✨ feat(field_typing): add NestedDict type alias to improve code readability and maintainability
2023-09-14 14:09:18 -03:00
Gabriel Luiz Freitas Almeida
70d9742d16
🐛 fix(parameterComponent): fix type comparison for "NestedDict" to improve accuracy and consistency
...
🐛 fix(EditNodeModal): fix type comparison for "NestedDict" to improve accuracy and consistency
2023-09-14 14:09:06 -03:00
Guangya Liu
888ded02f9
Fixed format pre-check error
2023-09-14 10:17:13 -04:00
Guangya Liu
9b9a84f81f
Fixed Bug 916: No module named 'langflow.settings' error
2023-09-14 10:14:56 -04:00
Gabriel Luiz Freitas Almeida
63d1e82c80
fix: 🐛 fixes Infinity icon crashing the frontend
...
There's an issue with the exported Infinity variable, InfinityIcon is an alias and fixes that
2023-09-14 09:36:34 -03:00
Cristhian Zanforlin Lousa
9c4c8f1cf7
🔨 refactor(promptComponent): rename TextAreaComponentType to PromptAreaComponentType for better naming consistency and clarity
...
🔨 refactor(genericModal): import cloneDeep from lodash to improve code readability and maintainability
🔨 refactor(genericModal): add type annotations to validatePrompt function parameters for better code documentation
🔨 refactor(genericModal): add null check for nodeClass before modifying it in validatePrompt function
🔨 refactor(genericModal): setNodeClass and setModalOpen only if frontend_node is not an empty object in validatePrompt function
🔨 refactor(genericModal): remove console.log statement in catch block of validatePrompt function
🔨 refactor(genericModal): add type annotations to catch block of validatePrompt function for better code documentation
🔨 refactor(types): add PromptAreaComponentType to define the type of PromptAreaComponent props
2023-09-14 09:12:18 -03:00
Gabriel Luiz Freitas Almeida
57cba4233a
Fixed format errors ( #903 )
2023-09-14 01:29:26 +00:00
Cristhian Zanforlin Lousa
e1bb4b4a24
🐛 fix(genericModal/index.tsx): close modal when template has no varia… ( #911 )
...
…bles to prevent user confusion
2023-09-13 22:26:38 -03:00
Cristhian Zanforlin Lousa
887bfb8ee7
🐛 fix(genericModal/index.tsx): close modal when template has no variables to prevent user confusion
2023-09-13 21:42:26 -03:00
Gabriel Luiz Freitas Almeida
c6be7cdecd
Merge remote-tracking branch 'origin/main' into dev
2023-09-13 21:32:51 -03:00
igorrCarvalho
21009761f0
Refactor: adjust icon size when node are minimized
2023-09-13 18:23:52 -03:00
igorrCarvalho
b1f874ca03
Fix: Minimize working after add a new handle with promptTemplate
2023-09-13 18:17:01 -03:00
anovazzi1
95767c6594
fix(formModal): import processFlow function from reactflowUtils to fix compilation error
...
refactor(formModal): replace the usage of processFLow function with processFlow function to correctly process the flow object
2023-09-13 17:57:00 -03:00
anovazzi1
6d04f49443
fix(reactflowUtils.ts): fix nullability issues and improve variable names for better readability
...
refactor(reactflowUtils.ts): update targetHandle and sourceHandle to use JSON stringified values for better compatibility
2023-09-13 17:50:51 -03:00
igorrCarvalho
c70de1e881
Refactor: Minimize only works with 1 handle node and change minimized node UI
2023-09-13 17:23:35 -03:00
anovazzi1
8e03d95df5
feat(GenericNode): add support for Proxy field in GenericNode component to enable customization of Proxy component for each template field
2023-09-13 17:21:51 -03:00
anovazzi1
07f5342aa8
migrate old edges id format to new edges id fromat on ungroup node
2023-09-13 17:04:07 -03:00
anovazzi1
a7b9cf2cc9
update position on node
2023-09-13 16:17:59 -03:00
anovazzi1
04f2941a7d
fix(GenericNode): import XYPosition from reactflow to fix type error
...
feat(GenericNode): add position prop to GenericNode component to pass the position of the node
fix(nodeToolbarComponent): import updateFlowPosition from reactflowUtils to fix reference error
feat(nodeToolbarComponent): add position prop to NodeToolbarComponent to pass the position of the node
fix(components): import XYPosition from reactflow to fix type error
feat(components): add position prop to nodeToolbarPropsType to pass the position of the node
feat(reactflowUtils): add expandGroupNode function to expand a group node and update the flow
2023-09-13 10:53:43 -03:00
anovazzi1
7de65ed709
feat(nodeToolbarComponent): add "Ungroup" button to the node toolbar when the node is a group
...
fix(styleUtils.ts): import the "Ungroup" icon from lucide-react to use it in the node toolbar component
2023-09-12 22:13:06 -03:00
anovazzi1
f33acd4685
fix(EditNodeModal): fix incorrect property name in template rendering logic
...
The property name `display_name` was incorrectly used instead of `name` in the template rendering logic. This has been fixed to correctly display the name of the template parameter.
2023-09-12 21:28:01 -03:00
anovazzi1
9d510e3e4b
fix output string of custom component and truncate long Ids on display name
2023-09-12 21:00:42 -03:00
igorrCarvalho
602c12282d
Refactor: Change how minimize displays on screen
2023-09-12 20:19:05 -03:00
anovazzi1
e4471886e4
feat(types/api): add 'dynamic' and 'proxy' properties to TemplateVariableType to support dynamic and proxy fields in templates
...
feat(utils/reactflowUtils): add 'toTitleCase' function to convert strings to title case
refactor(utils/reactflowUtils): update function names and comments
refactor(utils/reactflowUtils): update 'updateGroupNodeTemplate' function to handle 'dynamic' property
refactor(utils/reactflowUtils): update 'mergeNodeTemplates' function to handle 'display_name' and 'dynamic' properties
refactor(utils/reactflowUtils): update 'isHandleConnected' function to handle 'proxy' property
refactor(utils/reactflowUtils): update 'generateNodeFromFlow' function to set 'type' as 'genericNode' instead of 'groupNode'
2023-09-12 18:15:32 -03:00
anovazzi1
42f7821002
fix(parameterComponent/index.tsx): remove unnecessary ts-ignore comments
...
fix(reactflowUtils.ts): add input_types variable to prevent error when checking for advanced types
2023-09-12 17:17:36 -03:00
Cristhian Zanforlin Lousa
8121dc0a8b
🔨 refactor(dialog.tsx): remove unused IconComponent import and replace it with Cross2Icon from @radix-ui/react-icons
...
🎨 style(dialog.tsx): update DialogContent className to improve positioning and animation effects
2023-09-12 16:56:53 -03:00
anovazzi1
492ca19fff
text update
2023-09-12 16:35:04 -03:00
anovazzi1
90c864fafc
refactor(parameterComponent): update text displayed based on the value of the 'left' prop for better clarity and consistency
2023-09-12 16:35:04 -03:00
igorrCarvalho
cd28ae2c59
Refactor: Add header to node tooltips
2023-09-12 16:35:04 -03:00
igorrCarvalho
c03b11ab70
Refactor: Remove description space whem node does not have a space
2023-09-12 16:35:04 -03:00
igorrCarvalho
e38b904af2
Refactor: Remove blank space when node has no description
2023-09-12 16:35:04 -03:00
igorrCarvalho
0c3c7276f1
Feat: Add function to handle minimize
2023-09-12 14:55:02 -03:00
igorrCarvalho
a0c7712b70
Merge branch 'nodesImprovements' into minimizeNode
2023-09-12 14:28:54 -03:00
igorrCarvalho
b06cb9507f
Feat: Add minimize icon and conditional render
2023-09-12 14:25:04 -03:00
Guangya Liu
f0ba05c9cc
rollback the test error with python 3.10
2023-09-12 11:52:14 -04:00
Guangya Liu
48586fc3e6
Fix format errors
2023-09-12 11:17:11 -04:00
Guangya Liu
36aee971c4
fix test errors
2023-09-12 11:16:11 -04:00
Matheus Jacques
4f6aeefd96
🔧 chore(main.tf): add label to a random worker node to ensure data volume is created
...
🔧 chore(main.tf): deploy the langflow_stack using docker stack
2023-09-12 11:42:58 +02:00
Matheus Jacques
1ca839899a
🔧 chore(main.tf): use variable for AWS region to improve flexibility and reusability
...
🔧 chore(main.tf): use variables for instance type, manager count, and worker count to improve configurability and scalability
2023-09-12 11:40:33 +02:00
Matheus Jacques
c2520554b2
🐛 fix(docker-compose.yml): remove unnecessary variable check in node placement constraints to fix deployment issue
2023-09-12 11:40:03 +02:00
Gabriel Luiz Freitas Almeida
a35e6a6556
📝 docs(langfuse_integration.mdx): remove reference to troubleshooting section in Langfuse documentation as it is not available ( #900 )
2023-09-12 01:41:47 +00:00
Gabriel Luiz Freitas Almeida
b819f37798
📝 docs(langfuse_integration.mdx): remove reference to troubleshooting section in Langfuse documentation as it is not available
...
📝 docs(langfuse_integration.mdx): update step 3 to remove mention of consulting Langfuse documentation or contacting support for integration issues
2023-09-11 22:40:47 -03:00
anovazzi1
374ae22563
Profile Page implementation and fix on Admin Page ( #896 )
2023-09-11 18:49:43 -03:00
anovazzi1
249cf833fa
fix(AdminPage/index.tsx): fix asynchronous handling of updateUser function to properly reset filter and set success data after user update
...
fix(styleUtils.ts): fix import statement for GradientSparkles component to use curly braces for named import
2023-09-11 18:46:50 -03:00
anovazzi1
732c140fb7
Merge remote-tracking branch 'origin/dev' into feature/profilePage
2023-09-11 18:36:11 -03:00
anovazzi1
22a7f37efb
fix(GradientSparkles/index.tsx): remove unnecessary import of Infinity component from lucide-react
...
fix(GradientSparkles/index.tsx): replace usage of imported Infinity component with inline SVG code to avoid crashing the UI
2023-09-11 18:33:04 -03:00
Lucas Oliveira
64bb977045
Fixed isActive and isSuperuser not changing when creating user
2023-09-11 18:09:22 -03:00
Gabriel Luiz Freitas Almeida
967483e59c
Revert "Fixed isActive and isSuperuser not changing when creating user"
...
This reverts commit b454b8c7ce .
2023-09-11 17:29:34 -03:00
Lucas Oliveira
b454b8c7ce
Fixed isActive and isSuperuser not changing when creating user
2023-09-11 16:59:33 -03:00
Lucas Oliveira
d09df8a497
Formatting Fixes
2023-09-11 16:07:40 -03:00