Skip to content

Replace deprecated view_component slot setter in docs

What does this MR do and why?

This updates all deprecated ViewComponent slot setter usages in our ViewComponents docs page.

The old way (c.SLOT_NAME) got deprecated in the later 2.x versions of the view_component gem and now got completely removed in the recent 3.0 release. We have to replace all deprecated calls before we can Upgrade to view_component v3.0 (#408988 - closed) and updating the docs is an important step.

How to set up and validate locally

See http://gdk.test:3005/ee/development/fe_guide/view_component.html (or the review app below)

MR acceptance checklist

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

Edited by Thomas Hutterer

Merge request reports

Loading