Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix #7448, fix #7413: VPN Initialize and Connect issues #7525

Merged
merged 3 commits into from
May 30, 2023

Conversation

soner-yuksel
Copy link
Contributor

@soner-yuksel soner-yuksel commented May 26, 2023

Pull request fixes the problem with infinite loading indicator when connection is successful. In addition it is adding a proper loading to Install profile and buy vpn screens, to handle problem with Profile install, it is added a retry mechanism to silently try to connect again since the tests how additional try will always succeed for install.

Summary of Changes

This pull request fixes #7448
This pull request fixes #7413

Submitter Checklist:

  • Unit Tests are updated to cover new or changed functionality
  • User-facing strings use NSLocalizableString()
  • New or updated UI has been tested across:
    • Light & dark mode
    • Different size classes (iPhone, landscape, iPad)
    • Different dynamic type sizes

Test Plan:

7448

Launch Brave > Three Dot Menu
Enable VPN
Don't close the panel > Observe

7413

Install 1.51.x, 1.50.x
Complete IAP (Sandbox)
Install VPN Profile
Observe

Screenshots:

7448

RPReplay_Final1685127563.MP4

7413

RPReplay_Final1685127676.MP4

Reviewer Checklist:

  • Issues include necessary QA labels:
    • QA/(Yes|No)
    • bug / enhancement
  • Necessary security reviews have taken place.
  • Adequate unit test coverage exists to prevent regressions.
  • Adequate test plan exists for QA to validate (if applicable).
  • Issue and pull request is assigned to a milestone (should happen at merge time).

@soner-yuksel soner-yuksel requested a review from a team as a code owner May 26, 2023 19:28
@soner-yuksel soner-yuksel self-assigned this May 26, 2023
@soner-yuksel soner-yuksel force-pushed the fix/vpn-issue-cleanup branch from 590eaca to bd15c97 Compare May 26, 2023 20:56
@soner-yuksel soner-yuksel requested a review from iccub May 29, 2023 15:45
Copy link
Contributor

@iccub iccub left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks :)

@iccub iccub changed the title Fix #7448 - #7413: Some VPN Initialize and Connect issues Fix #7448, fix #7413: VPN Initialize and Connect issues May 30, 2023
@iccub iccub added this to the 1.52 milestone May 30, 2023
@iccub iccub force-pushed the fix/vpn-issue-cleanup branch from bd15c97 to 524aa07 Compare May 30, 2023 14:05
@soner-yuksel soner-yuksel merged commit 50b6bc6 into development May 30, 2023
@soner-yuksel soner-yuksel deleted the fix/vpn-issue-cleanup branch May 30, 2023 14:53
// Retry installing profile twice if it fails
// Error generated is WireGuard capabilities are not yet enabled on this node
if self.installVPNProfileRetryCount < 2 {
installVPNAction()
Copy link
Contributor

Choose a reason for hiding this comment

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

self.installVPNAction()

arthuredelstein pushed a commit to brave/brave-core that referenced this pull request Feb 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants