Skip to content
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

Fix geoswitching + environment selection bugs #576

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

graeme
Copy link
Contributor

@graeme graeme commented Nov 24, 2023

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/0/1206025077480506/f
iOS PR: duckduckgo/iOS#2194
macOS PR: duckduckgo/macos-browser#1887
What kind of version bump will this require?: Minor

Description:

There was a bug with location switching where the user’s choice wasn’t always being respected. I noticed that there was a place where we weren’t passing it. I also noticed that we’re sometimes not using the selected environment because of the default function arguments, so I also updated them as it’s a somewhat related issue.

Steps to test this PR:

  1. Just make sure NetP / Geoswitching / environment switching (mac only) works

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

@graeme graeme changed the title Graeme/fix geoswitching bug Fix geoswitching + environment selection bugs Nov 24, 2023
@graeme graeme requested a review from quanganhdo November 24, 2023 16:51
Copy link
Member

@quanganhdo quanganhdo left a comment

Choose a reason for hiding this comment

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

Nice fix, tested the macOS version and it worked fine.

@graeme graeme merged commit 8202035 into main Nov 27, 2023
9 of 10 checks passed
@graeme graeme deleted the graeme/fix-geoswitching-bug branch November 27, 2023 13:26
federicocappelli pushed a commit to duckduckgo/macos-browser that referenced this pull request Nov 27, 2023
Task/Issue URL: https://app.asana.com/0/0/1206025077480506/f
BSK: duckduckgo/BrowserServicesKit#576

Description:
There was a bug with location switching where the user’s choice wasn’t
always being respected. I noticed that there was a place where we
weren’t passing it. I also noticed that we’re sometimes not using the
selected environment because of the default function arguments, so I
also updated them as it’s a somewhat related issue.

Steps to test this PR:
- Just make sure NetP / env selection still works

---
###### Internal references:
[Pull Request Review
Checklist](https://app.asana.com/0/1202500774821704/1203764234894239/f)
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
[Pull Request
Documentation](https://app.asana.com/0/1202500774821704/1204012835277482/f)
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.

2 participants