Skip to content

Paywalls: add support for displaying StoreProductDiscounts#2796

Merged
NachoSoto merged 1 commit into
paywallsfrom
paywalls-trials
Jul 13, 2023
Merged

Paywalls: add support for displaying StoreProductDiscounts#2796
NachoSoto merged 1 commit into
paywallsfrom
paywalls-trials

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

image

@NachoSoto NachoSoto requested a review from a team July 12, 2023 21:23
@NachoSoto NachoSoto force-pushed the paywalls-trials branch 4 times, most recently from 0473a5a to e2fc47f Compare July 12, 2023 22:30
@NachoSoto NachoSoto force-pushed the paywalls-variables branch 3 times, most recently from 4a8cf1a to b5ee15a Compare July 13, 2023 04:34
Base automatically changed from paywalls-variables to paywalls July 13, 2023 04:35
@NachoSoto NachoSoto force-pushed the paywalls-trials branch 3 times, most recently from 6f7c1ce to 5e4b77c Compare July 13, 2023 04:42
@NachoSoto

Copy link
Copy Markdown
Contributor Author

Oh gotta add a check for whether the user is eligible.

@NachoSoto

Copy link
Copy Markdown
Contributor Author

Oh gotta add a check for whether the user is eligible.

Doing that in a separate PR.

@joshdholtz joshdholtz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

💯 LGTM

Comment on lines +9 to +11
var callToActionWithIntroOffer: String
var offerDetails: String
var offerDetailsWithIntroOffer: String

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

maybe these should be optional, not all products have an intro offer

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Doing in the next PR 👍🏻

NachoSoto added a commit that referenced this pull request Jul 20, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Jul 23, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Jul 24, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Jul 24, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Jul 25, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Jul 26, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Jul 27, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Jul 31, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Aug 3, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Aug 7, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Aug 9, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
NachoSoto added a commit that referenced this pull request Aug 11, 2023
Follow up to #2796.
This also makes `PaywallData.Configuration`'s intro strings optional.

### Other changes:
- Injected `TrialOrIntroEligibilityChecker`
- Created mock `TrialOrIntroEligibilityChecker` for previews
- Handling state and transitions for loading eligibility
- Snapshot tests for the different new cases
- Improved `SnapshotTesting` delay management
- Expanded `DebugErrorView` to customize release behavior
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.

3 participants