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

Report Autofill failures #893

Merged
merged 5 commits into from
Jul 29, 2024
Merged

Report Autofill failures #893

merged 5 commits into from
Jul 29, 2024

Conversation

amddg44
Copy link
Contributor

@amddg44 amddg44 commented Jul 15, 2024

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/1201462886803403/1207504090894693/f
iOS PR: duckduckgo/iOS#3116
macOS PR: duckduckgo/macos-browser#3004
What kind of version bump will this require?: Patch

Description:
Allows users to submit autofill breakage reports

Steps to test this PR:

  1. See client PRs

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

@amddg44 amddg44 marked this pull request as ready for review July 22, 2024 09:55
valueDataKey: "com.duckduckgo.UserDefaultExpiryStorage.valueData"
)

public static let autofillConfig = ExpiryStorageConfiguration(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created Autofill specific storage keys so that broken site reports and autofill breakage reports are stored separately

}

/// Report the site breakage
public func report(_ report: BrokenSiteReport, reportMode: BrokenSiteReport.Mode) throws {
public func report(_ report: BrokenSiteReport, reportMode: BrokenSiteReport.Mode, daysToExpiry: Int = 30) throws {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added daysToExpiry here since it will dynamic for autofill reports depending on the privacy config defined value

@amddg44 amddg44 requested a review from graeme July 22, 2024 13:02
@amddg44 amddg44 merged commit 898122d into main Jul 29, 2024
7 checks passed
@amddg44 amddg44 deleted the anya/autofill-report-failure branch July 29, 2024 09:53
samsymons added a commit that referenced this pull request Jul 29, 2024
* main:
  Duck player support on RMF (#914)
  Update autofill to 12.1.0 (#916)
  Report Autofill failures (#893)
  Update GRDB to 2.4.0 (upstream 6.29.0, SQLCipher 4.6.0) (#915)
  Update Xcode version to 15.4 (#912)
samsymons added a commit that referenced this pull request Aug 1, 2024
* main:
  Prevent endless rekey and tunnel update cycle (#897)
  Duck player support on RMF (#914)
  Update autofill to 12.1.0 (#916)
  Report Autofill failures (#893)
  Update GRDB to 2.4.0 (upstream 6.29.0, SQLCipher 4.6.0) (#915)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants