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

[v4.4] Better promotion menus #5938

Merged
merged 2 commits into from
Nov 18, 2024
Merged

[v4.4] Better promotion menus #5938

merged 2 commits into from
Nov 18, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Nov 18, 2024

Backport

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

Questions ?

Please refer to the Backport tool documentation

This makes sure that the promotion menus are always below the product
menu item, in both new admin and the backend.

It also changes the nomenclature to be "Promotions" for the legacy
promotion system and "Promotions (new)" for the new promotion system.

(cherry picked from commit 6d75515)
Prior to this commit, the new promotion system would exchange the
promotion and promotion category index page components if the gem was
loaded. This made it impossible to actually see the old promotion
configuration when using the new admin.

This commit now only changes the orders/index component if the new
promotion system is activated. In any case, it will display new
promotion and promotion category records under "Promotions (new)".

(cherry picked from commit 0a69b6a)
@tvdeyen tvdeyen requested a review from a team as a code owner November 18, 2024 10:55
@tvdeyen tvdeyen added backport-v4.4 Backport this pull-request to v4.4 changelog:solidus_legacy_promotions Changes to the solidus_legacy_promotions gem changelog:solidus_promotions Changes to the solidus_promotions gem labels Nov 18, 2024
@tvdeyen tvdeyen mentioned this pull request Nov 18, 2024
@github-actions github-actions bot added the changelog:repository Changes to the repository not within any gem label Nov 18, 2024
@tvdeyen tvdeyen removed the backport-v4.4 Backport this pull-request to v4.4 label Nov 18, 2024
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.52%. Comparing base (f612c1f) to head (c68a679).
Report is 3 commits behind head on v4.4.

Additional details and impacted files
@@            Coverage Diff             @@
##             v4.4    #5938      +/-   ##
==========================================
+ Coverage   89.53%   92.52%   +2.98%     
==========================================
  Files         782      377     -405     
  Lines       17981     8143    -9838     
==========================================
- Hits        16100     7534    -8566     
+ Misses       1881      609    -1272     

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

@tvdeyen tvdeyen merged commit ce6256e into v4.4 Nov 18, 2024
23 checks passed
@tvdeyen tvdeyen deleted the backport/v4.4/pr-5934 branch November 18, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:repository Changes to the repository not within any gem changelog:solidus_legacy_promotions Changes to the solidus_legacy_promotions gem changelog:solidus_promotions Changes to the solidus_promotions gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants