* 📝 (base.py): improve naming convention for task names in Graph class
🔧 (base.py): add error logging functionality in _execute_tasks method
🔧 (utils.py): update data parameter type in log_vertex_build function
🔧 (index.tsx): remove unused setCurrentFlow function call in StoreCardComponent
🔧 (use-get-builds-polling-mutation.ts): add error handling and display logic for build failures
🔧 (flowSidebarComponent/index.tsx): make showLegacy prop optional in FlowSidebarComponentProps interface
🔧 (index.tsx): remove commented out code related to branding in FlowPage component
* [autofix.ci] apply automated fixes
* fix: update URL construction in CopyFieldAreaComponent to handle undefined endpointName
- Modified the URL construction logic to use currentFlow.id when endpointName is not provided, ensuring a valid URL is always generated.
* 🔧 (base.py): add error logging method for vertex build failures
- Introduced `_log_vertex_build_from_exception` method to handle and log exceptions during vertex building, improving error reporting and output structure.
- Updated `_execute_tasks` method to utilize the new logging method for better exception handling.
* 🐛 (use-get-builds-polling-mutation.ts): fix error display count to only show errors once per build failure instead of multiple times
* 📝 (embedding_model.py): improve formatting of the info message for the 'dimensions' input to enhance readability and clarity
* [autofix.ci] apply automated fixes
* fix: add webhook component handling in task execution
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
fix: use correct logger and remove blanket logging config
* 🔧 (mcp.py, url.py, watsonx.py, langwatch.py, mem0_chat_memory.py, models/watsonx.py, schema.py): Remove standard logging and integrate loguru for enhanced logging functionality and consistency across components.
* 🔧 (dropdownComponent/index.tsx): refactor filteredOptions state initialization to include custom values not in validOptions
♻️ (dropdownComponent/index.tsx): refactor value memoization logic to handle custom values and improve performance
🔧 (dropdownComponent/index.tsx): refactor filteredOptions state update logic to handle custom values and improve user experience
* 📝 (RenderInputParameters/index.tsx): Remove unnecessary console.log statement
🔧 (dropdownComponent/index.tsx): Add constant RECEIVING_INPUT_VALUE and update styles for disabled state in Dropdown component
* ✨ (dropdownComponent/index.tsx): add new constant SELECT_AN_OPTION to improve user experience by providing a default option when no value is selected.
* ✨ (constants.ts): add constant SELECT_AN_OPTION to improve user experience by providing a clear message to select an option
---------
Co-authored-by: deon-sanchez <deon.sanchez@datastax.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* ✨ (model.py): add UserOptin class to manage user opt-in actions for better organization and extensibility
♻️ (model.py): refactor User model to include user_optin field as a dictionary to store opt-in actions for users
* [autofix.ci] apply automated fixes
* change name optins
* [autofix.ci] apply automated fixes
* ✨ (add_optins_column_to_user.py): Add optins column to the user table to store user preferences
♻️ (model.py): Refactor UserOptin class to BaseModel for better type hinting and add optins field to User model with default values and proper typing
* [autofix.ci] apply automated fixes
* 🐛 (add_optins_column_to_user.py): fix an issue where the optins column was not being added if it already existed in the user table
* ✨ (empty-page.tsx): Add new page EmptyPageCommunity to display community information and actions
✨ (main-page.tsx): Add new page CollectionPage to manage collections and folders
🔧 (routes.tsx): Update import path for CollectionPage to point to the new main-page file
* ✨ (background-gradient.tsx): Add a new component BackgroundGradient to create a visually appealing background gradient effect for UI elements
📝 (empty-page.tsx): Refactor EmptyPageCommunity component to use the newly added BackgroundGradient component for GitHub and Discord sections to enhance visual appeal and consistency
* 📝 (tasks.mdc): Add concise task management protocol for sequential mode to improve task organization and execution
✨ (frontend): Introduce DotBackgroundDemo component for creating a visually appealing dot background effect
♻️ (frontend): Refactor BackgroundGradient component to improve gradient styling and border consistency
🔧 (frontend): Update motion import in background-gradient.tsx to use framer-motion instead of motion/react
🔧 (icons): Add missing newline at the end of Anthropic icon file
🔧 (empty-page.tsx): Adjust styling classes and z-index to improve layout and visual hierarchy in EmptyPageCommunity component
* ✨ (empty-page.tsx): add githubBg image import to use as background image for GitHub link
♻️ (empty-page.tsx): refactor positioning and styling of GitHub link elements for better alignment and readability
* 🔧 refactor(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
✨ refactor(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port
* 📝 (AccountMenu/index.tsx): Update imports and remove unused code for better organization and performance
🔧 (use-get-version.ts): Add functionality to refresh the latest version in darkStore after fetching version data
♻️ (darkStore.ts): Add refreshLatestVersion function to update the latest version in darkStore
📝 (dark/index.ts): Add latestVersion field and refreshLatestVersion function to DarkStoreType for better state management
* ✨ (AccountMenu/index.tsx): Add constants for Discord, Docs, GitHub, and Twitter URLs for better maintainability and reusability
📝 (constants.ts): Update Twitter URL to a new value for consistency with other URLs
📝 (TwitterX): Add new TwitterX icon and component for use in the application
📝 (styleUtils.ts): Import and use the new TwitterXIcon in the list of node icons
📝 (utils.ts): Update formatNumber function to handle undefined input values for better error handling
* [autofix.ci] apply automated fixes
* 📝 (add_optins_column_to_user.py): Update down_revision to '1b8b740a6fa3' for consistency
🔧 (AccountMenu/index.tsx): Adjust classNameSize prop value to 'w-[272px]' for styling consistency
🔧 (HeaderMenu/index.tsx): Update HeaderMenuItems component to accept classNameSize prop for dynamic styling
🔧 (langflow-counts.tsx): Adjust styling for better visual consistency and spacing
🔧 (index.tsx): Update className for Bell icon to include text-muted-foreground and strokeWidth
🔧 (get-started-progress.tsx): Update styling and spacing for better visual consistency
🔧 (header-buttons.tsx): Add Separator component for visual separation in HeaderButtons component
* 🔧 (AccountMenu/index.tsx): Adjust padding in AccountMenu component for better alignment and spacing. Fix ThemeButtons positioning for improved layout.
* ✨ (appHeaderComponent/index.tsx): Add support for managing flows and folders in the app header component
📝 (get-started-progress.tsx): Update heading tag to improve semantics
📝 (empty-page.tsx): Update text content in empty page to provide clearer instructions and information
* ✨ (background-gradient.tsx): Add support for dynamic border radius in BackgroundGradient component
🔧 (empty-page.tsx): Remove BackgroundGradient import and replace it with EnhancedBeamEffect component
🔧 (empty-page.tsx): Update styles and classes for EnhancedBeamEffect component and adjust layout
✨ (enchanced-beam-effect.tsx): Create EnhancedBeamEffect component to add enhanced beam effect to UI components
* ✨ (frontend): update text content and button labels in empty page component for better user experience
📝 (frontend): add data-testid attributes for testing purposes in various components
🔧 (frontend): add new test file for user progress tracking feature with Playwright tests
* ✨ (AccountMenu/index.tsx): Add Admin Page button for admin users in the account menu component
🔧 (user-progress-track.spec.ts): Add utility function addNewUserAndLogin to facilitate adding and logging in new users for testing purposes
* [autofix.ci] apply automated fixes
* 🐛 (get-started-progress.tsx): fix calculation of percentage to ensure it does not exceed 100%
* ✨ (empty-page.tsx): Add Lucide ExternalLink component for external links and update styling for external link icons
♻️ (empty-page.tsx): Refactor CSS classes for external link icons to improve readability and maintainability
📝 (index.css): Add custom CSS variable for Discord color
📝 (tailwind.config.mjs): Add Discord color to Tailwind CSS custom colors
* [autofix.ci] apply automated fixes
* add logo png
* ✨ (index.tsx): Add z-50 class to improve stacking context in CardsWrapComponent
✨ (empty-page.tsx): Add text-center class to center text elements in EmptyPageCommunity
✨ (empty-page.tsx): Adjust spacing and alignment in EmptyPageCommunity for better layout and readability
* 🐛 (AccountMenu/index.tsx): fix condition to show admin options only when isAdmin is true and autoLogin is false
* 🔧 (alertDropDown/index.tsx): update z-index value in PopoverContent class to z-50 for proper stacking order
* 🔧 (index.tsx): update z-index value to improve the stacking order of the component on the page
* ♻️ (index.tsx): refactor classNames in CardsWrapComponent to improve readability and maintainability
* 🐛 (empty-page.tsx): fix data-testid attribute value to match the updated element name for better consistency and clarity
🐛 (user-progress-track.spec.ts): fix test cases to match the updated data-testid attribute value for the main page title element to ensure accurate testing and assertions
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* 📝 (constants.ts): add UUID_PARSING_ERROR constant for better error handling in use-add-flow.ts
🐛 (use-add-flow.ts): handle UUID_PARSING_ERROR in onError callback to display a specific error message and redirect to flows page if UUID parsing error occurs
* ✨ (use-add-flow.ts): introduce constant REDIRECT_DELAY to improve code readability and maintainability
🔧 (Composio): change fill color of Composio icon based on isdark prop value
🔧 (Composio): add useDarkStore hook to dynamically set isdark prop for Composio icon based on dark mode state
* feat: Update API key authentication logic and add deprecation warning
- Introduced a deprecation warning for the upcoming change in v1.5 regarding AUTO_LOGIN authentication, which will require a valid API key or JWT.
- Modified the authentication logic to check for API key or JWT in query parameters or headers before falling back to superuser credentials.
- Enhanced the clarity of authentication requirements for users integrating with Langflow.
* fix: Update deprecation warning message for API key authentication
* feat: add EmbeddingModelComponent for generating embeddings
- Introduced a new EmbeddingModelComponent to generate embeddings using specified providers, starting with OpenAI.
- Updated the __init__.py file to include the new component in the exports.
- The component includes various input fields for configuration, such as provider selection, model name, API key, and additional parameters.
* update the tests.
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.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>
feat: Add constraint existence check for primary keys in migration scripts
- Implemented a function to check for existing constraints before creating temporary tables in the upgrade and downgrade functions.
- Updated primary key names dynamically to avoid conflicts during migrations for the 'vertex_build', 'transaction', and 'message' tables.
- Enhanced the robustness of the migration process by ensuring unique constraint names across different database states.
* chore: action params naming
* chore: remove comments
* chore: replaced MessageTextInput field with StrInput
* feat: add google calendar component
* feat: replaced loops with hardcoded display-name action-enum mapping to improve performance
* chore: format
* fix: add type ignore for action_key in getattr call
* feat: add google sheets component
* fix: format google calendar utils
* feat: add google meet Component
* chore: minor improvement
* chore: format & lint
* fix: google meet component
* feat: add GitHub component
* fix: format
* fix: lint
* fix: typo
* feat: add Slack Component
* fix: format
* fix: rest bool value to None
* chore: disabled slack tools temporarily
* fix: add condition to set list variables to None in when action is changed
* chore: capitalise display names
* fix: update list issues field to MessateTextInput
* fix: format/lint in slack component
* fix: google calendar logo
* fix: revert setting bool field to None
* feat: composio-core & composio-core version bump to 0.7.10
* fix: minor bugs
* feat: add accepted values to AccessType field in google meet component
* feat: add accepted values for entry point access field in Google meet component
* fix: Google Calendar display names
* feat: replace list with nested list for batch update field in Google sheets
* fix: display name in Google sheets
* fix: format
* fix: titlecase display name in google meet component
* feat: set advaced to true for advanced fields
* feat: add condition to skip empty list fields in execute_action
* chore: improve display names GitHub Component
* fix: slack component display names & minor enhancements
* feat: update condition to skip empty fields while executing action
* feat: fix google calendar field description
* feat: update googlemeet component to use new inputs & composio base class
* chore: update googlemeet component filename
* feat: update github component to use new inputs & composio base class
* feat: update google calendar to use new inputs & composio base class
* feat: update google sheets component to use new inputs & Composio base class
* feat: update slack component to use new inputs & Composio base class
* fix: format
* chore: cleanup un-used code
* chore: format
* feat: add missing fields & actions
* chore: fix typo
* feat: rm other components
* feat: improve error message format & revert composio libs bump
* chore: revert uv.lock file
* update tests
* fix: remove duplicate action field in GMAIL_FETCH_EMAILS
* fix: remove unused code
* fix: add ignore statement
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* feat: Add Ketch consent management and privacy preference link to docusaurus config
* feat: Update Docusaurus footer and Ketch privacy management
- Modify Ketch script configuration for better performance
- Enhance footer styling with dark theme and copyright
- Add dynamic load for region-specific privacy link
- Update sitemap configuration to ignore preferences page
* Styled footer
* fix-merge-error
* update script to remove link if in default jurisdiction and handle GA… (#7508)
* update script to remove link if in default jurisdiction and handle GA4 tracking
* add test ketch property so we can test in feature branch
* Fix ketch script issue (#7509)
* add new html sidebar item with custom styles and new font
* update script to remove link if in default jurisdiction and handle GA4 tracking
* add test ketch property so we can test in feature branch
* fix script for ketch
---------
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* Fix Ketch script again (#7513)
* add new html sidebar item with custom styles and new font
* update script to remove link if in default jurisdiction and handle GA4 tracking
* add test ketch property so we can test in feature branch
* fix script for ketch
* Update footer css and fix ketch script
* add production logic back in
---------
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* remove-region-check
* make-footer-not-hide-ad
---------
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: Cole Goldsmith <cole.b.goldsmith@gmail.com>