* Refactor: Update Data class to handle different types of text inputs
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.
* Refactor: Update toTitleCase function to handle ignoreTitleCase option
* Refactor: Update CrashErrorComponent to add ignoreTitleCase option to the Report on GitHub button
* [autofix.ci] apply automated fixes
* remove unnecessary function from youtube transctipt
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
Refactor: Update shortcut for minimizing window
Changed the shortcut for minimizing the window from "mod+shift+q" to "mod+." in order to align with the default shortcuts. This improves the consistency and usability of the application.
* Fix search bar alignment on templates screen
* ✨ (youtube-transcripts.spec.ts): remove unnecessary step of filling language field before running the test to improve test efficiency
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Added best practices document
* Refactored global variables page
* added category
* move-security-page
* link
* Removed title from Security Best Practices
* Avoid empty headings
* Sentence case for headings
* Remove general best practices not related to Langflow
* Add bulleted list instead of numbered list
* changed default secret locations to use the default secret key locations
* Add periods on end of sentences
* Changed title to be imperative
---------
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* allowing Server File Path to be Message or Data
* [autofix.ci] apply automated fixes
* Ruff check updates
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
* ✨ (Nvidia): Add support for dark mode in Nvidia icon by using useDarkStore hook to determine fill color based on dark mode state
* ♻️ (index.tsx): remove unnecessary console.log statement from CustomInputPopover component
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