-
Notifications
You must be signed in to change notification settings - Fork 416
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
Implement barebones NetP UI #1840
Conversation
} | ||
|
||
@MainActor | ||
func clear() async { |
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.
Only for testing while still behind a feature flag. In the final implementation, this will be moved to an item in the Debug menu
This currently depends on #1837 to allow it to full function according to the test steps. |
30d9de4
to
7d98062
Compare
7d98062
to
30d9de4
Compare
HStack { | ||
if let status = statusModel.statusMessage { | ||
Text(status) | ||
.foregroundColor(statusModel.isNetPEnabled ? .green : .red) |
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.
Note to anyone else reviewing this: this is a dev UI that we're using for NetP, the next project will build the final UI and will be using DRK rather than hardcoded colours.
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.
LGTM!
@@ -608,7 +608,6 @@ In addition to the details entered into this form, your app issue report will co | |||
// MARK: Network Protection | |||
|
|||
public static let netPNavTitle = NSLocalizedString("netP.title", value: "Network Protection", comment: "Title for the Network Protection feature") | |||
public static let netPCellDetail = NSLocalizedString("netP.cell.detail", value: "Hide your location and conceal your online activity", comment: "Detail string describing what NetP is") |
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.
As discussed offline: this will not go into the final feature so does not need to be translated
Task/Issue URL: https://app.asana.com/0/0/1205045707803898/f
Description:
This will be the final PR of the iOS: Update NetworkProtection package to support iOS project. It provides the absolute minimum UI required to be able to test the operation of the NetworkProtectionPacketTunnelProvider and related components on iOS.
Note that the UI here is very much temporary, behind feature flags and will be almost entirely replaced in iOS: MVP TestFlight Build.
Steps to test this PR:
PacketTunnelProvider
extension in theDuckDuckGo
app target’s build phases.<!—
Before submitting a PR, please ensure you have tested the combinations you expect the reviewer to test, then delete configurations you know do not need explicit testing.
Using a simulator where a physical device is unavailable is acceptable.
—>
Copy Testing:
’
rather than’
Orientation Testing:
Device Testing:
OS Testing:
Theme Testing:
—
Internal references:
Software Engineering Expectations
Technical Design Template