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

14. Implemented Error handlers for all subscription scenarios #2508

Merged
merged 100 commits into from
Feb 29, 2024

Conversation

afterxleep
Copy link
Collaborator

@afterxleep afterxleep commented Feb 28, 2024

Task/Issue URL: https://app.asana.com/0/414235014887631/1206707680638882/f

Description:
This adds different error handling 'handles' to attach pixels and events, and streamlines the overall error handling flow in the UI

Steps to test this PR:
Confirm the 'happy paths' work as expected..

For example:

  1. Get a subscrioption
  2. Add an email
  3. Remove from device
  4. Restore Via App Store connect
  5. Remove from device
  6. Restore via email

# Conflicts:
#	DuckDuckGo/Subscription/UserScripts/SubscriptionPagesUseSubscriptionFeature.swift
#	DuckDuckGo/Subscription/ViewModel/SubscriptionEmailViewModel.swift
#	DuckDuckGo/Subscription/ViewModel/SubscriptionFlowViewModel.swift
#	DuckDuckGo/Subscription/ViewModel/SubscriptionRestoreViewModel.swift
#	DuckDuckGo/Subscription/Views/SubscriptionFlowView.swift
#	DuckDuckGo/en.lproj/Localizable.strings
@github-actions github-actions bot added the bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project label Feb 28, 2024
@afterxleep afterxleep marked this pull request as ready for review February 28, 2024 11:11
@afterxleep afterxleep changed the title Implemented Error handlers for all scenarios 14. Implemented Error handlers for all scenarios Feb 28, 2024
@afterxleep afterxleep removed the bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project label Feb 28, 2024
Copy link
Member

@federicocappelli federicocappelli left a comment

Choose a reason for hiding this comment

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

Few general comments about the error handling approach

afterxleep added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Feb 29, 2024
Task/Issue URL: https://app.asana.com/0/1204099484721401/1206707680638894/f
What kind of version bump will this require?: Minor

iOS PR: duckduckgo/iOS#2508
# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
@afterxleep afterxleep changed the title 14. Implemented Error handlers for all scenarios 14. Implemented Error handlers for all subscription scenarios Feb 29, 2024
@afterxleep afterxleep merged commit 8b901e8 into main Feb 29, 2024
18 checks passed
@afterxleep afterxleep deleted the daniel/subscriptions/14.error-handling branch February 29, 2024 17:43
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.

3 participants