Commit graph

11,504 commits

Author SHA1 Message Date
ogabrielluiz
47ea958441 chore: Update package versions in pyproject.toml files 2024-06-14 22:46:57 -03:00
Gabriel Luiz Freitas Almeida
c53901f7ef
Refactor endpoints.py to improve code handling and remove caching (#2180)
* chore: Refactor CustomComponent to improve repr_value handling

* ♻️ (endpoints.py): Refactor the simplified_run_flow and webhook_run_flow functions to remove caching

* Refactor endpoints.py to remove caching and update tests
2024-06-14 18:39:44 -07:00
ogabrielluiz
8e74b16e64 chore: Update .gitignore to exclude database files 2024-06-14 22:37:19 -03:00
Lucas Oliveira
6a3e4817ed Fixed badges exhibition and genericModal footer 2024-06-14 19:05:32 -03:00
Lucas Oliveira
fd39e4bd6f Refactored Logs header 2024-06-14 19:05:32 -03:00
Igor Carvalho
e265ee6c23
Refactor: Remove blue border when agGrid input are focused (#2178) 2024-06-14 18:21:36 -03:00
Lucas Oliveira
55fdebe3bb Fixed ShadTooltip appearing when Accordion is not disabled 2024-06-14 18:19:13 -03:00
Lucas Oliveira
50e44c674b Fixed BaseModal text padding 2024-06-14 18:08:31 -03:00
Lucas Oliveira
1715898593 Fixed prompt modal oveflow 2024-06-14 17:47:49 -03:00
ogabrielluiz
b35efc458d chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 17:14:52 -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
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
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
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
49962aeb57 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 14:19:06 -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
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
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
Lucas Oliveira
58e0561d4a Merge remote-tracking branch 'origin/dev' into fix/dev_bugs 2024-06-14 13:22:14 -03:00
ogabrielluiz
2443069611 chore: Update mypy command prefix to use "poetry run" 2024-06-14 12:33:18 -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
ogabrielluiz
df634de53f chore: Improve error handling and logging in get_current_user_by_jwt function 2024-06-14 08:55:33 -03:00
ogabrielluiz
a7e83baa35 chore: Bump langchain and langchain-core versions to 0.2.4 and 0.2.6 respectively 2024-06-14 08:53:15 -03:00
ogabrielluiz
38c721f387 chore: Bump version of langflow and langflow-base packages 2024-06-14 08:39:42 -03:00
ogabrielluiz
3738a32b92 chore: Update Docker build workflow to include LANGFLOW_IMAGE build argument 2024-06-14 08:36:28 -03:00
Gabriel Luiz Freitas Almeida
5300b9cc08
Improve error handling and logging in get_current_user_by_jwt function (#2165)
chore: Improve error handling and logging in get_current_user_by_jwt function
2024-06-14 04:24:52 -07:00
ogabrielluiz
5f87e10127 🔧 (docker-build.yml): update setting output variables to use a file for better readability and maintainability 2024-06-14 08:19:38 -03:00
ogabrielluiz
05ceb29dec chore: Update Docker build workflow to include base and component images 2024-06-13 18:48:43 -03:00
ogabrielluiz
c818c47594 chore: Update Docker build workflow to include base and component images 2024-06-13 18:47:37 -03:00
ogabrielluiz
d921865e45 chore: Update dependencies to latest versions 2024-06-13 18:33:48 -03:00
Lucas Oliveira
94d7f4a9cb Fixed table header displaying Title Case instead of normal 2024-06-13 18:22:16 -03:00
Lucas Oliveira
cf0e3eb4cd Fixed not being able to copy anywhere 2024-06-13 18:18:15 -03:00
Lucas Oliveira
229cfa123d Fixed error color and padding 2024-06-13 18:00:13 -03:00
Lucas Oliveira
82958878b8 Fixed grabbing to override children 2024-06-13 17:48:21 -03:00
cristhianzl
41fc846107 refactor: Update FoldersStoreType to use isLoadingFolders instead of loading 2024-06-13 17:46:14 -03:00
cristhianzl
33b3a9ee7e refactor: Update getFoldersApi to handle startup application and improve code readability 2024-06-13 17:46:06 -03:00
cristhianzl
9dd56b0412 refactor: Update MainPage component to remove unused code and improve folder deletion handling 2024-06-13 17:45:58 -03:00
cristhianzl
5462aeee3e refactor: Update useDeleteFolder hook to use refreshFolders instead of getFoldersApi 2024-06-13 17:45:50 -03:00
cristhianzl
6450b52c40 chore: Remove unused code in HeaderTabsSearchComponent 2024-06-13 17:45:41 -03:00