Consolidate duplicate user data attribute presentation code
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Context
The following discussion from !17306 (merged) should be addressed:
-
@jejacks0n started a discussion: (+1 comment) I see a similar use over in https://gitlab.com/gitlab-org/gitlab/blob/master/app%2Fviews%2Fshared%2Fissuable%2Fform%2F_metadata_issuable_assignee.html.haml#L5
Can/should we try to consolidate using this helper?
Logic being,
assignee_sidebar_datamakesmerge_requestoptional by defaulting it to nil, but there are no usages currently wheremerge_requestisn't provided.
Edited by 🤖 GitLab Bot 🤖