Add GitHub Actions workflow to store pytest durations
This commit introduces a new workflow that runs pytest and stores test durations. The workflow is scheduled to run daily at 6:30 UTC and includes steps for setting up the environment, restoring cache, running tests, and creating a pull request to update the test durations file automatically.
* refactor: Add icon to SpiderTool class in spider.py
* refactor: Add icon to SQLDatabaseComponent class in sql_database.py
* remove langchain icon in spider component
* fix: update input type and define its min and max values
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit refactors the keyPairListComponent.spec.ts file to improve the reliability and performance of the tests. It replaces the usage of `waitForTimeout` with `waitForSelector` to ensure that the necessary elements are present before proceeding with the test. This change enhances the stability and efficiency of the test suite.
The Data class in the langflow schema has been updated to handle different types of text inputs. Previously, the page_content attribute was expected to be a string, but now it can also accept other types. If the input is already a string, it is used as is. Otherwise, it is converted to a string before being assigned to the page_content attribute of the Document object.
This change improves the flexibility and robustness of the Data class, allowing it to handle a wider range of input types.
* feat: Add DataFrameInput to inputs module
* feat: add DataFrame support and refactor array processing
* feat: add truth value testing for DataFrame class
* refactor: remove Python 2 compatibility method from DataFrame class
✨ (index.tsx): Add convertTestName function to generate data-testid attribute dynamically based on display_name
🔧 (use-shortcuts.tsx): Pass hasToolMode parameter to handleToolModeWShortcut function to conditionally activate tool mode
🔧 (index.tsx): Pass hasToolMode prop to NodeToolbarComponent to enable/disable tool mode functionality
🔧 (Vector Store.spec.ts): Import and use extractAndCleanCode function to extract and clean code content
🔧 (general-bugs-component-as-tool-shortcut.spec.ts): Import and use extractAndCleanCode function to extract and clean code content
📝 (extract-and-clean-code.ts): Add utility function extractAndCleanCode to extract and clean code content from HTML page
fix: update nestedComponent test to use explicit timeouts
The nestedComponent test was updated to use explicit timeouts when waiting for certain elements to appear. This ensures that the test waits for the elements to be present before proceeding, preventing any potential race conditions or flakiness in the test results.
* 📝 (configuration-authentication.md): Improve formatting and readability of authentication configuration documentation. Add note recommending the use of a .env file for setting variables for security and maintainability.
* remove-export-note
---------
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* refactor: rename DataSet to DataFrame
* feat: add DataFrameInput type and update InputTypes definition
* feat: add DataFrame type to CUSTOM_COMPONENT_SUPPORTED_TYPES
* refactor: replace DataSet with DataFrame in schema and tests
📝 (sanitizedHTMLWrapper/index.tsx): Update className from "m-1" to "m-1 w-full" for better styling
✨ (generalBugs-prompt.spec.ts): Add test for user to edit an empty prompt in the application
* Removed sidebar shortcut
* Fixed restore default shortcut
* Added new shortcut and fixed the freezePath one
* Added shortcut to sidebar opening
* Added shortcut_mod for correct restore, added shortcut for sidebar
* Fixed freezePath shortcut name
* Refactored the shortcutName get to get the correct shortcut
* Added new toggleSidebar and fixed freezePath name
* Fix categories order
* Fix custom_component not showing the correct empty results
* Add toCamelCase function
* Refactor shortcut to work with more than one word
* Removed unused console.log
* fix ctrl not appearing
* Refactor inputListComponent to improve enable deletion of the first item
* [autofix.ci] apply automated fixes
* Refactor codeAreaModalComponent.spec.ts to improve test reliability and remove unnecessary code