Show future subscription notification + history table in various places
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 | |
has an active subscription | |
has no active subscription and has at least one future-dated license |
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.
-
I have evaluated the MR acceptance checklist for this MR.