Skip to content

Switch to GlCollapse component

Vitaly Slobodin requested to merge vs/ci-purchase-follow-ups into master

What does this MR do?

Resolve couple of follow-ups:

  • Switch to GlCollapse component
  • Refactor date handling.

Closes #331087 (closed)

Reviewing changes locally

  • Make sure you have the CustomersDot app running locally.

  • Make sure your local GDK instance points to your local CustomersDot. You the following lines to the env.runit file in the root folder of your GDK installation:

    export CUSTOMER_PORTAL_URL=http://localhost:5000/
  • Enable the following feature flag Feature.enable(:new_route_ci_minutes_purchase)

  • Sign in into your local GitLab instance and navigate to -/subscriptions/buy_minutes

  • Resize the browser viewport to any small screen size to make the collapse cmp visible.

Screenshots

State Image
Collapsed image
Expanded image

In Action

collapse-2021-06-29_14.02.48

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