Skip to content

Paywalls: new {{ sub_relative_discount }} variable#1425

Merged
NachoSoto merged 3 commits into
mainfrom
paywalls-sub-relative-discount
Nov 2, 2023
Merged

Paywalls: new {{ sub_relative_discount }} variable#1425
NachoSoto merged 3 commits into
mainfrom
paywalls-sub-relative-discount

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

@NachoSoto NachoSoto requested a review from a team November 1, 2023 15:51
@NachoSoto NachoSoto force-pushed the paywalls-sub-relative-discount branch from 2561e60 to 8e843ab Compare November 1, 2023 16:56

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.

Extracted this because LongMethod lint instead of suppressing the lint

@NachoSoto NachoSoto force-pushed the paywalls-sub-relative-discount branch from 8e843ab to 1337d4d Compare November 1, 2023 17:03
@codecov

codecov Bot commented Nov 1, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f75790a) 84.27% compared to head (1337d4d) 84.27%.
Report is 4 commits behind head on main.

❗ Current head 1337d4d differs from pull request most recent head c651a42. Consider uploading reports for the commit c651a42 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1425   +/-   ##
=======================================
  Coverage   84.27%   84.27%           
=======================================
  Files         197      197           
  Lines        6626     6626           
  Branches      960      960           
=======================================
  Hits         5584     5584           
  Misses        674      674           
  Partials      368      368           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

VariableProcessor.Context(discountRelativeToMostExpensivePerMonth),
localization,
it,
locale,

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.

can you add names to the parameters here?

@tonidero tonidero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM after addressing those comments

@NachoSoto NachoSoto enabled auto-merge (squash) November 2, 2023 16:34
@NachoSoto NachoSoto merged commit 1d41d02 into main Nov 2, 2023
@NachoSoto NachoSoto deleted the paywalls-sub-relative-discount branch November 2, 2023 16:51
NachoSoto pushed a commit that referenced this pull request Nov 6, 2023
**This is an automatic release.**

### New Features
* `StoreProduct`: new `pricePerWeek` and `pricePerYear` (#1426) via
NachoSoto (@NachoSoto)
### RevenueCatUI
* Fix RevenueCatUI API issues and add API tests (#1433) via Toni Rico
(@tonidero)
* Paywalls: Add initial snapshot testings for RevenueCatUI library
(#1432) via Toni Rico (@tonidero)
* `Paywalls`: new `{{ sub_price_per_week }}` variable (#1427) via
NachoSoto (@NachoSoto)
* `Paywalls`: new `{{ sub_relative_discount }}` variable (#1425) via
NachoSoto (@NachoSoto)
### Dependency Updates
* Bump fastlane-plugin-revenuecat_internal from `a297205` to `0ddee10`
(#1431) via dependabot[bot] (@dependabot[bot])
### Other Changes
* `Offering`: restore constructor with no `PaywallData` (#1437) via
NachoSoto (@NachoSoto)

Co-authored-by: revenuecat-ops <ops@revenuecat.com>
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