* 🐛 (custom_component.py): fix user_id assignment to convert it to UUID type for consistency and correctness
* [autofix.ci] apply automated fixes
* 🐛 (custom_component.py): fix potential bug by checking if self.user_id is a string before converting it to UUID
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Update sqlmodel dependency to version 0.0.20 in pyproject.toml
* Handle UUID conversion for message IDs in memory update logic
* Refactor Alembic migrations to use `sa.inspect` and update GUID to Uuid type
* refactor: Change flow_id parameter type from str to uuid.UUID in graph building functions
* refactor: Ensure UUID handling for flow_id and user_id across various services and models
* refactor: improve UUID handling and graph caching for compatibility with sqlmodel 0.0.20
* fix: update message assertion in component events test
* chore: update sqlmodel dependency to version 0.0.22 in uv.lock and pyproject.toml
* fix: enhance flow_id validation to ensure valid UUID format in MessageBase model
* fix: add error handling for cache directory cleanup
* refactor: improve flow_id type handling in message storage
* refactor: enhance flow_id handling in message functions to support UUID type
* refactor: integrate Properties into message creation in component event tests
* update test durations
* fix: correct flow_id parameter in database query
* refactor: update session_id and flow_id parameters to support UUID type across message handling functions and models
* fix: handle message data update in SQLModel update method
* refactor: improve flow_id assignment in message update method to enhance UUID handling
* improving development environment and instructions
* minor edits as requested
* fix typo in DEVELOPMENT.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs: Update quickstart guide to include prerequisites and detailed steps for building a chatbot with vector RAG
* cleanup
* add-file-component
* component-type
* docs: Update prerequisites and instructions in quickstart guide
* Apply suggestions from code review
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
---------
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
* feat: Restructure Youtube Transcripts component
- Changed the return type of the `build_youtube_transcripts` method from `Data` to `Message`.
- Updated the output name from "Data" to "Transcription" to reflect the new return type.
- Modified the return statements in `build_youtube_transcripts` to return `Message` objects instead of `Data`.
Co-authored-by: Vinícios Batista da Silva <vinicios.batsi@gmail.com>
* test(youtube-transcripts): enhance test stability by updating component ID and improving interaction checks
- Modified the component id in the test script to match the changes in the Youtube Transcripts component
Co-authored-by: Vinícios Batista da Silva <vinicios.batsi@gmail.com>
* fix: Fixed lint on line 180-181
Co-authored-by: Vinícios Batista da Silva <vinicios.batsi@gmail.com>
---------
Co-authored-by: Eric Hare <ericrhare@gmail.com>
✨ (Market Research.spec.ts): Remove unused functions and imports to clean up the code and improve maintainability
🔧 (Market Research.spec.ts): Increase timeout for page.waitForSelector to prevent timeout issues during test execution
📝 (frontend): Update AlertDropdown component to use 'asChild' prop for PopoverTrigger
📝 (frontend): Refactor ShadTooltip component to use forwardRef and add displayName
📝 (frontend): Update AppHeaderComponent to remove unnecessary aria-hidden attribute
📝 (frontend): Refactor SelectOptions component to improve code structure and readability
📝 (frontend): Update SideBarFoldersButtonsComponent to add getRandomKeyByssmm function and improve code structure
📝 (AWS.jsx): Update fill color condition to use stringToBool function for props.isdark
📝 (index.tsx): Convert isdark value to string before passing it to SvgAWS component
📝 (AstraDB.jsx): Update fill color condition to use stringToBool function for props.isdark
✨ (icons): Convert 'isdark' variable to string to ensure consistent type
♻️ (icons): Refactor 'fill-rule' and 'clip-rule' attributes to 'fillRule' and 'clipRule' for consistency
♻️ (nvidia): Refactor 'enable-background' attribute to 'enableBackground' for consistency
♻️ (nvidia): Refactor 'fill' attribute to use 'stringToBool' function for consistent boolean conversion
📝 (utils): Add 'stringToBool' function to convert string to boolean for reusability
* refactor: Adjust chat view layout for responsiveness
The code changes in this commit adjust the layout of the chat view component to improve responsiveness. Specifically, the CSS classes for the chat container and input container have been modified to make them responsive on different screen sizes. This ensures that the chat view is displayed properly on both desktop and mobile devices.
Refactoring the layout in this way enhances the user experience by making the chat view more accessible and user-friendly across different devices.
* [autofix.ci] apply automated fixes
* feat: Add displayLoadingMessage flag to MessagesStoreType
* feat: Add displayLoadingMessage flag to MessagesStoreType
* feat: Add useMessagesStore to flowStore for displaying loading message
* refactor: Adjust chat view layout for responsiveness and loading message display
* [autofix.ci] apply automated fixes
📝 (header/index.tsx): add data-testid attribute to new-project-btn button for testing purposes
📝 (dragAndDrop.spec.ts): add comments and improve readability of the test code
📝 (lock-flow.spec.ts): add comments and improve readability of the test code, ensure UI updates are properly handled
✨ (dragAndDrop.spec.ts): Update file paths for drag and drop tests to use the correct directory structure
🐛 (generalBugs-shard-12.spec.ts): Adjust mouse movement coordinates to fix drag and drop functionality
🐛 (generalBugs-shard-12.spec.ts): Update drag and drop logic to use hover and click actions for better test accuracy
🐛 (generalBugs-shard-3.spec.ts): Modify adjustScreenView function to include zoom level parameter for better control
🐛 (generalBugs-shard-3.spec.ts): Add missing waitForSelector for fit_view element to ensure visibility before clicking
🐛 (generalBugs-shard-7.spec.ts): Reduce timeout for blank-flow element to improve test speed
🐛 (generalBugs-shard-7.spec.ts): Add waitForSelector for fit_view and zoom_out elements to ensure visibility before interacting with them
* refactor(openai): remove deprecated output_schema and redundant output_parser parameters
* refactor(openai): remove output_schema and output_parser parameters
Following @ogabrielluiz's review feedback to properly handle removed inputs:
1. Remove output_schema parameter:
- Remove from inputs list
- Remove output_schema_dict conversion in build_model
- Remove output_schema_dict usage in json_mode logic
- Remove output_schema_dict usage in structured_output
2. Remove output_parser parameter:
- Remove from inputs list (no code references to clean up as it wasn't being used)
This ensures we don't have any lingering references to removed parameters.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* change tests to use utils libs
* 🔧 (frontend): add data-testid attribute to buttons in baseModal and secretKeyModal components
🔧 (frontend): add data-testid attribute to buttons in various test files for improved testing
🔧 (frontend): refactor awaitBootstrapTest function to remove skipNewFlow option and improve modal handling
* ✅ (userSettings.spec.ts): add a 1-second timeout before checking for the "Please save" text to ensure it is rendered on the page before interacting with it
* ✅ (userSettings.spec.ts): add comment to clarify waiting for API key creation to complete before proceeding to the next form element
* ✨ (freeze-path.spec.ts): refactor adjustScreenView function to accept a parameter for the number of zoom outs to perform, improving flexibility and reusability in test scenarios.
🔧 (freeze-path.spec.ts): replace adjustScreenView function with initialGPTsetup function for setting up initial GPT configuration in the test scenario.
* 📝 (NodeStatus/index.tsx): add text-foreground class to span element to improve text styling in build status section
* ✨ (NodeStatus/index.tsx): improve styling and readability by adding flex and text-foreground classes to status elements
* ✨ (build-status-display.tsx): Add a new component 'BuildStatusDisplay' to improve code organization and readability in the NodeStatus component.
📝 (index.tsx): Refactor NodeStatus component to use the new 'BuildStatusDisplay' component for displaying build status, validation details, and last run time. This change enhances code maintainability and reduces duplication.
Changed newChatView to only set chat value if no messages are present on the flow
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
* Refactor: Update NodeDescription component to conditionally render a character limit message
* [autofix.ci] apply automated fixes
* Refactor: update NoteNode inputClassName to remove unnecessary ring and focus styles (#5038)
refactor: Update NoteNode inputClassName to remove unnecessary ring and focus styles
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
- Updated the Dockerfile to use consistent uppercase casing for 'FROM' and 'AS'.
- Resolved 'FromAsCasing' warnings that were flagged during the Docker build.
- Improves readability and adheres to Dockerfile best practices.
This change ensures a cleaner build process with no warnings.
* feat: Improve wait time for modals and elements in regression tests
- Increase the timeout for waiting for modals and elements in regression tests to 3000ms.
- Replace the usage of `waitForTimeout` with `waitForSelector` for better reliability.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>