Commit graph

12,775 commits

Author SHA1 Message Date
cristhianzl
bc6304b338 ♻️ (tableComponent): remove toTitleCase utility function to simplify headerName assignment
💡 (utils.ts): remove unnecessary commas and improve code readability
2024-06-14 17:01:50 -03:00
cristhianzl
1c896924d6 (tests): add zoom actions to end-to-end tests for better view control
 (tests): update locators in chatInputOutput.spec.ts for element accuracy
 (tests): import dotenv and path in end-to-end tests for environment config
 (tests): add control-click actions in group.spec.ts for multi-select testing
 (tests): update text assertions in logs.spec.ts for consistency with UI changes
2024-06-14 17:01:00 -03:00
ogabrielluiz
5f5d444d78 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 17:01:00 -03:00
ogabrielluiz
d6d3c53695 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 17:01:00 -03:00
Lucas Oliveira
6685ca32bb Fixed table header displaying Title Case instead of normal 2024-06-14 17:01:00 -03:00
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
Cristhian Zanforlin Lousa
80ad50248e
Fix: General UI Bugs (#2176)
## Overview
This pull request includes several bug fixes and improvements to the
project. Each commit addresses a specific issue or enhancement, ensuring
a more robust and user-friendly experience.

## Changes

1. **Fixed if/else that is not on useEffect**
- Corrected the conditional logic to ensure proper execution flow
outside of useEffect.

2. **Fixed badge size on Advanced modal**
- Adjusted the badge size in the Advanced modal for better visual
alignment and consistency.

3. **Changed icon of message**
- Updated the message icon to improve user interface clarity and
aesthetics.

4. **Fixed grabbing to override children**
- Resolved an issue where grabbing was interfering with child
components, ensuring proper functionality and user interaction.

5. **Fixed error color and padding**
- Enhanced the error display by adjusting color and padding, making
error messages more noticeable and readable.

6. **Fixed not being able to copy anywhere**
- Fixed a bug preventing users from copying text, enhancing user
convenience and accessibility.

7. **Fixed table header displaying Title Case instead of normal**
- Corrected the table header formatting to display in normal case,
improving readability and adherence to design guidelines.

## Testing
- Each fix has been tested to ensure the issues have been resolved
without introducing new bugs.
- User interface changes have been reviewed to confirm visual
improvements.

## Impact
- These changes improve the overall user experience, usability, and
interface consistency.
- The bug fixes address critical issues that enhance the functionality
and reliability of the application.

## Conclusion
These updates collectively contribute to a more polished and
user-friendly application. Please review the changes and provide
feedback or approval for merging.

Thank you!
2024-06-14 16:39:40 -03:00
cristhianzl
d8b72fd158 merge fix 2024-06-14 16:39:20 -03:00
cristhianzl
66b7189c31 (tests): add zoom actions to end-to-end tests for better view control
 (tests): update locators in chatInputOutput.spec.ts for element accuracy
 (tests): import dotenv and path in end-to-end tests for environment config
 (tests): add control-click actions in group.spec.ts for multi-select testing
 (tests): update text assertions in logs.spec.ts for consistency with UI changes
2024-06-14 16:38:15 -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
cristhianzl
2ca258e31a ♻️ (tableComponent): remove unnecessary comma and autoHeight property
 (ShortcutsPage): add conditional rendering for TableComponent to handle empty data
2024-06-14 15:48:52 -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
cristhianzl
a7ea080c88 Merge branch 'dev' of https://github.com/langflow-ai/langflow into dev 2024-06-14 15:28:00 -03:00
Lucas Oliveira
b0eed97964 Merge remote-tracking branch 'origin/dev' into fix/dev_bugs 2024-06-14 15:20:46 -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
cristhianzl
30cd13a7da ♻️ (tableComponent): remove toTitleCase utility function to simplify headerName assignment
💡 (utils.ts): remove unnecessary commas and improve code readability
2024-06-14 14:30:32 -03:00
ogabrielluiz
3c430ff397 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 14:29:51 -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
49962aeb57 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 14:19:06 -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