Skip to content

Conversation

@mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Dec 5, 2025

Backport

This will backport the following commits from main to v4.6:

Questions ?

Please refer to the Backport tool documentation

We've added a promotion calculator, but we have not made it available to
users.

(cherry picked from commit 500f9a8)
@mamhoff mamhoff requested a review from a team as a code owner December 5, 2025 13:38
@mamhoff mamhoff added backport-v4.6 Backport this pull-request to v4.6 changelog:solidus_promotions Changes to the solidus_promotions gem labels Dec 5, 2025
@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.36%. Comparing base (4cae2d7) to head (3ef805b).
⚠️ Report is 13 commits behind head on v4.6.

Additional details and impacted files
@@           Coverage Diff           @@
##             v4.6    #6394   +/-   ##
=======================================
  Coverage   89.36%   89.36%           
=======================================
  Files         963      963           
  Lines       20213    20213           
=======================================
  Hits        18064    18064           
  Misses       2149     2149           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Thanks!

@tvdeyen
Copy link
Member

tvdeyen commented Dec 5, 2025

@mamhoff test failures seem related?

@tvdeyen tvdeyen removed the backport-v4.6 Backport this pull-request to v4.6 label Dec 5, 2025
For all calculators except the `PercentWithCap` one we have a custom
`calculator_fields` partial. PercentWithCap does not need that - it can
fall back to the default calculator fields partial. However, that
partial does not render currently, because `name` is a symbol that does
not respond to `humanize`.

Adds a system spec as well.

(cherry picked from commit 7e1de2d)
@mamhoff mamhoff force-pushed the backport/v4.6/pr-6381 branch from 08481c7 to 3ef805b Compare December 5, 2025 13:54
@mamhoff
Copy link
Contributor Author

mamhoff commented Dec 5, 2025

Ha, and revealed another PR where the backports failed. #6233

@mamhoff mamhoff merged commit 1baa767 into solidusio:v4.6 Dec 5, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:solidus_promotions Changes to the solidus_promotions gem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants