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

Move promotion admin assets #5699

Merged
merged 4 commits into from
Apr 5, 2024

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Mar 15, 2024

Summary

This moves the CSS and Javascript that is necessary for the admin promotions edit page from the backend gem to the legacy_promotions gem. This is a continuation of #5685, and fully removes any code that references the promotion system from solidus_backend.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

mamhoff added 3 commits March 14, 2024 13:46
This allows us to have our own assets in our controllers.
Promotions don't really have any CSS other than the one for the
promotion/edit page. So we only include the CSS there.
This moves those templates, views, and JS files that are necessary for
the promotion admin to function to the legacy_promotions gem.
@mamhoff mamhoff requested a review from a team as a code owner March 15, 2024 13:45
@github-actions github-actions bot added changelog:solidus_backend Changes to the solidus_backend gem changelog:repository Changes to the repository not within any gem labels Mar 15, 2024
@mamhoff mamhoff force-pushed the move-promotion-admin-assets branch from 38cbd2d to 38f0682 Compare March 15, 2024 15:11
Copy link

codecov bot commented Mar 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.92%. Comparing base (1f42077) to head (38f0682).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5699   +/-   ##
=======================================
  Coverage   88.92%   88.92%           
=======================================
  Files         700      700           
  Lines       16653    16655    +2     
=======================================
+ Hits        14808    14810    +2     
  Misses       1845     1845           

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

@tvdeyen tvdeyen merged commit 7d4bc3a into solidusio:main Apr 5, 2024
14 checks passed
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_backend Changes to the solidus_backend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants