Skip to content

Use component state

Savas Vedova requested to merge svedova-mr-widget-use-state into master

What does this MR do and why?

Use component state

Remove v-model from widget as we can rely on the parent component state and it is unnecessary to handle that logic inside the widget component.

Screenshots or screen recordings

No visual change.

How to set up and validate locally

  1. Fork https://gitlab.com/gitlab-org/frontend/playground/gitlab-mr-widgets-demo
  2. Modify the Readme.md file and create an MR
  3. Check the MR page

The widgets currently using V2 are: Terraform, Status Checks and Security Reports.

MR acceptance checklist

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

Merge request reports