Commit graph

11,619 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
f7e8526a06 Fix getting extension in files 2024-03-28 17:03:56 -03:00
Gabriel Luiz Freitas Almeida
37ede63d2d Add import statement for get_settings_service() in base.py 2024-03-28 17:01:13 -03:00
Gabriel Luiz Freitas Almeida
cdf1963138 Update version.py to retrieve package version using package name 2024-03-28 16:58:02 -03:00
Gabriel Luiz Freitas Almeida
ec46a56288 Refactor useDarkStore in darkStore.tsx 2024-03-28 16:55:08 -03:00
Gabriel Luiz Freitas Almeida
af9e683133 Update extraSidebarComponent index.tsx 2024-03-28 16:35:16 -03:00
Gabriel Luiz Freitas Almeida
30a593c67c Update react-icons version to 5.0.1 2024-03-28 16:35:10 -03:00
Lucas Oliveira
4c153c05c5 Fixed dropdown appearing in input 2024-03-28 18:32:56 +02:00
cristhianzl
f13d7ecab4 fix zustand 2024-03-28 11:59:32 -03:00
Lucas Oliveira
de1e6bdc49 Fixed name of node at Tweaks 2024-03-28 15:30:50 +02:00
Lucas Oliveira
36a3fda059 Fix bug on parameter component 2024-03-28 15:20:46 +02:00
Gabriel Luiz Freitas Almeida
b54e8352fa Update StateServiceFactory to use InMemoryStateService 2024-03-28 09:57:52 -03:00
Gabriel Luiz Freitas Almeida
3dbd459f2c Refactor error handling in initialize_services function 2024-03-28 09:56:51 -03:00
Gabriel Luiz Freitas Almeida
d413bf167f Refactor imports in state factory module 2024-03-28 09:56:46 -03:00
Gabriel Luiz Freitas Almeida
6737c845eb Refactor code and fix formatting issues 2024-03-27 23:46:11 -03:00
Gabriel Luiz Freitas Almeida
8a18027eb0 Update code snippet language in features.mdx file 2024-03-27 22:14:00 -03:00
Gabriel Luiz Freitas Almeida
291d655919 Add StateService and StateServiceFactory 2024-03-27 22:10:04 -03:00
Gabriel Luiz Freitas Almeida
beb8f9a393 Add get_schema method to Service class 2024-03-27 22:08:30 -03:00
Gabriel Luiz Freitas Almeida
0c025977ab Refactor variable names and update variable service 2024-03-27 22:06:36 -03:00
Gabriel Luiz Freitas Almeida
89a466f22e Refactor RunnableExecutor.py to improve input handling 2024-03-27 22:05:05 -03:00
carlosrcoelho
d2f5c67a7d Revert "Add new guide files"
This reverts commit c3ec9dbf70.
2024-03-27 21:21:55 -03:00
carlosrcoelho
c3ec9dbf70 Add new guide files 2024-03-27 20:52:53 -03:00
Lucas Oliveira
b93476af87
Fix dropdown on nodes (#1569)
* Fixed dropdown overflow issue by changing it to ShadCN

* Changed name of API modal

* Fixed border on API Modal
2024-03-27 18:52:36 -03:00
Gabriel Luiz Freitas Almeida
ac17ab7ac6 Refactor set_cache_coro method call in RunnableVerticesManager 2024-03-27 18:41:19 -03:00
Lucas Oliveira
54fb1ba0bb
Global variables implementation (#1548)
This PR is related to the Global Variables functionality.


![image](https://github.com/logspace-ai/langflow/assets/62335616/0829db58-c26c-499f-9d59-c11fa0a1cf5b)
When clicking the Globe, it's possible to use global variables in any
InputComponent.
When hovering an item, it's possible to delete it.
When clicking on Add New Variable, it's possible to add a new global
variable.
2024-03-27 23:24:59 +02:00
Gabriel Luiz Freitas Almeida
75d1c83aae Merge branch 'zustand/io/migration' into globalVariables 2024-03-27 18:20:34 -03:00
Gabriel Luiz Freitas Almeida
043ec91d96 Update status message format in RunnableExecutor.py 2024-03-27 18:11:39 -03:00
anovazzi1
124bdf0e3a Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-03-27 18:00:44 -03:00
anovazzi1
7ea25b52f1 Refactor group.spec.ts test case 2024-03-27 18:00:40 -03:00
Gabriel Luiz Freitas Almeida
b3a621d1b2 Refactor RunnableExecutor.py to handle input keys and provide status information 2024-03-27 17:59:19 -03:00
Gabriel Luiz Freitas Almeida
77d1f7e731 Refactor RunnableExecutor.py to improve output handling 2024-03-27 17:52:34 -03:00
Gabriel Luiz Freitas Almeida
54aeee570b Add assemblyai dependency and update websockets version 2024-03-27 17:42:34 -03:00
cristhianzl
c660c1e945 ⬆️ (playwright.config.ts): upgrade number of workers from 2 to 3 to improve test parallelization and speed up test execution 2024-03-27 17:06:08 -03:00
cristhianzl
a99612af3b (playwright.config.ts): set the number of workers to 2 to improve test parallelization
📝 (API/index.ts): remove conditional return of 100 for getRepoStars function to ensure accurate retrieval of stargazers count from GitHub API
📝 (API/index.ts): remove conditional return of example data for getExamples function to ensure accurate retrieval of examples from GitHub API
📝 (auto_login.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (codeAreaModalComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (dragAndDrop.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (dropdownComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (floatComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (flowPage.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (group.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (inputComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (intComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (keyPairListComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (langflowShortcuts.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (nestedComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (promptModalComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues

 (saveComponents.spec.ts): update page.goto() URL to include the correct protocol and port for the frontend app
 (toggleComponent.spec.ts): update page.goto() URL to include the correct protocol and port for the frontend app
2024-03-27 17:04:19 -03:00
Gabriel Luiz Freitas Almeida
34da48fbe5 Add new chapter to What's New section 2024-03-27 17:00:29 -03:00
cristhianzl
4d0a1616bb remove location 2024-03-27 16:56:54 -03:00
Gabriel Luiz Freitas Almeida
8d55e058ce Fix build status update in flowStore.ts 2024-03-27 16:52:10 -03:00
Gabriel Luiz Freitas Almeida
a6f66af191 Update error logging in log_vertex_build function 2024-03-27 16:52:02 -03:00
Gabriel Luiz Freitas Almeida
dfc733be7d Add llm_creator and prompt_creator to VertexTypesDict 2024-03-27 16:43:30 -03:00
cristhianzl
0bbd77afd0 merge fix 2024-03-27 16:29:48 -03:00
cristhianzl
cfc2913e9c merge fix 2024-03-27 16:29:32 -03:00
cristhianzl
735c1808b2 (parameterComponent/index.tsx): add data-testid attributes to improve testability and accessibility
 (codeTabsComponent/index.tsx): add componentName prop to InputListComponent to improve testability and accessibility
 (inputListComponent/index.tsx): add componentName prop to improve testability and accessibility
 (textAreaComponent/index.tsx): add data-testid attribute to IconComponent to improve testability and accessibility
 (EditNodeModal/index.tsx): add componentName prop to InputListComponent to improve testability and accessibility
 (DisclosureComponent/index.tsx): add data-testid attribute to Disclosure.Button to improve testability and accessibility
 (components/index.ts): add componentName prop to InputListComponentType to improve testability and accessibility
 (codeAreaModalComponent.spec.ts): reduce wait time for better test performance
 (dragAndDrop.spec.ts): reduce wait time for better test performance

 (dropdownComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (dropdownComponent.spec.ts): add new test file filterEdge.spec.ts to test filtering functionality in dropdown component
 (filterEdge.spec.ts): add tests for tooltip and filter functionality in dropdown component

 (floatComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (flowPage.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (group.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (inputComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance

 (inputListComponent.spec.ts): add end-to-end test for InputListComponent to ensure proper functionality
 (intComponent.spec.ts): add end-to-end test for IntComponent to ensure proper functionality
 (keyPairListComponent.spec.ts): add end-to-end test for KeyPairListComponent to ensure proper functionality
 (nestedComponent.spec.ts): add end-to-end test for NestedComponent to ensure proper functionality

 (promptModalComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (promptModalComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (promptModalComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (promptModalComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (saveComponents.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (saveComponents.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (saveComponents.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (saveComponents.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (textAreaModalComponent.spec.ts): add test for TextAreaModalComponent
 (toggleComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (toggleComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (toggleComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (toggleComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
2024-03-27 16:11:59 -03:00
Gabriel Luiz Freitas Almeida
868d5fbb52 Replace import statement with langflow.custom 2024-03-27 16:09:33 -03:00
Gabriel Luiz Freitas Almeida
660b62bc08 Add dependencies and update run_cli commands 2024-03-27 16:06:39 -03:00
Gabriel Luiz Freitas Almeida
9c029424ab Add html2text package 2024-03-27 16:06:31 -03:00
Gabriel Luiz Freitas Almeida
e274738861 Return additional vertices to run 2024-03-27 16:06:21 -03:00
Gabriel Luiz Freitas Almeida
9abad780b2 Replace import statement in custom component class 2024-03-27 15:37:22 -03:00
Gabriel Luiz Freitas Almeida
3a8d29241d Refactor RunnableExecutor.py to add default values for input_key and output_key 2024-03-27 15:33:19 -03:00
Gabriel Luiz Freitas Almeida
a8d9dea167 Add input types to runnable info 2024-03-27 15:27:25 -03:00
Gabriel Luiz Freitas Almeida
2e2ae119a7 Add migration guides to sidebars.js 2024-03-27 15:24:06 -03:00
Gabriel Luiz Freitas Almeida
4cdfdb1649 Delete superuser guide and add compatibility guide and inputs and outputs guide 2024-03-27 15:22:15 -03:00