Use component state
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
- Fork https://gitlab.com/gitlab-org/frontend/playground/gitlab-mr-widgets-demo
- Modify the Readme.md file and create an MR
- 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.
-
I have evaluated the MR acceptance checklist for this MR.