Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 18 commits into from

Conversation

lucaseduoli
Copy link
Collaborator

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 lucaseduoli self-assigned this Nov 20, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. javascript Pull requests that update Javascript code labels Nov 20, 2024
@github-actions github-actions bot added the bug Something isn't working label Nov 20, 2024
Copy link
Contributor

@anovazzi1 anovazzi1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found a bug related to the update all, it does not disappear after update a component directly on it, instead of update using the update all option:
image

before fix this bug I would suggest to separate this pr in two different prs, one for the new alert design and other for the types refactor and update all in the bottom. IMO this pr is too big (and risk) to be addressed for the next release.

the new alert style is really awesome, great work.

@lucaseduoli
Copy link
Collaborator Author

#4761 -> new PR related to only updating single components
#4762 -> refactor get all to be fetched at the start
#4763 -> add updating of all components at once

@lucaseduoli
Copy link
Collaborator Author

Modularized PR into three

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working javascript Pull requests that update Javascript code size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants