Skip to content

Jetpack Section: Scan: Adds threat fixing status#15755

Merged
emilylaguna merged 17 commits intodevelopfrom
task/15190-scan-fixing-status
Feb 3, 2021
Merged

Jetpack Section: Scan: Adds threat fixing status#15755
emilylaguna merged 17 commits intodevelopfrom
task/15190-scan-fixing-status

Conversation

@emilylaguna
Copy link
Copy Markdown
Contributor

@emilylaguna emilylaguna commented Feb 1, 2021

Project: #15190

Related: wordpress-mobile/WordPressKit-iOS#342

Adds a new state that displays the threats that are actively being fixed.

Demo

fixing.with.description.mov

To test:

Note: You can generate a fixable threat by installing these plugins:

  1. Launch the app, tap on the My Site, tap on a site with Jetpack Scan
  2. Tap Scan
  3. Tap the 'Fix All' button
  4. 👁️ You should immediately see the fixing status with all the fixable threats displayed
  5. The threat description should inform you as to how Jetpack will auto fix it
  6. The view will auto refresh after 5 seconds, and should appear to be the same
  7. Pull to refresh to verify you're still in the fixing status
  8. Wait a few seconds for the threat to be fixed
  9. If it's not the last threat you should see it removed from the list
  10. If it is the last threat the state should not longer be in the fixing state

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@emilylaguna emilylaguna added this to the 16.7 milestone Feb 1, 2021
@emilylaguna emilylaguna self-assigned this Feb 1, 2021
@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Feb 1, 2021

You can trigger an installable build for these changes by visiting CircleCI here.

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Feb 1, 2021

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

Copy link
Copy Markdown
Contributor

@momo-ozawa momo-ozawa left a comment

Choose a reason for hiding this comment

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

Hey @emilylaguna

When I tried fixing my site, one of the threats went from a "fixing" state to a "normal" state. I was expecting the threat to be removed from the list once it was fixed.

My site has 3 threats:

  • the calendar plugin
  • the SEO plugin
  • the Infect a File Threat option turned on in the Jetpack Threats Tester plugin
fixall.mov

@emilylaguna
Copy link
Copy Markdown
Contributor Author

@momo-ozawa I've tried all I can possible try and have not been able to reproduce this issue on my end 😭

I'm thinking I'll put a pin in this and address if later on if it pops up again, thoughts?

@momo-ozawa
Copy link
Copy Markdown
Contributor

@emilylaguna

I'm thinking I'll put a pin in this and address if later on if it pops up again, thoughts?

Sounds good to me! 👍

@emilylaguna emilylaguna merged commit 78ba610 into develop Feb 3, 2021
@emilylaguna emilylaguna deleted the task/15190-scan-fixing-status branch February 3, 2021 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants