* ✨ (use-post-add-flow.ts): Add useGetRefreshFlows hook to refresh flows after adding a new flow
♻️ (use-add-flow.ts): Remove unnecessary refreshFlows hook and refactor code to use useGetRefreshFlows hook instead
📝 (dropdown/index.tsx): Update import paths for useDuplicateFlows and useSelectOptionsChange hooks
📝 (grid/index.tsx): Update import path for useDescriptionModal hook and remove commented out code related to playground functionality
✨ (MainPage): Add new hooks for handling duplicate flows, selecting all flows, changing select options, and managing selected flows
📝 (MainPage): Update import path for useDescriptionModal hook to correct location
🔧 (MainPage): Remove unused code related to playground functionality in ListComponent
🔧 (use-handle-duplicate.tsx): Remove unused file use-handle-duplicate.tsx
🔧 (componentsComponent/index.tsx): Remove unused imports and function call for useDuplicateFlows
📝 (homePage/index.tsx): Add console log to log data.flows for debugging purposes
* 📝 (dropdown/index.tsx): refactor useDuplicateFlows hook to accept an object with named parameters for better readability and maintainability
📝 (use-handle-duplicate.tsx): update useDuplicateFlows hook to accept an object with named parameters for better readability and maintainability
📝 (componentsComponent/index.tsx): remove import of useDuplicateFlows hook as it is no longer used in the file
📝 (homePage/index.tsx): remove console.log statement for data.flows in the HomePage component
* ✨ (FlowMenu/index.tsx): Add useGetRefreshFlowsQuery to fetch and refresh flows data when folders are fetched
♻️ (use-get-flow.ts): Refactor useGetFlow to include queryClient for refetching queries on settled response
✨ (use-get-refresh-flows-query.ts): Introduce useGetRefreshFlowsQuery to fetch and process flows data with query options
🔧 (use-post-add-flow.ts): Update usePostAddFlow to use queryClient for refetching queries instead of refreshFlows
🔧 (use-get-folders.ts): Update useGetFoldersQuery to remove unnecessary refreshFlows call and use queryClient for refetching queries
🔧 (use-upload-flow.ts): Remove unnecessary refreshFlows call from useUploadFlow to improve flow data handling
🔧 (FlowPage/index.tsx): Remove unused imports and variables for better code cleanliness and maintainability
🔧 (ViewPage/index.tsx): Remove unused imports and variables for better code cleanliness and maintainability
* 🔧 (twoEdges.spec.ts): remove unnecessary click on "input-inspection-retriever" element to improve test clarity and efficiency
* 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
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>
* ✨ (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
✨ (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.
📝 (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
* Refactor inputListComponent.spec.ts to improve test reliability and performance
* Refactor: update intComponent tests for improved reliability and performance (#4860)
* Refactor inputListComponent.spec.ts to improve test reliability and performance
* Refactor IntComponent test to improve search reliability and performance
* Refactor test grep pattern to fix syntax error
* debuging ci
* Refactor test grep pattern to fix syntax error and improve test reliability and performance
* 📝 (App.css): add style for ag-cell class to remove internal calculated line height for better UI appearance
* 📝 (App.css): update CSS to remove internal calculated line height for specific elements in ag-grid cells
* Fix ag grid shadcn theme
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* 📝 (App.css): add style for ag-cell class to remove internal calculated line height for better UI appearance
* 📝 (App.css): update CSS to remove internal calculated line height for specific elements in ag-grid cells