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

Subscription refactoring #2842

Merged
merged 57 commits into from
May 22, 2024
Merged

Conversation

federicocappelli
Copy link
Member

@federicocappelli federicocappelli commented May 10, 2024

Task/Issue URL: https://app.asana.com/0/72649045549333/1206805455884775/f
Tech Design URL: https://app.asana.com/0/481882893211075/1207147511614062/f
CC: @afterxleep @miasma13 @samsymons

Description:

Subscription refactoring for allowing unit testing.

  • DI
  • Removal of all singletons
  • Removal of all static functions use

Device Testing:

  • iOS 17

Internal references:

Software Engineering Expectations
Technical Design Template

# Conflicts:
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
# Conflicts:
#	DuckDuckGo/SettingsViewModel.swift
# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	DuckDuckGo/MainViewController+Segues.swift
#	DuckDuckGo/SettingsViewModel.swift
Copy link

github-actions bot commented May 10, 2024

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS against e463080

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
federicocappelli added a commit to duckduckgo/BrowserServicesKit that referenced this pull request May 22, 2024
Task/Issue URL: https://app.asana.com/0/72649045549333/1206805455884775/f
iOS PR: duckduckgo/iOS#2842
macOS PR: duckduckgo/macos-browser#2764
Tech Design URL: https://app.asana.com/0/481882893211075/1207147511614062/f

Subscription refactoring for allowing unit testing.
- DI
- Removal of all singletons
- Removal of all static functions use
@federicocappelli federicocappelli merged commit bb5b7fb into main May 22, 2024
14 checks passed
@federicocappelli federicocappelli deleted the fcappelli/subscription_refactoring_2 branch May 22, 2024 22:40
samsymons added a commit that referenced this pull request May 24, 2024
# By Christopher Brind (2) and others
# Via GitHub
* main:
  Autofill engagement KPIs for pixel reporting (BSK update) (#2885)
  keep strong reference to omnibar while we use it and add a ui test (#2884)
  Bump BSK (#2887)
  Recently visited sites UI update and rollout (#2838)
  Update Sync tests (#2837)
  Subscription refactoring (#2842)
  Update autoconsent to v10.8.0 (#2874)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	DuckDuckGo/RemoteMessaging.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants