Skip to content

chore: prompt for sign in when turning VPN on if signed out #114

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

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Mar 19, 2025

Closes #106.

Copy link
Member Author

ethanndickson commented Mar 19, 2025

@@ -23,7 +23,7 @@ struct VPNMenuTests {
try await ViewHosting.host(view) {
try await sut.inspection.inspect { view in
let toggle = try view.find(ViewType.Toggle.self)
#expect(toggle.isDisabled())
#expect(!toggle.isDisabled())
Copy link
Member Author

Choose a reason for hiding this comment

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

The toggle is now enabled when signed out.

@ethanndickson ethanndickson marked this pull request as ready for review March 19, 2025 03:04
@ethanndickson ethanndickson self-assigned this Mar 19, 2025
Copy link
Member Author

ethanndickson commented Mar 19, 2025

Merge activity

  • Mar 19, 3:48 AM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Mar 19, 3:50 AM EDT: Graphite rebased this pull request as part of a merge.
  • Mar 19, 3:52 AM EDT: A user merged this pull request with Graphite.

@ethanndickson ethanndickson changed the base branch from ethan/only-start-when-ready to graphite-base/114 March 19, 2025 07:49
@ethanndickson ethanndickson changed the base branch from graphite-base/114 to main March 19, 2025 07:49
@ethanndickson ethanndickson force-pushed the ethan/toggle-prompt-sign-in branch from 830002a to 982a23f Compare March 19, 2025 07:50
@ethanndickson ethanndickson merged commit 2603ace into main Mar 19, 2025
4 checks passed
@ethanndickson ethanndickson deleted the ethan/toggle-prompt-sign-in branch March 19, 2025 07:52
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.

Turning on VPN while signed out should prompt for login
3 participants