-
Notifications
You must be signed in to change notification settings - Fork 806
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
Protect: Fix in-progress fixer indicator #38051
Conversation
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks appearing at the bottom of this PR are passing or skipped. Protect plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
@@ -0,0 +1,4 @@ | |||
Significance: minor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: I would use "patch" for this since it is a bug fix, will need to re-run ./tools/fixup-project-versions.sh
if you decide to change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice touch disabling the threat's action buttons when a fixer is running 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix! Works great.
We could enhance this in the future (in both Protect and Calypso) to include a check for in-progress fixers on load/in the initial state.
Our polling for fixer status is also pretty aggressive (1 second), we could probably ease it off for longer running fixers.
Description
Ensure the in-progress spinner renders when a threat fixer has that status.
Proposed changes:
threatsAreFixing
Ignore
/Fix threat
buttons when a threat fixer isin-progress
Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
in-progress
fixer status:Spinner
component is render in theAuto-fix
columnIgnore
/Fix threat
buttons are disableScreenshots