Commit graph

11,475 commits

Author SHA1 Message Date
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
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
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
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
cristhianzl
a1cd3be237 feat: Add useFlowsManagerStore to LoginPage for managing loading state during login 2024-06-13 17:45:27 -03:00
cristhianzl
68201bb0d5 feat: Add setLoading to LoginAdminPage for displaying loading state during login 2024-06-13 17:45:16 -03:00
cristhianzl
e66286662e refactor: Improve duplicate request handling in checkDuplicateRequestAndStoreRequest function 2024-06-13 17:45:09 -03:00
cristhianzl
a49cd49eee refactor: Remove console.log statement in getMessagesTable function 2024-06-13 17:45:02 -03:00
cristhianzl
b9e1a3c0c5 fix: Handle duplicate requests in ApiInterceptor 2024-06-13 17:44:46 -03:00
cristhianzl
4358ff5255 chore: Update authContext to useFolderStore for getting folders 2024-06-13 17:44:36 -03:00
cristhianzl
8980b66bec refactor: Update TableComponent to use optional chaining for hiding overlay 2024-06-13 17:44:28 -03:00
cristhianzl
9cd3bd751e chore: Update use-on-file-drop.tsx to use refreshFolders instead of getFoldersApi 2024-06-13 17:44:21 -03:00
cristhianzl
0bbecc9bab refactor: Refresh folders after adding a new folder in SideBarFoldersButtonsComponent 2024-06-13 17:44:12 -03:00
cristhianzl
75c13f4f20 chore: Refactor loadingFolders variable name in SidebarNav component 2024-06-13 17:44:06 -03:00
cristhianzl
bc50e010d4 feat: Add Case component to App for conditional rendering 2024-06-13 17:43:35 -03:00
Gabriel Luiz Freitas Almeida
5de41ecb3a
🐛 (service.py): Fix handling of postgres dialect in database URL to prevent NoSuchModuleError and provide a warning message for users to update the database URL. (#2161) 2024-06-13 13:36:48 -07:00
cristhianzl
7313e5807b ♻️ (foldersStore.tsx): remove redundant loadingById state and setLoadingById function
🐛 (foldersStore.tsx): fix fallback to getFoldersApi on getFolderById failure
2024-06-13 16:08:58 -03:00
cristhianzl
e81870fd73 merge fix 2024-06-13 15:23:15 -03:00
italojohnny
5f14aece1a bugfix 2024-06-13 12:36:18 -03:00
ogabrielluiz
a6c9fe8467 Update memory example params 2024-06-13 12:23:46 -03:00
ogabrielluiz
abb0f81843 chore: Remove pretty-quick from package.json and package-lock.json 2024-06-13 12:21:19 -03:00
ogabrielluiz
383ac6e1af Update memory example 2024-06-13 12:19:56 -03:00
ogabrielluiz
627c094907 chore: Remove simple-git-hooks from package.json 2024-06-13 12:19:39 -03:00
ogabrielluiz
90798a91ea Format code 2024-06-13 12:13:27 -03:00
ogabrielluiz
045cb38cd3 Update Memory Example 2024-06-13 12:12:24 -03:00
ogabrielluiz
6dbc2c76e4 Update projects 2024-06-13 12:05:45 -03:00
Gabriel Luiz Freitas Almeida
d2ae691356
chore: Update schema.py and service.py to handle file serialization and deserialization (#2159)
Refactor the MessageModel class in schema.py to include methods for validating and serializing the 'files' field. This ensures that the 'files' field can be properly handled when it is a string or a list.

In service.py, update the query in the MonitorService class to include the 'files' field when retrieving messages from the database. This ensures that the 'files' field is included in the query results.
2024-06-13 08:01:38 -07:00
anovazzi1
ea305b824c chore: Update displayOutputPreview logic in ParameterComponent 2024-06-13 12:01:02 -03:00
ogabrielluiz
8fef4b2d3a chore: Update langflow-base and langflow package versions to 0.0.66 and 1.0.0a55 respectively 2024-06-13 11:30:20 -03:00
Gabriel Luiz Freitas Almeida
18b95c5092
chore: Update duckdb dependency to version 1.0.0 and improve MonitorService code (#2158) 2024-06-13 07:27:15 -07:00