Skip to content

Add Vue.js-based button for extending/reactivating trial

Vitaly Slobodin requested to merge vs/reactivate-extend-trial-button into master

What does this MR do?

This MR adds a new Vue.js based button for extending or reactivating the trial. The button is not active yet the 3rd MR will enable it but it's still hidden behind the feature flag allow_extend_reactivate_trial.

This is the 2nd merge request out of 3:

  1. Add helper methods
  2. Add Vue.js button (this one)
  3. Add initialization code and feature tests

See #321577 (closed) for more information.

Screenshots or Screencasts (strongly suggested)

Extending trial

State Image
Initial image
Button clicked image
When trial has been extended image

In action

extending_trial-2021-07-13_11.48.57

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Vitaly Slobodin

Merge request reports