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

Alesab/onboarding #964

Merged
merged 24 commits into from
Aug 28, 2024
Merged

Alesab/onboarding #964

merged 24 commits into from
Aug 28, 2024

Conversation

SabrinaTardio
Copy link
Contributor

@SabrinaTardio SabrinaTardio commented Aug 27, 2024

Please review the release process for BrowserServicesKit here.

Required:

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

Optional:

Tech Design URL: https://app.asana.com/0/481882893211075/1208094950223874/f

Description: Extracts code from the onboarding that can be used by macOS as well

Steps to test this PR:

  1. Test new onboarding in iOS
  2. Look at ContextualDaxDialogContent previews

OS Testing:

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

Internal references:

Software Engineering Expectations
Technical Design Template

@@ -397,6 +397,9 @@ let package = Package(
dependencies: [
"BrowserServicesKit"
],
resources: [
.process("Resources")
Copy link
Contributor

Choose a reason for hiding this comment

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

That’s interesting, according to Apple this shouldn’t be needed 🤔

When you add a resource to your Swift package, Xcode detects common resource types for Apple platforms and treats them as a resource automatically. For example, you don’t need to make changes to your package manifest for the following resources:
Interface Builder files; for example, XIB files and storyboards
Core Data files; for example, xcdatamodeld files
Asset catalogs
.lproj folders you use to provide localized resources
If you add a resource file that Xcode doesn’t treat as a resource by default, you must configure it in your package manifest, as described in the next section.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah… apparently macOS does not like it without 🥲

Copy link
Contributor

@alessandroboron alessandroboron left a comment

Choose a reason for hiding this comment

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

LGTM! I couldn’t check the previews on BSK because the PreviewXCAgent crashed for me. But I tested iOS and it looks good to me!

I think BSK needs a minor bump instead of patch as we added a new library.

@SabrinaTardio SabrinaTardio merged commit 48acec0 into main Aug 28, 2024
7 checks passed
@SabrinaTardio SabrinaTardio deleted the alesab/onboarding branch August 28, 2024 09:51
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