This updates all remaining deprecated ViewComponent slot setter usages in our codebase.
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).
Because we had hundreds of lines in ~200 files to update, I do it in batches to get smaller, more reviewable MRs. This is one of them. The last one actually... hopefully :) See the checklist in #408988 (closed) for the already merged MRs.
No visual changes.
view_component gem
. Both ways to set the slot work here, so there shouldn't be any functional changes, but feel free to browse around in the affected areas of the UI for a few samples.This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.