* Added new Docusaurus instance that fetches automatically from Notion
* Add Github workflow to fetch docs from Notion
* Added legacy peer deps to solve dependency problems
* Fix git ignore and added pages
* feat: create usePostLikeComponent hook to handle store like API
* refactor: use usePostLikeComponent hook to handle store likes
* [autofix.ci] apply automated fixes
* refactor: use mutate loading instead of managing loading with react state
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* add new test for bug on output inspection + grouped components
* [autofix.ci] apply automated fixes
* 🔧 (typescript_test.yml): increase shard count from 14 to 15 to distribute tests more evenly
🔧 (typescript_test.yml): fix syntax issues in conditional expressions
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
🐛 (use-preload-images.tsx): add null check for profilePictures to prevent errors when profilePictures is undefined
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
* 🐛 (reactflowUtils.ts): fix addVersionToDuplicates to exclude the updated flow from existing names to prevent naming conflicts
* ✅ (menuBar): add data-testid to flow configuration button for testing
✅ (sideBarFolderButtons): add data-testid to delete folder button for testing
✅ (folders.spec.ts): update test to use new data-testid for delete folder button
✅ (generalBugs-shard-4.spec.ts): add new end-to-end test for flow operations
---------
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Refactor the filtering logic in the useFlowStore hook to optimize the performance. The code changes ensure that the nextVertices array is filtered correctly by excluding vertices that already exist in the last layer.
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
* feat: optimize filtering of messages in SessionView component
The code changes in this commit optimize the filtering of messages in the SessionView component. The useMemo hook is used to memoize the filteredMessages array, which improves performance by avoiding unnecessary re-rendering.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
The HuggingFace Spaces build script has been updated to use the correct space name "Langflow/Langflow" instead of "Langflow/Langflow-Preview". This ensures that the correct space is restarted when triggered.
This commit updates the dependencies for the Google Authentication Library and Google Calendar API. It includes the following changes:
- Upgraded google-auth to version 2.15.0
- Added google-auth-oauthlib version 1.2.1
- Added langchain-google-calendar-tools version 0.0.1
These updates ensure compatibility with the latest versions of the libraries and improve the functionality of the application.
* refactor: extract method from class to new func
* test: add new tests
* refactor: simplify funcs to improve readability
* refactor: extract new func from larger func
* refactor: remove recursion from func
* refactor: remove coupling with graph and vertex
* refactor: create adapter funcs to use new code
* refactor: add test for sorting up to vertex N with is_start=True
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* feat: add Maritalk icon
* feat: add Maritalk model component
* fix: update icon size
* feat: optimize MaritalkModelComponent initialization
This commit optimizes the initialization of the MaritalkModelComponent class in the Maritalk.py file. It updates the default value for the 'temperature' parameter to be within the range of 0 to 1, using the RangeSpec class. This ensures that the temperature value is valid and improves the overall functionality of the component.
* style: format maritalk svg
* feat: optimize MaritalkModelComponent initialization
This commit optimizes the initialization of the MaritalkModelComponent class in the Maritalk.py file. It updates the default value for the 'temperature' parameter to be within the range of 0 to 1, using the RangeSpec class. This ensures that the temperature value is valid and improves the overall functionality of the component.
* feat: update 'stream' parameter to be advanced in MaritalkModelComponent
This commit updates the 'stream' parameter in the MaritalkModelComponent class to be an advanced option. By setting the 'advanced' attribute to True, the 'stream' parameter will only be visible to advanced users. This change improves the usability of the component by hiding this option from regular users who do not need it.
* ThreadingInMemoryCache usage is broken. This commit addresses those issues along with missing documentation about the caching options.
* make lint & make unit_tests fixes
* removing unnecessary changes from unclear test results in last run
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat: improve is_vertex_runnable method in RunnableVerticesManager
This commit improves the `is_vertex_runnable` method in the `RunnableVerticesManager` class. It adds an additional parameter `activated_vertices` to the method signature and updates the logic to check if a vertex is runnable based on the presence of activated vertices. This enhancement improves the accuracy of determining whether a vertex is runnable or not.
* fix: add predecessors to vertices_to_run
* style: fix lint issues
* feat: optimize vertex filtering in useFlowStore
This commit optimizes the vertex filtering logic in the `useFlowStore` function in `flowStore.ts`. It introduces a more efficient way to filter out vertices that are already being built, resulting in improved performance and accuracy.
* refactor: add is_active method to Vertex class
This commit adds the `is_active` method to the `Vertex` class in the `base.py` file. The `is_active` method checks if the state of the vertex is set to `ACTIVE` and returns a boolean value accordingly. This enhancement improves the readability and maintainability of the codebase.
* refactor: improve is_vertex_runnable method in RunnableVerticesManager
* refactor: improve find_runnable_predecessors_for_successors method in Graph class
* refactor: move test_create_function