Commit graph

11,527 commits

Author SHA1 Message Date
ogabrielluiz
600c99b995 chore: Update platforms to only support linux/amd64 for docker build process 2024-06-17 18:20:45 -03:00
ogabrielluiz
27cb5ac238 chore: Update JWT decoding error handling in get_current_user_by_jwt function 2024-06-17 18:20:45 -03:00
ming
4af08e0dc8
remove the default logging use loguru (#2198) 2024-06-17 14:16:07 -07:00
ming
696e620468
fix path to the unit test data folder (#2201) 2024-06-17 16:34:52 -04:00
ogabrielluiz
d8d20d7aa5 fix: Add type checking import 2024-06-17 12:17:59 -03:00
ogabrielluiz
83b859152f 🔧 (docker-build.yml): update platforms to only support linux/amd64 for docker build process 2024-06-17 10:41:02 -03:00
Igor Carvalho
30eacad94a
General fixes related to shortcuts icons (#2179)
* Fix: center command icon for macOS

* Fix: Add visual shortcut to undo and redo

* code format

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-06-17 09:16:53 -03:00
ogabrielluiz
787297e1f0 chore: Remove unused test-results/.last-run.json file 2024-06-17 08:44:30 -03:00
ogabrielluiz
baba4b7185 (docker-build.yml): rename step from "Push Docker Image" to "Build and Push Docker Image" for clarity and accuracy 2024-06-17 07:57:46 -03:00
ogabrielluiz
7dae09ac92 chore: Update Docker build workflow to include file output 2024-06-17 07:17:32 -03:00
Nicolò Boschi
dceffa6e6f
fix docker tags on release process (#2196)
* fix docker tags on release process

* wait
2024-06-17 03:15:31 -07:00
Jordan Frazier
ca660cf8df
test: add astra integration test (#2189)
* add first astra integ test framework

* use fixtures

* remove old tests from merge

* Add correct sender type

* chore: Update unit test command in GitHub workflow

---------

Co-authored-by: ogabrielluiz <gabriel@langflow.org>
2024-06-15 19:50:38 -07:00
ogabrielluiz
5a04adfa1f chore: Comment out unused Docker build and container run steps 2024-06-15 11:53:13 -03:00
ogabrielluiz
7b89ff5cfb 🔧 (docker-build.yml): add TEST_TAG environment variable to specify the test tag for the Docker image
🔧 (docker-build.yml): update tags value to use the TEST_TAG environment variable for Docker image tagging
2024-06-15 11:51:04 -03:00
ogabrielluiz
a0ce61ccca chore: Update pip installation commands in pre-release workflow 2024-06-15 11:14:13 -03:00
ogabrielluiz
40cebd1bcf chore: Update package versions to latest in pyproject.toml files 2024-06-15 11:09:16 -03:00
Madhavan
9bdd353666
Minor documentation update and exception message fix to avoid confusion with Google Vertex (#2088)
* Update to use non-deprecated output parser imports

* Update documentation

* Revert "Update to use non-deprecated output parser imports"

This reverts commit 11a969d82b6b2b3659eb7c3c26b5b29a98815834.

* Update rag-with-astradb.mdx

* Update chat.py to clarify error message

vertex in the exception message appears to be confusing with google vertex and causes confusion when used with other providers.

* Minor formatting to highlight the vscode launch file
update the error message

* Fix a couple more error texts
2024-06-15 07:06:07 -07:00
Gabriel Luiz Freitas Almeida
81bb749ea8
feat: Add cache parameter to RunnableVerticesManager (#2181)
This commit adds a new optional `cache` parameter to the `RunnableVerticesManager` class in the `runnable_vertices_manager.py` file. The `cache` parameter allows controlling whether the graph data should be cached or not when retrieving the next runnable vertices for a given vertex. If `cache` is set to `True`, the graph data will be cached using the `set_cache_coro` function. If `cache` is set to `False`, the graph data will not be cached.

This change was made to provide more flexibility in managing the caching behavior of the graph data.

Ref: #2180
2024-06-15 07:04:00 -07:00
Mendon Kissling
c7a15de0a9
[Docs] - Link to new features from migration page (#2163)
* migration-page

* check-links

* try
2024-06-15 06:56:17 -07:00
Gabriel Luiz Freitas Almeida
57403d7b65
Update Prettier and add trailing comma (#2187)
* chore: Update prettier-plugin-tailwindcss to version 0.6.4

* Add trailing comma
2024-06-15 06:53:45 -07:00
Nick Roth
71de94f65e
Support returning sub flow outputs (#2177)
Add support for returning outputs from running flow as records
2024-06-15 06:39:40 -07:00
Gabriel Luiz Freitas Almeida
dfc008b383
Update dependencies and fix docs (#2186)
* chore: Update chardet package to version 5.2.0

* chore: Update Docker build workflow to support multiple platforms and add container testing

* chore: Update pre-release workflow to include CLI testing

* chore: Update npm install command in lint-js.yml workflow

* chore: Update eslint and prettier versions in package.json

* fix: remove .mdx from link in docs

* Merge remote-tracking branch 'origin/dev' into update
2024-06-15 06:37:34 -07:00
Gabriel Luiz Freitas Almeida
5191638f8e
Update dependencies and workflows (#2185) 2024-06-15 06:02:08 -07:00
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