mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 11:13:10 +08:00
cloud-dev-toggle
11 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 683b5b2299 |
docs: update mdc file to reflect current usage (#13019)
docs-update-mdc-file-for-current-usage |
|||
| d048a1d029 |
docs: use npm in makefile and cursor rules (#11784)
* update-makefile-to-use-npm * update-cursor-rules-file-to-use-npm |
|||
| 55878bf729 |
docs: Clean unused assets, reorganize the directory structure to match the nav for easier 3rd party contribution (#10025)
* directory reorg - flows section * sidebar alignment - agents and mcp * sidebar - api, contribute, support * move docs for apify and assembly bundles * structure in cursor rules * delete unused assets * move images and files to static * more delete unused assets * move integrations to components * combine big query page with google bundle page * combine notion pages into 1 * combine notion * combine nvidia pages * majority of develop and deploy topics * move monitoring integrations to develop * preempt mc from 10027 * remove notion action that is not needed |
|||
| 15edb5ad14 |
feat: Canvas toolbar update and enhancement (#9239)
* feat: Add EditorConfig and Prettier configuration files for consistent code formatting - Introduced .editorconfig to enforce coding styles across various file types. - Added .prettierrc for Prettier configuration to standardize code formatting. - Updated settings.json to define tab sizes and formatting options for different languages. - Enhanced canvasControlsComponent with a new dropdown for control buttons, improving UI interaction. - Refactored logCanvasControlsComponent and MemoizedComponents for better structure and consistency. * [autofix.ci] apply automated fixes * feat: Enhance canvas controls with keyboard shortcuts and dropdown functionality - Introduced keyboard shortcuts for zooming in, zooming out, fitting view, and resetting zoom. - Refactored DropdownControlButton to improve accessibility and usability. - Updated CanvasControls to handle keyboard events for enhanced user interaction. - Added helper function to format zoom percentage for better display. - Improved structure and readability of the canvas controls component. * [autofix.ci] apply automated fixes * feat: Introduce CanvasControlsDropdown and HelpDropdown components - Added new dropdown components for canvas controls and help functionalities. - Refactored CanvasControls to utilize the new dropdowns, enhancing UI interaction. - Improved keyboard shortcut handling for zoom and view adjustments. - Streamlined component structure for better maintainability and readability. * refactor: Update dropdown components and styles in canvasControls - Removed unused ShadTooltip import from dropdowns.tsx. - Adjusted padding and margin styles for DropdownControlButton and CanvasControlsDropdown for improved layout. - Enhanced button styles in MemoizedComponents for consistency. - Cleaned up class names in CanvasControls for better readability. * feat: Enhance HelpDropdown with navigation and external links - Added functionality to open documentation and desktop download links in new tabs. - Integrated navigation for shortcuts settings within the HelpDropdown. - Cleaned up commented-out code for better readability and maintainability. * [autofix.ci] apply automated fixes * feat: Add tests for CanvasControls and Dropdown components - Introduced unit tests for CanvasControls, verifying rendering and keyboard shortcut handling. - Added tests for CanvasControlsDropdown and HelpDropdown, ensuring proper functionality and interaction. - Implemented mocks for external dependencies to isolate component behavior during testing. - Enhanced test coverage for dropdown interactions and navigation features. * refactor: Simplify Jest setup by removing unused polyfills and mocks - Removed unnecessary polyfills for ResizeObserver and IntersectionObserver from the Jest setup file. - Cleaned up the window.open mock to streamline the testing environment. * feat: Enhance FlowMenu and EditFlowSettings components - Reintroduced memoization and hotkey handling in FlowMenu for improved performance. - Updated EditFlowSettings to include locking functionality with a switch component, enhancing user control over flow settings. - Adjusted layout and styling for better user experience in the EditFlowSettings component. * [autofix.ci] apply automated fixes * feat: Implement locking functionality in FlowSettingsComponent - Added state management for the locked property in FlowSettingsComponent. - Updated EditFlowSettings to disable input fields based on the locked state. - Enhanced the flow submission logic to include the locked status when saving changes. * [autofix.ci] apply automated fixes * chore: Remove EditorConfig and Prettier configuration files - Deleted .editorconfig and .prettierrc files to streamline project configuration. - Updated .cursor/settings.json to enable biome without specific editor settings for various file types. * chore: Update biome settings in .cursor/settings.json - Removed the biome.enabled property to simplify configuration. - Retained the biome.configurationPath for continued functionality. * feat: Enhance dropdown functionality with toggle options and bug report link - Added a toggle feature to the DropdownControlButton for enabling smart guides. - Introduced a new BUG_REPORT_URL constant for reporting issues. - Updated HelpDropdown to utilize the new toggle functionality and link for bug reporting. - Cleaned up imports and adjusted component props for better usability. * fix: Correct onClick handling in DropdownControlButton component - Updated the onClick prop to directly use the provided onClick function instead of a conditional. - Adjusted the handleOnNewValue prop in ToggleShadComponent to ensure proper toggle functionality. * [autofix.ci] apply automated fixes * feat: Introduce CanvasControls and dropdown components for enhanced canvas interaction - Added CanvasControls component to manage canvas interactions and state based on flow lock status. - Implemented CanvasControlsDropdown and HelpDropdown for zoom and help functionalities, respectively. - Created DropdownControlButton for reusable dropdown actions with keyboard shortcuts. - Removed deprecated dropdowns and refactored related tests to align with new component structure. - Introduced utility functions for zoom percentage formatting and modifier key detection. * refactor: Clean up imports and enhance HelpDropdown functionality - Removed redundant imports in FlowMenu and HelpDropdown components. - Refactored HelpDropdown to utilize Zustand for managing helper line state. - Improved readability by adjusting component structure and formatting. * Revert "Merge branch 'lfoss-1889' of https://github.com/langflow-ai/langflow into lfoss-1889" This reverts commit |
|||
| e484e74803 |
fix: refactor auth modal design for mcp composer (#9180)
* added biome config * added classes on footer * added new auth size * changed auth modal design * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| 169b687ed0 |
fix: refactor bundle and component names (#9140)
* Changed Youtube to YouTube * Updated AIML to AI/ML API * Updated AI/ML Model name * Changed Anthropic description * updated arXiv name * Set Astra Vectorize as legacy * Updated get env var * Updates firecrawl names * Updated Icon for Google Gen AI embeddings * Add Space on Home Assistant * Updated Hugging Face name * Updated Maritalk Name * Updated Not Diamond name * Updated ScrapeGraph names * Changed SearchApi Name * Changed TwelveLabs naming * Updated AstraDB naming * Updated VertexAI naming * Updated Wolfram * Updated Yahoo naming * Updated Yahoo Finance name * Updated Yahoo Finance * [autofix.ci] apply automated fixes * Update google serper bundle * updated ai ml icon name * Updated maritalk * Changed ai ml api name * removed openai from base url * Revert components-bundles changes * revert changes on components-vector-stores * Revert changes on deployment-hugging-face-spaces * Revert changes on integrations-nvidia-ingest * Revert changes on release-notes * Update changes on sequential agent * [autofix.ci] apply automated fixes * fixed filterSidebar test * updated filter edge test * updated shard 11 test with new sidebar names --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| f75d9a20e0 |
refactor: Update icon dark mode comparison (#9060)
* Update icon dark mode comparison * [autofix.ci] apply automated fixes * coderabbit fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| ab1ed8ea01 |
docs: add comprehensive cursor guidelines and rules for development practices (#8401)
* Update cursor rules with specific backend, frontend, docs * Update image example Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * update image example Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Refactor frontend development guidelines: streamline sections, remove outdated icon development instructions, and update checklist for clarity and consistency. --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> |
|||
| 073659d5f4 |
feat: Adds our first Cursor rules (#7973)
* icon rules * update component rules and add dark mode * Update rules * Update .cursor/rules/components/basic_component.mdc Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> * Update .cursor/rules/components/basic_component.mdc Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> * pr feedback --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> |
|||
| 60de34074b | fix: Enhance Growth UI Layout and Consistency (#7768) | |||
| a8ae17b86d |
feat: add observable UX for community interaction tracking (#7512)
* ✨ (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> |