“View all” opens a modal dialog and appears when there are more items available than the widget displays by default.
The add (+) button appears only if the case type allows linking to other cases. If linking is not allowed and a different case has listed the current case as a related case, the related cases widget will display, but with no add (+) button.
The related cases widget has three regions: a header, content area, and footer. The header contains the imagery, heading, count, and action. The content area holds the list of related cases. The footer conditionally shows a "View all" button when the list contains more than 3 items.
Widget review modal
The View all button opens a modal that allows users to search the whole list of results and conditionally add new relationships.