Skip to content

Jetpack Section: Scan: Groups threats found by date#15773

Merged
emilylaguna merged 6 commits intodevelopfrom
task/15190-scan-date-sections
Feb 4, 2021
Merged

Jetpack Section: Scan: Groups threats found by date#15773
emilylaguna merged 6 commits intodevelopfrom
task/15190-scan-date-sections

Conversation

@emilylaguna
Copy link
Copy Markdown
Contributor

Project #15190

Depends on: #15755

Based on some design feedback this groups the threats found by date using the same logic as the threat history vew.

Screenshots

Idle State Fixing State
Simulator Screen Shot - iPhone 11 Pro - 2021-02-02 at 21 30 20 Simulator Screen Shot - iPhone 11 Pro - 2021-02-02 at 21 29 03

To test:

  1. Launch the app
  2. Tap on My Site
  3. Select a site with Jetpack Scan enabled
  4. Tap on Scan
  5. 👁️ The threats are now grouped by date
  6. Tap History
  7. Verify the threats are still correctly grouped
  8. Tap back
  9. Tap Fix all
  10. Verify the threats being fixed are no longer groups in a section

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.

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Feb 3, 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 3, 2021

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

Base automatically changed from task/15190-scan-fixing-status to develop February 3, 2021 15:46
@emilylaguna emilylaguna mentioned this pull request Feb 3, 2021
55 tasks
Copy link
Copy Markdown
Contributor

@leandroalonso leandroalonso left a comment

Choose a reason for hiding this comment

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

Works as described! Left one minor suggestion. :)

}
}

private func threatsDidChange() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This seems very specific to configuring sections. Instead of threatsDidChange (which is very generic) can we perhaps use configureSections or something similar?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good idea, done in: 4a135ca

@emilylaguna emilylaguna merged commit 1573d64 into develop Feb 4, 2021
@emilylaguna emilylaguna deleted the task/15190-scan-date-sections branch February 4, 2021 14:40
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.

3 participants