Skip to content

Re-use common logic for addons purchase

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR refactors the add-on purchases component in order to bring shared logic and templating to one place. The benefit is that of reducing maintenance costs and avoiding unnecessary duplication. In a following iteration, the config options will be provided by the data layer (GraphQL).

Please note that this MR has o visual changes. Screenshots are provided in order to verify consistency with the current layout.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

(left side is local; right side is staging)
Screenshot_2021-11-25_at_10.47.15
Screenshot_2021-11-25_at_10.48.21
Screenshot_2021-11-25_at_10.49.03
Screenshot_2021-11-25_at_10.50.14

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Angelo Gulina

Merge request reports

Loading