langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.41k stars 4.22k forks source link

fix: update "update components" design, implemented update all components functionality, refactor get types #4739

Closed lucaseduoli closed 3 days ago

lucaseduoli commented 4 days ago

This pull request includes multiple changes to the src/frontend/src/CustomNodes/GenericNode components and related files to improve the handling of outdated nodes and streamline the codebase. The most important changes include modifying the NodeStatus and GenericNode components, adding a new hook for updating all nodes, and updating the flow and type management logic.

Improvements to NodeStatus and GenericNode components:

New hook for updating all nodes:

Flow and type management updates:

Additional changes:

lucaseduoli commented 3 days ago

https://github.com/langflow-ai/langflow/pull/4761 -> new PR related to only updating single components https://github.com/langflow-ai/langflow/pull/4762 -> refactor get all to be fetched at the start https://github.com/langflow-ai/langflow/pull/4763 -> add updating of all components at once

lucaseduoli commented 3 days ago

Modularized PR into three