Commit graph

3,715 commits

Author SHA1 Message Date
Lucas Oliveira
404afa2734 Made global variables removing more obvious 2024-03-29 12:32:37 +02:00
Lucas Oliveira
06576470d9 Fixed padding on Input Component 2024-03-29 12:26:33 +02:00
cristhianzl
51a405d0cc (DropdownButtonComponent/index.tsx): add support for displaying a plus button and hiding dropdown options based on props
♻️ (inputComponent/index.tsx): refactor the logic for setting the paddingRight CSS property based on password and selectedOption values
 (MainPage/index.tsx): add support for displaying a plus button and hiding dropdown options in the DropdownButton component
♻️ (types/components/index.ts): add optional plusButton and dropdownOptions properties to the dropdownButtonPropsType type
2024-03-29 00:55:31 -03:00
cristhianzl
d318386483 📝 (GenericNode/index.tsx): add cursor-text class to the generic-node-tooltip-div element to change the cursor to text when hovering over the element 2024-03-29 00:23:39 -03:00
cristhianzl
26ad87170d Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-03-29 00:21:07 -03:00
cristhianzl
4f5cb3c0b7 (nodeToolbarComponent/index.tsx): Remove unused import of iconClasses from @mui/material to improve code cleanliness and reduce bundle size
♻️ (nodeToolbarComponent/index.tsx): Refactor code to improve readability and maintainability by adding line breaks and indentation
 (nodeToolbarComponent/index.tsx): Refactor code to improve readability and maintainability by extracting complex condition into a separate if statement
♻️ (nodeToolbarComponent/index.tsx): Refactor code to improve readability and maintainability by adding line breaks and indentation
♻️ (nodeToolbarComponent/index.tsx): Refactor code to improve readability and maintainability by adding line breaks and indentation
2024-03-29 00:20:59 -03:00
anovazzi1
6b1023fc47 Update IOView component and constants 2024-03-29 00:15:53 -03:00
Cristhian Zanforlin Lousa
dfb8d56f98
Fix minimize (#1579)
♻️ (GenericNode/index.tsx): refactor showNode state initialization and
update logic to use useState and useEffect hooks for better readability
and maintainability
2024-03-29 00:10:25 -03:00
cristhianzl
bb7620b810 ♻️ (GenericNode/index.tsx): refactor showNode state initialization and update logic to use useState and useEffect hooks for better readability and maintainability 2024-03-29 00:02:44 -03:00
anovazzi1
21df24956f Add new color for Record in nodeColors 2024-03-28 23:57:42 -03:00
anovazzi1
3baca9b89b Fix useState initialization and update keyboard shortcut for download button 2024-03-28 23:37:24 -03:00
anovazzi1
9c025d5889 Add download functionality to node toolbar component 2024-03-28 23:28:00 -03:00
Gabriel Luiz Freitas Almeida
ac5f81f5ec Format assets json 2024-03-28 20:16:52 -03:00
Gabriel Luiz Freitas Almeida
76dbaf3b21 Refactor API generation tests 2024-03-28 20:16:16 -03:00
Gabriel Luiz Freitas Almeida
a3924d657c Add vector search components and vector store search components 2024-03-28 20:16:00 -03:00
anovazzi1
d77ceaec8e Fix conditional rendering in NodeToolbarComponent 2024-03-28 18:42:21 -03:00
anovazzi1
c7cdf3f9e9 Fix nodeToolbarComponent rendering issue and add chat_io end-to-end test 2024-03-28 18:42:16 -03:00
Gabriel Luiz Freitas Almeida
b84210c583 Refactor buildVertices function to handle validation error 2024-03-28 17:34:00 -03:00
Gabriel Luiz Freitas Almeida
8d6cbeff44 Fix buildUtils.ts to handle validation errors properly 2024-03-28 17:32:22 -03:00
anovazzi1
f80af6bd03 Add end-to-end test for tweaks functionality 2024-03-28 17:24:36 -03:00
anovazzi1
7a844466d8 migrate commits on wrong branch 2024-03-28 17:17:24 -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
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
6737c845eb Refactor code and fix formatting issues 2024-03-27 23:46:11 -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
75d1c83aae Merge branch 'zustand/io/migration' into globalVariables 2024-03-27 18:20:34 -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
8d55e058ce Fix build status update in flowStore.ts 2024-03-27 16:52:10 -03:00
Gabriel Luiz Freitas Almeida
f19c449f15
Add Frontend Tests (#1571)
* Add TypeScript test workflow

* Update follow-redirects and katex versions

* Add Python setup and Poetry installation for backend

* Update Poetry version and setup Python in workflows

* Add Poetry installation step to GitHub Actions workflow

* Add Playwright report artifact upload and improve test script

* Update Playwright test configuration and add global teardown script

* Update path for playwright-report directory

* Update timeout value in playwright.config.ts

* Update page URLs in end-to-end tests

* Update GitHub Actions workflow and Playwright configuration

* Update TypeScript test workflow

* Add pattern and merge-multiple options to artifact download

* Update TypeScript test workflow to install Poetry

* Add cache steps for Playwright and Poetry

* Update PLAYWRIGHT_BROWSERS_PATH in TypeScript test workflow

* Add 'stuff/' to .gitignore

* Remove caching of Poetry virtualenv

* Update frontend tests to use Playwright for UI testing

* Add global teardown for removing temp database

* Add cache-hit condition to setup-node and setup-python steps

* Add new file to .gitignore and update ignored files

* Update playwright cache key in TypeScript test workflow

* Update path for blob-report in GitHub workflow

* Update path for playwright cache

* Update dependency installation in workflows

* Update baseURL in playwright.config.ts

* Update baseURL in playwright.config.ts

* Refactor test timeouts

* Remove playwright-report index.html file

* Add npm run start command to playwright.config.ts

* Update npm start command in playwright.config.ts

* Update Playwright browser caching and installation

* Update playwright cache path

* Update playwright cache path

* Update actions/cache version to v4

* Update Playwright cache key to use package-lock.json

* Update Playwright cache and install dependencies

* Fix typo in Playwright installation command

* Fix npm ci command in TypeScript test workflow

* Update TypeScript test workflow
2024-03-27 14:27:40 -03:00
igorrCarvalho
a3b7001264 Refactor: Increase hover time 2024-03-27 14:21:49 -03:00
Gabriel Luiz Freitas Almeida
569d384573 Add AstraDB icon and field order to AstraDBVectorStoreComponent and AstraDBSearchComponent 2024-03-27 00:43:02 -03:00
Gabriel Luiz Freitas Almeida
95f5c4421f Merge remote-tracking branch 'origin/zustand/io/migration' into globalVariables 2024-03-26 20:33:15 -03:00
Lucas Oliveira
ff8c3d7a06 Fixed input of global variables 2024-03-27 01:18:21 +02:00
Lucas Oliveira
d123d5b64f Added editNode variable on global variables for inputs 2024-03-26 22:28:42 +02:00
Lucas Oliveira
1315137ab8 put optional label on type 2024-03-26 22:03:13 +02:00
Lucas Oliveira
ae7d827483 Fixed type to always exist 2024-03-26 21:54:08 +02:00
Lucas Oliveira
42739a29cf Added types 2024-03-26 21:52:23 +02:00
Lucas Oliveira
5db74fbf5a Changed provider to type and hid field 2024-03-26 21:50:44 +02:00
anovazzi1
a6d42c043c check edge case when options is empty 2024-03-26 14:25:49 -03:00
anovazzi1
1cdaa284d6 add utf-8 characters to inputCOmponent test 2024-03-26 13:23:50 -03:00
Cristhian Zanforlin Lousa
7c114ce37d
Fix CSS on Chat Border when have overflow of variables (#1564)
♻️ (IOview/index.tsx): remove unnecessary 'overflow-hidden' class from IOView component to fix layout issue
2024-03-26 13:05:50 -03:00
Matheus Jacques
8172e62236
Split Langflow into Langflow and Langflow Base (#1562)
* Initial Restructure

* Replace import langflow for import langflow_base

* Fix dependencies

* 🔧 chore(Makefile): refactor build process to separate base and frontend builds for better organization and maintainability

* 🚀 chore(Makefile): update build_frontend command to copy frontend build to the correct directory
🔖 chore(pyproject.toml): update python and httpx dependencies versions
🔧 chore(__init__.py): update import statement for load_flow_from_json function

* 🔖 chore(pyproject.toml): update package version from 0.0.6 to 0.0.8 to reflect changes in the codebase

* 🚀 feat(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
🚀 feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port

* 🐛 fix(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
 feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10
 feat(server.ts): add new agent component LCAgentComponent to langflow_base
 feat(server.ts): add new model component LCModelComponent to langflow_base
 feat(server.ts): add new helper functions docs_to_records and records_to_text to langflow_base
 feat(server.ts): add new flow helper functions list_flows, load_flow, run_flow, generate_function_for_flow, get_flow_inputs, build_schema_from_inputs to langflow_base
 feat(server.ts): add new prompt component PromptComponent to langflow_base
 feat(server.ts): add new chat components ChatInput and ChatOutput to langflow_base
 feat(server.ts): add new model component OpenAIModelComponent to langflow_base
🚚 chore(main.py): update import path from langflow.main to langflow_base.main
🚚 chore(service.py): update import path from langflow.services.database.manager to langflow_base.services.database.manager
🚚 chore(factory.py): update import path from langflow.services to langflow_base.services
🚚 chore(service.py): update import path from langflow.services.plugins to langflow_base.services.plugins
🚚 chore(utils.py): update import path from langflow.services to langflow_base.services
🚚 chore(validate.py): update import path from langflow.field_typing to langflow_base.field_typing
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10

* Update Makefile to install backend dependencies and build langflow

* Add langflow main module and update __init__.py

* Update langflow install process to use implicit namespace

* Add langflow-base as a local dependency

* Add setup_poetry target to Makefile

* Update Poetry version and add poetry-monorepo-dependency-plugin

* Refactor code to improve performance and readability

* Update imports to custom and load

* Update content-hash in poetry.lock

---------

Co-authored-by: Matheus <jacquesmats@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-03-26 09:26:30 -03:00
anovazzi1
c38a50a7eb Fix ShareModal rendering issue 2024-03-25 17:34:08 -03:00
Gabriel Luiz Freitas Almeida
13f2881f00 Add ping animation to update button 2024-03-25 15:44:32 -03:00
Gabriel Luiz Freitas Almeida
60139e9c87 Add "agents" category to NATIVE_CATEGORIES 2024-03-25 14:46:08 -03:00