-
Notifications
You must be signed in to change notification settings - Fork 35
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
Conversation
valueDataKey: "com.duckduckgo.UserDefaultExpiryStorage.valueData" | ||
) | ||
|
||
public static let autofillConfig = ExpiryStorageConfiguration( |
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.
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 { |
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.
Added daysToExpiry
here since it will dynamic for autofill reports depending on the privacy config defined value
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:
OS Testing:
Internal references:
Software Engineering Expectations
Technical Design Template