Skip to content

Allow opening profile in user popover when clicking on avatar

Currently there are only two actions available when clicking on avatar in a user popover: close popover or zoom the avatar.

This MR adds third options to open the profile.

The setting is converted to a list accordingly, with one of three options: 'close', 'zoom' or 'open'.

Close is interpreted as scoped 'close' function and other two are passed as is. Only 'zoom' value has special handling inside the UserCard, 'open' can technically be any string and retain the same behavior.

Edited by iamtakingiteasy

Merge request reports

Loading