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

NIFI-13078: Adding support to Enable and Disable through the context menu and operation control #8680

Merged
merged 2 commits into from Apr 23, 2024

Conversation

mcgilman
Copy link
Contributor

NIFI-13078:

  • Adding support to Enable and Disable through the context menu and operation control.

@mcgilman mcgilman added the new ui Pull requests for work relating to the new user interface being developed. label Apr 22, 2024
- Adding support to Enable and Disable through the context menu and operation control.
@rfellows
Copy link
Contributor

reviewing

Comment on lines +419 to +422
startComponentSuccess,
stopComponentSuccess,
enableComponentSuccess,
disableComponentSuccess,
Copy link
Contributor

Choose a reason for hiding this comment

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

We are missing a reducer for enableProcessGroupSuccess and disableProcessGroupSuccess that sets the flowState saving back to false.

If you enable/disable the current process group (right click on the canvas) then try to edit one of the components in that PG, the apply button is a spinner as it thinks it is still "saving"
Screenshot 2024-04-23 at 10 17 08 AM

However, if you were to enable/disable a child pg this isn't an issue as the child pg is reloaded and causes loadChildProcessGroupSuccess to fire which ultimately sets the saving state back to false.

- Addressing review feedback.
Copy link
Contributor

@rfellows rfellows left a comment

Choose a reason for hiding this comment

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

Changes look good, thanks @mcgilman 👍

@rfellows rfellows merged commit 562eece into apache:main Apr 23, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new ui Pull requests for work relating to the new user interface being developed.
Projects
None yet
2 participants