Skip to content

Show future subscription notification + history table in various places

Ammar Alakkad requested to merge 337027-update-subscription-history-table into master

What does this MR do and why?

This MR adds a notification to be shown when an instance has no currently active subscription, but has a future dated subscription.

It also covers currently impossible scenario: when an instance has a past license, but no current licenses and no future licenses. In this case we will show the Subscription History table below "Free trial" and "Subscription" cards as per designs.

Related to #337026+

Screenshots or screen recordings

conditions screenshot
has no subscriptions Screenshot_2022-02-16_at_13.23.40
has an active subscription Screen_Shot_2022-01-17_at_12.02.45
has no active subscription and has at least one future-dated license Screenshot_2022-02-16_at_01.19.27

How to set up and validate locally

You'll need to generate licenses with "Starts at" date in the future to test this issue.

There are three states of an instance to be tested:

  • instance has no licenses at all
  • instance has an active license
  • instance has no active license, but has one or many licenses that will be active in the future

Screenshots for all three states are present in the section above

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 Michael Lunøe

Merge request reports

Loading