-
Notifications
You must be signed in to change notification settings - Fork 424
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
Adding 'protectionsState' to breakage form submission #2120
Conversation
Current dependencies on/for this PR: This stack of pull requests is managed by Graphite. |
647ed0b
to
dcf7f34
Compare
enum ProtectionsState: String { | ||
case enabled = "1" | ||
case disabled = "0" | ||
} |
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.
- Not sure what is the expected way of extending the values range here, but maybe a simple bool would suffice?
- Either with the above change or not I suggest replacing "1"/"0" to "true"/"false" to be consistent with other parameters.
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.
Duplicating the response for visibility :)
@miasma13 as we discussed in MM - this mapping to "1" | "0" was done intentionally to match what 'other' platforms are doing with this parameter - since I'm adding to all 5 :)
* develop: re-enable keyboard shortcuts (#2132) fix favorite launch with keyboard bug (#2131) Fix syncing empty favorites folders (#2121) kill variant when receiving atb update (#2130) Adding 'protectionsState' to breakage form submission (#2120) Release 7.96.0 (#2128) Update remote messaging production url (#2124) Alert user about abnormal app conditions (#2110) Add e2e test for email protection deep-links (#2123) Update to config v4 (#2114) Release 7.95.0 (#2122) Add toggling of NetP Notifications to iOS (#2112) Fix for deeplink crash when preparing webview preview (#2116) Integrates the latest DBP changes in BSK (#2108) Switch to next phase of new experiment for UA (#2118)
# By Christopher Brind (3) and others # Via GitHub (1) and Michal Smaga (1) * develop: Support environment setting (#2140) Update BSK (#2136) Update BSK for NetP change (#2134) Update test to match exact tracker (#2133) Avoid AppTP DB initialization when disabled (#2090) re-enable keyboard shortcuts (#2132) fix favorite launch with keyboard bug (#2131) Fix syncing empty favorites folders (#2121) kill variant when receiving atb update (#2130) Adding 'protectionsState' to breakage form submission (#2120) Release 7.96.0 (#2128) Update remote messaging production url (#2124) Alert user about abnormal app conditions (#2110) # Conflicts: # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
* develop: Support environment setting (#2140) Update BSK (#2136) Update BSK for NetP change (#2134) Update test to match exact tracker (#2133) Avoid AppTP DB initialization when disabled (#2090) re-enable keyboard shortcuts (#2132) fix favorite launch with keyboard bug (#2131) Fix syncing empty favorites folders (#2121) kill variant when receiving atb update (#2130) Adding 'protectionsState' to breakage form submission (#2120) Release 7.96.0 (#2128) Update remote messaging production url (#2124) Alert user about abnormal app conditions (#2110) Add e2e test for email protection deep-links (#2123) Update to config v4 (#2114)
Task/Issue URL: https://app.asana.com/0/0/1205839123798771/f
Tech Design URL:
CC:
Description:
Adds a new parameter to breakage form submissions
Steps to test this PR:
protectionsState
has either a "0" or "1" value based on the rules mentioned in the Asana task.Copy Testing:
’
rather than'
Orientation Testing:
Device Testing:
OS Testing:
Theme Testing:
Internal references:
Software Engineering Expectations
Technical Design Template