Explore creating a ViewComponent for page headers with subtext and actions
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The following discussion from !90831 (merged) should be addressed:
-
@markrian started a discussion: (+1 comment) thought: If this layout pattern was used in more than two places, it might be useful to extract a ViewComponent for it.
Something like:
= render MembersHeadingLayout.new do |c| = c.heading { _('Group members') } = c.subtext { group_member_header_subtext(@group) } = c.actions do ...That's out of scope for this MR though, but I think it's a pattern we should start to lean into more. There's a lot of variation in our various page titles
🙈
Edited by 🤖 GitLab Bot 🤖