* only allow customvals and options to be in the options list
* ✨ (general-bugs-dropdown-select-not-in-list.spec.ts): add additional test cases to cover dropdown selection functionality and ensure correct behavior in the frontend application
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Update loop.py
* [autofix.ci] apply automated fixes
* Update loop-component.spec.ts
* change dataframe input name to inputs
* [autofix.ci] apply automated fixes
* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and efficiency
* 🔧 (typescript_test.yml): adjust optimal shard count calculation to use a maximum of 10 shards instead of 40 for better test distribution
🐛 (loop-component.spec.ts): fix getByTestId selector to match the updated element ID for testing purposes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Added truncation items as constant and reduced it to 100
* Added truncation test to regression
* get max items length from config
* changed typo in backend
* Added endpoint to add servers to local backend
* Add install mcp query
* Fixed mcp projects to receive body schema
* Added patch install to mcp server tab
* feat: adds new Edit Details popover, removes flow menu, fixes nav alignment, adds new Flow Status overlay (#8087)
* Updated flow settings component size
* Added FlowSettingsComponent to contain modal content
* Removed unused imports
* Changed Flow Settings Modal to use new component
* Changed Flow Menu styling, removing Saved and context menu, and adding a direct click to edit flow info
* Removed unused styling
* Updated nav position and truncation
* updated alert styling
* Added z index to header
* Added flow settings coming from the bottom
* Changed flow settings to not crash when there is no flow
* Removed unused imports
* Implemented flow details using popover
* Removed onClick
* Changed canvas controls position and color
* Changed panel tooltip side and classes
* Added log canvas component
* Added children to flow logs modal
* Added log canvas component into page
* Changed position and shadow of canvas controls
* removed endpoint name from edit flow settings
* added endpoint name change into tweaks modal
* Added endpoint editing to tweaks
* Implemented storing the error in the flowBuildStatus
* Updated type
* Added Flow Building Component
* Added Flow Building Component implementation
* Added red color
* Added past build flow params
* Implemented design of flowBuildingComponent
* Implemented build error storing on flowStore
* Implemented build error on flow store
* Changed notifications test
* Set build error as null when building
* Reset build error when exiting flow
* Changed from error to buildError
* Changed flowStore to have buildInfo instead of buildError
* Changed flowBuildingComponent to have buildInfo and display successful builds
* Added handleDismissed instead of setting dismissed as true
* Updated tests to current Update implementation
* Updated tests to remove click on built successfully
* Updated tests and data-testid to match new Flow Name editing behavior
* fixed auto login test
* Fixed edit-flow-name test and save changes on node
* fixed tests
* Changed Share to Publish and added test ids
* added Rename Flow util for tests
* Changed tests to use new RenameFlow
* Fixed auto save off
* Added data test id to flow building component
* Removed pulsing from Name Invalid
* Made name editable but not saveable when invalid
* Added character name reached on description
* Added transition on pencil
* Modularized alert store to separate notification history and notifications
* Added errors to notification history
* Fixed flow building component position and update all components
* Fixed animations
* Fixed animation
* Added same animation to Update All Components
* Updated animations to make update only appear when flow building is not appearing
* fix flow settings test
* Fixed build status not being redefined
* ✨ (UpdateAllComponents/index.tsx): Refactor containerVariants to CONTAINER_VARIANTS for consistency and readability
📝 (visual-variants.ts): Add visual variants for buttons and time in flowBuildingComponent
♻️ (flowBuildingComponent/index.tsx): Import visual variants from separate file for better organization and maintainability
* Fixed offset width of time
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* fix: fix regex on mcp server tab test (#8175)
* Fixed MCP Server Tab Test
* Fixed mcp server tab test
* Added timeout to test
* Added retry to mcp server tab test
* docs: cookie-banner-link (#8179)
cookie-banner-link
* fix: removed fit view that caused duck duck go test to fail (#8178)
fixed duck duck go test to not fail
* feat: Enhance API request component (#8070)
* update the api request component
* [autofix.ci] apply automated fixes
* update the component
* Update test_api_request_component.py
* [autofix.ci] apply automated fixes
* remove MODE_CONFIG unused variable
* [autofix.ci] apply automated fixes
* use normalize function
* Update template
* Update test_api_request_component.py
* UI test fix
* selector fix
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
* docs: system assist component (#8089)
* sidebars
* initial-content
* more
* update
* trailing-spaces
* example
* standardize-naming
* shorten-introduction-and-remove-client
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Update docs/docs/Integrations/Nvidia/integrations-nvidia-system-assist.md
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: deploy langflow with caddyfile and docker compose (#8120)
* initial-content
* not-json
* clarify-public key
* more-accessible-name-and-context
* exit-session
* fix: simplify GetStartedProgress percentage calculation logic (#8183)
🐛 (get-started-progress.tsx): fix calculation of totalPercentage to correctly display progress bar percentage
💡 (get-started-progress.tsx): refactor logic to calculate totalPercentage based on user opt-ins and flows
* fix: set cursor to text in text fields (#8173)
Fixed cursor being default in input fields
* feat: add datastax components bundle (#8184)
* feat: add datastax components bundle
* Update __init__.py
* Remove old astra assistants folder
* Remove old tools
* Update __init__.py
* Update test_assistants_components.py
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* feat: updated components header styling (#8085)
* Removed unused styles
* Updated node icon to follow design
* Updated node name to follow design and include Beta
* Removed Beta from node status
* Removed unused classes and parameters from GenericNode
* Changed node description padding on input
* Changed paddings and gaps
* removed unused classes
* Added accent purple foreground color to Experimental
* Fixed classes and gaps in generic node
* Fixed node name gaps
* Fixed node status classes and styling
* Removed unused classes and changed run-bg size
* Changed test to use new test id
* Changed Node Name to have beta tooltip
* Changed Build Failed icon to be a circle alert
* Changed Node Status gap and conditions to show spacings correctly
* Changed padding to not change height of other components
* Changed nodeStatus to show validation on small node
* Changed classes to show correct spacing and overflow
* Changed description size
* Fixed description text size
* Fixed input margin
* Fixed description editing not appearing when no description is available
* Fixed status not breaking words
* Updated colors
* Updated node output color
* [autofix.ci] apply automated fixes
* Changed duration style in chat
* Re-added output color
* Updated timeout on mcp server tab test
* Added more timeout to mcp server tab test
* fixed loop component test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* ref: SQL component (#8185)
* update sql
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat: Loop uplift dataframe input and output (#8177)
* tests cases
* update to loop
* Update component.py
* 📝 (LoopTemplate.json): update value of a configuration key from "OPENAI_API_KEY" to "ANTHROPIC_API_KEY" in order to reflect the correct API key being used
* update json test loop
* add dataframe support for the loop component
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* fix: starter project
* update loop component and tests
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* update logic
* Update loop_basic.py
* Update Research Translation Loop.json
* fix lint
* format fix
* [autofix.ci] apply automated fixes
* reverting changes in component and vertex base
* [autofix.ci] apply automated fixes
* fix lint errors
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* update in the loop templates and component
* [autofix.ci] apply automated fixes
* Update Research Translation Loop.json
* update tests
* update the code and deprecate the old loop
* [autofix.ci] apply automated fixes
* Update loop_basic.py
* WIP FIX Loop Tests
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes
* ✨ (loop-component.spec.ts): Update test cases to use more descriptive names for components and actions for better clarity and understanding.
* ✨ (loop-component.spec.ts): refactor loop component tests to improve readability and maintainability by updating test selectors and removing redundant test steps
* update
* Update loop-component.spec.ts
* Update Research Translation Loop.json
* Update Research Translation Loop.json
* Update Research Translation Loop.json
* Update Research Translation Loop.json
* loop test fix
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Rodrigo <rodrigosilvanader@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
* fix: fixes nightly tests (#8194)
* fix: mcp test when there are a lot of flows (#8197)
* Added cursor and claude in icons
* Added one click install to cursor and claude
* Changed design of mcp server tab page
* Added function to get local platform
* Added platform specific installer json on mcp server tab
* Added FA icons for windows and linux
* Added icons to tabs
* Added endpoint to check for installed MCP servers
* Added use get installed MCP servers
* Changed to get installed
* Use installed MCP servers on server
* Correct instalation for windows and WSL
* Fixed code not selecting
* refactor: use session_scope for database session management in install_mcp_config
* refactor: change logger level from info to debug for WSL and Windows detection in install_mcp_configg
* refactor: replace subprocess with asyncio for WSL IP address retrieval in install_mcp_config
* refactor: streamline project MCP server handling and improve SSE connection management in mcp_projects.py
* refactor: remove unnecessary user dependency from project endpoints in mcp_projects.py
* refactor: unify database session management using session_scope in mcp_projects.py
* refactor: enhance project tool listing and logging in mcp_projects.py by using session_scope and changing logger level to debug
* refactor: simplify WSL detection logic in install_mcp_config by removing unnecessary variable and streamlining conditions
* Removed unused console.log
* Implemented check if Langflow is running on local machine
* Fixed backend to generate an error if trying to install from not local
* Added error handling to frontend and changed loading
* Fix check of macos
* Refactored mcp server tab test to work with new changes
* Fixed test to pass with Windows selected and check the status of Linux too
* [autofix.ci] apply automated fixes
* Changed wait for timeout for wait for selector
* Fixed path.open
* Refactor test_update_project_mcp_settings to use session_scope for database service mock
* Refactor tests in test_mcp_projects.py to utilize session_scope for database session management, improving consistency and readability.
* Updated wsl to uvx
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: Rodrigo <rodrigosilvanader@gmail.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* url component update.
* update to url component and tests
* Make directory component legacy
* Only output dataframe from file component
* Update base_file.py
* Update description and output
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Deprecate Processing Components.
* Move Tool and CQL Astra to bundle
* Comprehensive improvements to Save to File
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Clean up description, dont unlink file
* Remove print statement
* fix: Clean up the text output of the URL component (#8158)
* Clean text output from url component
* [autofix.ci] apply automated fixes
* Update data.py
* Make a visible function
* URL component cleaning refactor
* Update data.py
* [autofix.ci] apply automated fixes
* Update with chat output fixes and template updates
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes
* Fix linting issues
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* revert datastax component bundle
* Restore the two tools as well
* Two more template updates
* Update Vector Store RAG.json
* Update Vector Store RAG.json
* Update __init__.py
* Update directory.py
* Update url.py
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Update test_basic_prompting.py
* Unit test updates
* Fix unit tests one more time
* Fix conversion in safe convert
* Update chat.py
* Temporary disabling of save to file tests
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Fix some more unit tests
* Update test_split_text_component.py
* [autofix.ci] apply automated fixes
* Update test_url_component.py
* Update file component outputs in tests
* Fix starter projects with old data to message
* Update test_split_text_component.py
* fix slider inputs
* Update data.py
* [autofix.ci] apply automated fixes
* Update data.py
* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and performance
* Rename safe file component
* [autofix.ci] apply automated fixes
* Make sure we import the right save to file
* 🔧 (freeze.spec.ts): update test description to match the changed element's test ID
🔧 (Blog Writer.spec.ts): add click event to test file input element
🔧 (edit-tools.spec.ts): update assertion to check if rowsCount is greater than 2 instead of 3
🔧 (loop-component.spec.ts): add import statement for uploadFile function
🔧 (tool-mode.spec.ts): update targetPosition coordinates for dragTo action
🔧 (chatInputOutputUser-shard-1.spec.ts): update test description to match the changed element's test ID
* ✨ (stop-building.spec.ts): update click target for better test coverage and accuracy
✨ (fileUploadComponent.spec.ts): adjust drag target position and update click targets for improved testing flow and coverage
* 🐛 (typescript_test.yml): adjust the maximum shard count to 10 to prevent excessive parallelization and improve test performance
* Two url component types
* Update ruff formatting
* [autofix.ci] apply automated fixes
* Revert name of method
* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and performance
* ✨ (freeze.spec.ts): update test to use correct testid for element
✨ (stop-building.spec.ts): update test to use correct testid for element
✨ (loop-component.spec.ts): update test to use correct testid for element
✨ (chatInputOutputUser-shard-1.spec.ts): update tests to use correct testid for element
* ✨ (freeze.spec.ts, stop-building.spec.ts, loop-component.spec.ts, chatInputOutputUser-shard-1.spec.ts): update test selectors to match changes in the frontend UI, improving test reliability and maintainability.
* ✨ (stop-building.spec.ts): update test to use correct testId for clicking element
✨ (loop-component.spec.ts): update test to use correct testId for clicking element
✨ (chatInputOutputUser-shard-1.spec.ts): update multiple tests to use correct testId for clicking element
* 📝 (freeze.spec.ts): update test selector to match the correct element on the page for better test accuracy
* 🔧 (typescript_test.yml): adjust optimal shard count calculation to ensure a maximum of 10 shards for test execution
🔧 (chatInputOutputUser-shard-1.spec.ts): update test selectors to match changes in the frontend output structure for integration tests
* ✨ (chatInputOutputUser-shard-1.spec.ts): update test selectors for better clarity and consistency in the integration tests.
---------
Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* create an IO bundle
* Update styleUtils.ts
* [autofix.ci] apply automated fixes
* change folder names
* [autofix.ci] apply automated fixes
* Update test_endpoints.py
* refactor: update test IDs for input/output components in specs
* test: update test IDs for chat input/output components in decisionFlow.spec.ts
* test: update test IDs for input/output components in generalBugs-shard-5.spec.ts
* Update styleUtils.ts
* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and efficiency
* fix FE Tests Input output component Ids
* [autofix.ci] apply automated fixes
* ✅ (filterEdge-shard-1.spec.ts): update test to log error message when element is not visible before asserting visibility
* ✅ (notifications.spec.ts): update test selectors for better clarity and consistency in the notifications feature test suite
* 🐛 (typescript_test.yml): adjust the maximum shard count to 10 to prevent exceeding the limit and optimize test execution.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: deon-sanchez <deon.sanchez@datastax.com>
Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* models category
* [autofix.ci] apply automated fixes
* change paths
* [autofix.ci] apply automated fixes
* test: comment out visibility check for disclosure-embeddings
* test: comment out visibility check for disclosure-embeddings
* test: update selector for OpenAI language models in decision flow integration test
* test: update selector for NVIDIA models to use language model identifier
* test: update selector for OpenAI language models in regression test
* models category (#8238)
* Update styleUtils.ts
* Update test_xai.py
* test: update selectors for OpenAI language models to use 'languagemodelsOpenAI'
* Update test_embedding_model_component.py
* test: update test IDs for NVIDIA and Ollama language models to use 'languagemodels'
* test: update test IDs to use 'languagemodels' prefix for consistency
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com>
Co-authored-by: deon-sanchez <deon.sanchez@datastax.com>
* feat: implement dropdown for selecting outputs in GenericNode component
* fix: clean up commented code in GenericNode component
* feat: add output selection handling in GenericNode component
* feat: enhance output selection handling in GenericNode component
* fix: Update test assertions for component hover and skip failing group tests
* feat: Add outputName prop to OutputComponent and update related tests
* fix: Adjust test timeouts and skip failing group component tests
* test: Update integration tests for decision flow and starter projects
* fix: Update chat input/output integration tests for improved element interactions
* fix: increase timeout values in Playwright configuration for better stability
* feat: enhance GenericNode with memoization and improved output handling
* feat: refactor NodeOutputs component for improved output selection and handling
* feat: add HiddenOutputsButton and improve output rendering in GenericNode
* feat: refactor NodeOutputs component to use keyPrefix for improved output handling
* feat: update output handling in GenericNode to conditionally display hidden outputs
* fix: streamline loop component test interactions and improve selector usage
* delete data and transfer data to dataframe
* [autofix.ci] apply automated fixes
* create a new bundle for search
* fix type for dataframe
* add data_to_dataframe function
* [autofix.ci] apply automated fixes
* fix test because of files movement
* delete message and text
* json update
* fix search yahoo test
* fix run_model output type
* add tavily bundle
* move other tools
* [autofix.ci] apply automated fixes
* add tavily bundle
* move other tools
* [autofix.ci] apply automated fixes
* update python repl import path
* autofix
* fix test
* fix frontend test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* delete data and transfer data to dataframe
* [autofix.ci] apply automated fixes
* create a new bundle for search
* fix type for dataframe
* add data_to_dataframe function
* [autofix.ci] apply automated fixes
* fix test because of files movement
* delete message and text
* json update
* fix search yahoo test
* fix run_model output type
* fix test errors
* fix test errors
* fix test error
* try fix frontend tests
* test fix
* [autofix.ci] apply automated fixes
* move serp search
* fix test
* fix test
* fix test to pass ruff style check
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
* Removed unused styles
* Updated node icon to follow design
* Updated node name to follow design and include Beta
* Removed Beta from node status
* Removed unused classes and parameters from GenericNode
* Changed node description padding on input
* Changed paddings and gaps
* removed unused classes
* Added accent purple foreground color to Experimental
* Fixed classes and gaps in generic node
* Fixed node name gaps
* Fixed node status classes and styling
* Removed unused classes and changed run-bg size
* Changed test to use new test id
* Changed Node Name to have beta tooltip
* Changed Build Failed icon to be a circle alert
* Changed Node Status gap and conditions to show spacings correctly
* Changed padding to not change height of other components
* Changed nodeStatus to show validation on small node
* Changed classes to show correct spacing and overflow
* Changed description size
* Fixed description text size
* Fixed input margin
* Fixed description editing not appearing when no description is available
* Fixed status not breaking words
* Updated colors
* Updated node output color
* [autofix.ci] apply automated fixes
* Changed duration style in chat
* Re-added output color
* Updated timeout on mcp server tab test
* Added more timeout to mcp server tab test
* fixed loop component test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Updated flow settings component size
* Added FlowSettingsComponent to contain modal content
* Removed unused imports
* Changed Flow Settings Modal to use new component
* Changed Flow Menu styling, removing Saved and context menu, and adding a direct click to edit flow info
* Removed unused styling
* Updated nav position and truncation
* updated alert styling
* Added z index to header
* Added flow settings coming from the bottom
* Changed flow settings to not crash when there is no flow
* Removed unused imports
* Implemented flow details using popover
* Removed onClick
* Changed canvas controls position and color
* Changed panel tooltip side and classes
* Added log canvas component
* Added children to flow logs modal
* Added log canvas component into page
* Changed position and shadow of canvas controls
* removed endpoint name from edit flow settings
* added endpoint name change into tweaks modal
* Added endpoint editing to tweaks
* Implemented storing the error in the flowBuildStatus
* Updated type
* Added Flow Building Component
* Added Flow Building Component implementation
* Added red color
* Added past build flow params
* Implemented design of flowBuildingComponent
* Implemented build error storing on flowStore
* Implemented build error on flow store
* Changed notifications test
* Set build error as null when building
* Reset build error when exiting flow
* Changed from error to buildError
* Changed flowStore to have buildInfo instead of buildError
* Changed flowBuildingComponent to have buildInfo and display successful builds
* Added handleDismissed instead of setting dismissed as true
* Updated tests to current Update implementation
* Updated tests to remove click on built successfully
* Updated tests and data-testid to match new Flow Name editing behavior
* fixed auto login test
* Fixed edit-flow-name test and save changes on node
* fixed tests
* Changed Share to Publish and added test ids
* added Rename Flow util for tests
* Changed tests to use new RenameFlow
* Fixed auto save off
* Added data test id to flow building component
* Removed pulsing from Name Invalid
* Made name editable but not saveable when invalid
* Added character name reached on description
* Added transition on pencil
* Modularized alert store to separate notification history and notifications
* Added errors to notification history
* Fixed flow building component position and update all components
* Fixed animations
* Fixed animation
* Added same animation to Update All Components
* Updated animations to make update only appear when flow building is not appearing
* fix flow settings test
* Fixed build status not being redefined
* ✨ (UpdateAllComponents/index.tsx): Refactor containerVariants to CONTAINER_VARIANTS for consistency and readability
📝 (visual-variants.ts): Add visual variants for buttons and time in flowBuildingComponent
♻️ (flowBuildingComponent/index.tsx): Import visual variants from separate file for better organization and maintainability
* Fixed offset width of time
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Fix download button size on main page
* Added export modal into main page card dropdown
* added open and setopen as optional
* Add download component directly if its component
* Added success message to exported flow
* Added data test id
* Fixed export tests
* Added downloaded message and data test id
* Fixed bulk actions test
* fixed styling
* Enabled header checkbox selection
* Changed styling of selection
* Implemented bulk downloading and deleting
* Added delete bulk hook
* Added download bulk hook
* Fix backend to send extension in download single file
* Fix hook to download single file directly
* Added header and selection handling
* Added delete confirmation
* [autofix.ci] apply automated fixes
* Fixed selection with shift
* Show disabled files
* Show disabled files as not clickable
* Changed color of icon when disabled
* Implemented pressed shift handling
* Fixed shift selection and disabled text selection when holding shift
* Created test for bulk selection on files modal
* add test of disabled components in file component
* Fixed files page test to include bulk editing test
* removed ring on focus visible
* Changed delete files having the right select
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* update input to have h-fit
* Update McpServerTab text size
* Update Tools Component
* Update header text sizes
* Update list component to match design
* Update home page paddings
* Update home page to use ListComponent in both views
* Delete Grid
* Update skeleton to match design
* Remove old grid reference
* Implemented different border on checkbox
* Added selected flows
* Added selected flows action buttons
* Added flow selection on list component
* Added get download flows
* Added download and delete functions
* change download flows to download one flow directly
* implement shift selection
* Fix ctrl and meta behavior on selection
* remove selected flows if they dont exist
* added control just if its not mac
* Updated deletion modal
* Fixed delete confirmation modal taking up space in grid
* Fixed data-testids and success messages
* Added bulk actions test and fixed actionsMainPage
* added max width to home page
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: add optional method property to OutputFieldType
* feat: Enhance GenericNode with breaking change detection
- Added state management for breaking changes in GenericNode.
- Updated useCheckCodeValidity hook to evaluate breaking changes based on outputs and template keys.
- Improved node status color logic to reflect breaking changes and outdated code.
- Enhanced UI feedback for users with appropriate alerts and dismiss options.
* refactor: Improve breaking change handling in useCheckCodeValidity hook
- Simplified logic for detecting breaking changes and outdated code.
- Updated state management to ensure accurate status updates based on user inputs and templates.
- Enhanced readability by consolidating related checks into a single conditional structure.
* Fix outdated check
* Componentized breaking change
* Updated design of update handle on node
* Added small-update to modal sizes
* updated duplicate flow hook to duplicate just a flow
* Added update component modal with updating for single component
* Added new duplicateFlow on dropdown on main page
* use new update code modal on generic node
* delete check code validity
* add new check code vaildity util function
* removed unused sets from update node code
* Make componentsToUpdate contain breaking info
* Make Generic Node use Components to Update
* Change border in Node Status
* Stop propagation on node update
* Update update all components to have changes from figma
* updated flow store type and added components to update
* Update update component modal
* added icon on outdatedNodes
* Added id filtering on update components
* Added table with components to update
* Update styling
* Update update component modal to use table component
* Updated styles
* filter map
* Update select to not allow selecting texts on backup flow
* Update cursor for label
* Update text of backup flow
* Try to update selection
* Fix selection of components on opening modal
* Insert Update button on node toolbar if dismissed
* Added new parameters of node toolbar
* Added new types of node toolbar
* Removed update button from node status
* Updated shadcn theme
* Added dismiss by node, added dismissing to local storage, added correct update display
* Clarified update warnings in the UpdateComponentModal to better inform users about potential breaking changes and the need to reconnect components.
* Refactored update component visibility logic in GenericNode to use a memoized value for improved performance and readability.
* Updated test for outdated components to reflect changes in button selectors and improved visibility assertions for update notifications.
* Simplified visibility assertion in outdated components test to check for a more concise update message.
* Fixed edges not coming back after undoing
* Fixed breaking change check to not be checked if code is the same
* Fixed imports
* removed unused functions
* updated icon color
* updated test id
* updated for function to foreach
* updated data testid
* updated outdated flow
* removed flowToCanvas that caused bug when going from main page to flow page
* [autofix.ci] apply automated fixes
* Fixed outdated actions test
* fixed timeouts
* Added check for Backup
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
✨ (auto-login-off.spec.ts): update text selector to match new welcome message for improved test accuracy
♻️ (user-flow-state-cleanup.spec.ts): refactor test to use the new welcome message selector for consistency and accuracy
📝 (autoLogin.spec.ts): add import statement for awaitBootstrapTest utility function to fix test failures due to missing import
* Changed backend to contain readonly props for tools
* Show name editing for not readonly tools
* Fixed edit-tools test
* Updated command to use "uvx" instead of "npx" for stability
* Fixed mcp code for authentication on auto_login=false
* removed args from component desc
* [autofix.ci] apply automated fixes
* making tool mode inputs the priority.
* fix: Clean up comments and whitespace in component_tool.py
* Fix column name
* update the dispaly name in composio
* fix format
* ✨ (get-started-progress.tsx): add data-testid attribute to improve testability and accessibility
🔧 (user-progress-track.spec.ts): update test assertions to use the new data-testid attribute for get started progress title
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Add tools input to the backend
* Add tools type
* Add tools component to parameter render
* Added tools to langflow supported types
* Add tools modal
* Instantiate tools component in parameter render
* Removed div when there is not any visible actions
* Added margin
* Add ComboBoxItem and ListItem components for enhanced selection UI
* Update ComboBoxItem to display item description and enhance ToolsModal layout
* Refactor ToolsModal header styling for improved layout and icon padding
* Enhance ComboBoxItem layout and styling; update ToolsModal size and class for better responsiveness
* Changed display name
* Adds truncate for badges
* Adds custom styling for table used for Tools modal
* Added Tools modal with AgGrid
* Changed button
* made name and description editable
* Parse values for saving
* Add focused row without triggering checkbox click
* [autofix.ci] apply automated fixes
* Added types for tools modal
* added toolsTable with sidebar on toolsModal
* Added changes to work with MCP
* update component.py to add display name and display description in tool mode
* removed editing directly
* Fixed editing
* removed to upper case
* Make editing apply filters
* Adds design changes for MCP
* Adds new design and null check
* 📝 (frontend): add data-testid attribute to elements for testing purposes
🔧 (frontend): update data-testid attribute values for consistency and clarity in testing
✅ (frontend): update tests to use correct selectors and improve test coverage for editing tools functionality
* ✅ (edit-tools.spec.ts): update test to use a more reliable method for checking visibility of an element
* ✅ (edit-tools.spec.ts): add "@components" tag to the test to categorize it under components for better organization and filtering in test suites.
* Updated design with new design
* update padding
* send args to tools data
* Implemented showing arguments passed to LLM in tool mode
* add componentg name to description
* update package lock
* fixed tests
* fixed backend test
* fixed backend test
* fixed formatting
* Fixed frontend tests
* updated font sizes for badges on actions and styling on sortable list
* Update tool mode design
* added tooltips for info
* tool name update
* Update component_tool.py
* styling utils
* default values change
* fixed tools test
* fix format issues
---------
Co-authored-by: deon-sanchez <deon.sanchez@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
* add mcp sse to copy field
* add MCP_SSE from frontend
* [autofix.ci] apply automated fixes
* refactor: reorder imports in mcp_component.py for consistency
* ✅ (mcp-server.spec.ts): refactor code to use consistent selector for sse_url textarea element in tests
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* create Amazon bundle
* Update s3_bucket_uploader.py
* update FE tests
* [autofix.ci] apply automated fixes
* ✅ (dropdownComponent.spec.ts): update test selectors to match the updated component names for better test accuracy
✅ (keyPairListComponent.spec.ts): update test selectors to match the updated component names for better test accuracy
* Update filterEdge-shard-1.spec.ts
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* tests cases
* update to loop
* Update component.py
* 📝 (LoopTemplate.json): update value of a configuration key from "OPENAI_API_KEY" to "ANTHROPIC_API_KEY" in order to reflect the correct API key being used
* update json test loop
* fix: update test URL in loop-component.spec.ts to reflect correct reference
Changed the URL in the test case from "Artificial_intelligence" to "Human_intelligence" to ensure accurate testing of the loop component functionality.
* update FE tests
* [autofix.ci] apply automated fixes
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* ✨ (frontend): Add handleOnNewValue prop to Dropdown component to allow selecting a value not in the list
🔧 (frontend): Remove TODO comment and keep handleOnNewValue prop in DropdownComponent
✅ (frontend): Add test for selecting a value not in the list in Dropdown component
* 🐛 (dropdownComponent/index.tsx): fix issue where custom value was not being added to validOptions and filteredOptions when pressing Enter
✨ (dropdownComponent/index.tsx): improve functionality to reset filtered options and custom value input when opening the dropdown
* 🔧 (dropdownComponent/index.tsx): improve styling and layout of dropdown component for better user experience
* ♻️ (dropdownComponent/index.tsx): remove unnecessary comments and improve code readability by removing redundant comments and separating render helper functions from logic blocks.
* 📝 (dropdownComponent/index.tsx): add 'no-focus-visible' class to dropdown component to remove focus outline for better accessibility
📝 (applies.css): add styles for 'no-focus-visible' class to remove focus outline for better accessibility
* Removed duplicate elements from node toolbar
* Fixed freeze tests
* Replaced advanced button modal with edit button modal in all tests
* Fixed freeze test
* Fixed tests
* Readded freeze when there is tool mode
---------
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>