Skip to content

Refactor(SM: Subscription history): direct import

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR adds basic error handling to the requests on the subscription page. Note this is just basic error handling and is mainly concerned with the subscription history table.

There is also a minor text update to the name column, that did not make it into the previous MR, so it is included here. Request came from here: #337531 (comment 809585500).

Screenshots or screen recordings

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

Before (no message) After (history) After (current) Name column update
Screen_Shot_2022-01-17_at_15.30.14 Screen_Shot_2022-01-17_at_15.26.42 Screen_Shot_2022-01-17_at_15.27.14 Screen_Shot_2022-01-17_at_15.32.28

How to set up and validate locally

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

  1. Visit any group or project member pages such as http://127.0.0.1:3000/admin/subscription
  2. Scroll down to see the subscription history table.
  3. Make sure to have at least one self-managed license created and added. For this, you would need to set up CustomersDot, sign in with the same user, purchase a license and add it.
  4. You can simulate an error by turning your network to "offline" mode in the developer tools

MR acceptance checklist

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

Related to #341171 (closed)

Edited by Michael Lunøe

Merge request reports

Loading