Commit graph

11,741 commits

Author SHA1 Message Date
Lucas Oliveira
6322827ad6 Fixed not being able to copy anywhere 2024-06-14 17:01:00 -03:00
Lucas Oliveira
647df8a592 Fixed error color and padding 2024-06-14 17:00:47 -03:00
Lucas Oliveira
f1be3ddf99 Fixed grabbing to override children 2024-06-14 17:00:47 -03:00
Lucas Oliveira
efda9ccb89 Changed icon of message 2024-06-14 17:00:47 -03:00
Lucas Oliveira
bbf794cac2 Fixed badge size on Advanced modal 2024-06-14 17:00:47 -03:00
Lucas Oliveira
7ceaefd651 Fixed if/else that is not on useEffect 2024-06-14 17:00:47 -03:00
italojohnny
09c21fca06 fix logs 2024-06-14 16:54:19 -03:00
ogabrielluiz
1ba029a8b0 feat: Add endpoint_name field to saveFlowToDatabase function 2024-06-14 16:51:48 -03:00
ogabrielluiz
ce80e26c50 refactor: Ignore missing inputs in Component class 2024-06-14 16:40:47 -03:00
ogabrielluiz
a5df1c109a Format frontend 2024-06-14 16:32:13 -03:00
ogabrielluiz
1dbeec38c0 refactor: Import Data class in utils.py for better code organization 2024-06-14 16:31:47 -03:00
ogabrielluiz
d060d5308a Add webhook test and fix webhook to support endpoint name 2024-06-14 16:30:17 -03:00
ogabrielluiz
fb1595e4b0 refactor: Update field_type in HandleInput to use SerializableFieldTypes enum 2024-06-14 16:29:16 -03:00
ogabrielluiz
969deae5e1 refactor: Update BaseInputMixin to validate input assignment 2024-06-14 16:15:33 -03:00
ogabrielluiz
f17c55727d refactor: Update field_type in HandleInput to use SerializableFieldTypes enum 2024-06-14 16:14:30 -03:00
ogabrielluiz
4e13c7352d refactor: Improve value validation in TextInput 2024-06-14 16:11:23 -03:00
ogabrielluiz
ce415fc346 feat: Add endpoint_name to export modal and handle export flows 2024-06-14 15:58:50 -03:00
ogabrielluiz
d11877aa99 refactor: Add Webhook Test flow fixture 2024-06-14 15:33:48 -03:00
ogabrielluiz
c97d90c4ad refactor: Update BaseInputMixin to validate input assignment 2024-06-14 15:32:55 -03:00
ogabrielluiz
4df46bf9de refactor: Add ListableInputMixin to HandleInput class 2024-06-14 15:06:29 -03:00
ogabrielluiz
6f7efd01f2 refactor: Improve handling of repr_value in CustomComponent 2024-06-14 15:05:19 -03:00
ogabrielluiz
46cd83ab46 refactor: Improve handling of repr_value in CustomComponent 2024-06-14 15:05:14 -03:00
ogabrielluiz
05c2a59928 refactor: Fix empty input value handling in TextComponent and WebhookComponent 2024-06-14 15:05:06 -03:00
ogabrielluiz
3c9948e2c3 Add logHasMessage and logTypeIsUnknown functions 2024-06-14 15:04:47 -03:00
ogabrielluiz
c73eb44842 Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges 2024-06-14 14:26:07 -03:00
ogabrielluiz
5471ab3671 feat: Add PyYAML wheel for manylinux_2_17_aarch64 platform 2024-06-14 14:23:38 -03:00
ogabrielluiz
6784332bb3 Merge remote-tracking branch 'origin/dev' into two_edges 2024-06-14 14:13:42 -03:00
ogabrielluiz
6f40941925 Merge remote-tracking branch 'origin/two_edges_dev' into two_edges 2024-06-14 14:09:12 -03:00
cristhianzl
26b7db4ec6 Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges 2024-06-14 14:05:33 -03:00
cristhianzl
3f8e6f0c46 refactor: Improve handling of template_dicts inputs in Vertex class 2024-06-14 14:05:22 -03:00
Ítalo Johnny
5353d2375a
Sentry integration (#2172)
* add sentry sdk to dependencies

* add sentry attributes to settings

* initialize sentry for error tracking

* add sentry sdk to base dependencies
2024-06-14 10:01:24 -07:00
ogabrielluiz
52e472798a chore: Update lint-action to v2 in lint-js.yml and lint-py.yml workflows 2024-06-14 13:53:27 -03:00
ogabrielluiz
0172a84d63 refactor: Rename TextInput to TextInputComponent for consistency 2024-06-14 13:51:04 -03:00
Gabriel Luiz Freitas Almeida
9daf66993f
Refactor CustomComponent repr_value handling (#2173)
* Refactor CustomComponent to handle repr_value more efficiently
2024-06-14 09:48:35 -07:00
cristhianzl
3ea0c7b03a ♻️ (tableComponent): disable row animations to improve performance
♻️ (flowLogsModal): use useMemo for TableComponent to optimize rendering
2024-06-14 13:40:35 -03:00
ogabrielluiz
2276d050fe 🔧 (component.py): Add input validation to Component
📝 (component.py): Update imports and type annotations for better readability and maintainability
🔧 (component.py): Refactor map_inputs method to accept InputTypes and validate inputs in Component class
♻️ (component.py): Refactor _validate_inputs method to check if input is a class method
🔧 (util.py): Add is_class_method function to check if a function is a class method
2024-06-14 13:36:17 -03:00
ogabrielluiz
6ff8b01e9c (inputs/__init__.py): Add TextInput class to support text input type in langflow inputs
📝 (inputs/inputs.py): Add TextInput class with validation logic for different input types like Data, Message, and Text
📝 (schema/message.py): Add text_key attribute to Message class to specify the key for text data in the message object
2024-06-14 13:36:17 -03:00
cristhianzl
f1512ab015 merge fix 2024-06-14 13:27:05 -03:00
Cristhian Zanforlin Lousa
f520e0bf77
Fix error on React Flow with Auto Login = False (#2164)
This pull request addresses several improvements and fixes to enhance
the overall functionality and user experience. The key changes include:

- Improved Folders Behavior Context

- Enhanced Duplicate Request Blocker

- Bug Fix: Folders Compatibility with AutoLogin = False
2024-06-14 13:23:39 -03:00
cristhianzl
9000973db3 Merge branch 'dev' of https://github.com/langflow-ai/langflow into dev 2024-06-14 13:23:12 -03:00
cristhianzl
71e8aa00cf 🐛 (utils.ts): add optional chaining to base_classes to prevent runtime errors 2024-06-14 13:23:03 -03:00
ogabrielluiz
2443069611 chore: Update mypy command prefix to use "poetry run" 2024-06-14 12:33:18 -03:00
cristhianzl
2f1a7081b9 fix merge on tests 2024-06-14 11:52:23 -03:00
cristhianzl
6f0ddc78c7 refactor: Update chatInputOutput.spec.ts to improve chat input/output interaction 2024-06-14 11:50:27 -03:00
cristhianzl
04f578f8be (floatComponent.spec.ts): update test values and remove redundant checks
 (inputListComponent.spec.ts): correct test IDs and update element counts
 (promptModalComponent.spec.ts): fix incorrect locator ID
 (textAreaModalComponent.spec.ts): fix incorrect locator ID
 (textInputOutput.spec.ts): update hover element locator for accuracy
2024-06-14 11:49:16 -03:00
Gabriel Luiz Freitas Almeida
a9cb7b0f5e
Update linting workflows for frontend and Python code (#2171)
* chore: Update pre-commit hooks and dependencies

* chore: Add linting workflow for frontend code

* chore: Update linting workflow for Python code and include tests in pull requests

* chore: Add Ruff style check workflow for Python code
2024-06-14 06:27:48 -07:00
cristhianzl
57a7b2baab ♻️ (use-delete-folder.tsx): remove unused refreshFolders variable to clean up code 2024-06-14 09:45:53 -03:00
cristhianzl
705311982c formatting files 2024-06-14 09:40:48 -03:00
cristhianzl
ec1a0fafe5 ♻️ (use-delete-folder.tsx): replace refreshFolders with getFoldersApi for better API call management 2024-06-14 09:34:59 -03:00
italojohnny
2d692a6701 Merge branch 'dev' into two_edges_dev 2024-06-14 09:31:14 -03:00