-
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
Display warning icon in Sync Settings cell when data syncing is disabled #2281
Conversation
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.
We are not showing the alert or warning in the menu item here?
We are supposed to show the warning in the settings cell. |
@@ -113,7 +113,7 @@ class SettingsViewController: UITableViewController { | |||
} | |||
|
|||
private var shouldShowSyncCell: Bool { | |||
return syncService.featureFlags.contains(.userInterface) || internalUserDecider.isInternalUser |
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.
the || internalUserDecider.isInternalUser
is a remainder from the original feature flags PR when we were supposed to show the UI to internal users anyway, even if Sync top-level feature flag is disabled. We've replaced that on Apple platforms by setting top-level flag to "internal", so this code shouldn't end up here.
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.
Thanks for adding the alert!
# By Sam Symons (13) and others # Via Bartek Waresiak (2) and others * main: (69 commits) Custom config URL (#2278) Fix internal user toggling (#2282) Display warning icon in Sync Settings cell when data syncing is disabled (#2281) Add Sync feature flags (#2279) Add Sync Success Rate pixel (#2277) add test 5 and fix test 4 (#2276) Fix: "SwiftLintPlugin" must be enabled before it can be used (#2274) Send WG invalid state reason (#2275) Typo Fix: "SwiftLintPlugin" must be enabled before it can be used Release 7.102.0 (#2273) Add search retention pixel for NetP (#2267) Run sync tests in matrix (#2263) SwiftLint build plugin (#2233) Update VPN active user check and debug options (#2269) Update Autofill Logins copy (#2246) Remove the reconnect/disconnect logic from the connection tester (#2272) Remove the Fastlane notes file temporarily (#2270) remove QR code from save recovery PDF view (#2271) Show dev environment indicator in Sync Settings (#2265) ... # Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Task/Issue URL: https://app.asana.com/0/0/1206213106333863/f
Steps to test this PR:
Verify disabling L1 feature flag according to the spec.
Internal references:
Software Engineering Expectations
Technical Design Template